|
|
|
|
Joined: 4/5/2003
Posts: 4377
|
|
|
Modules which have personalized (user specific data) generally do not permit module level caching. The module definition for the forum has this set so it cannot (or shouldn't be able to) be edited in module settings (meaning, it should not be anything but 0). This does not mean the module doesn't cache, it simply means it doesn't use the module level caching (and instead caches things at the install level, as long as you have caching set under Host Settings -> Performance to anything but None).
As for comparing data, the best tools I have come across are from redgate. SQL Compare, specifically, is a great tool for what you are doing. You can get a 14 day trial to see if you like it.
Back to your original point, though, I am a bit concerned about the issues you had. I am not sure if they are GoDaddy related (I don't think so) or something with data. The question becomes, is it a core or a module issue. The same module you are working with is running here on Enterprise 5.6 and I also have it running on a 5.4.x release on www.dnnforums.com.
|
|
|
|
| |
|
|
|
Joined: 9/2/2008
Posts: 207
|
|
|
I will poke around the db to see what the setting really is. What I now see is that on the sites where Forum stops working, I have only 2 choices for caching, memory and page, with memory the default. BUT every time I change it to page and update, when I come back it is set to memory again (with a big red warning...). The 'virgin' site that is now continuing to run has only 'new' users/settings, but also has page caching as the default (but with 3 choices, and a red warning whenever page or memory are chosen; none specified IS an option there, though...); whenever I update, then come back to page as the setting; it says 'inherited'... I will check my page's 'inheritance' settings; we may be onto something here....
|
|
|
|
| |
|
|
Joined: 12/11/2003
Posts: 87
|
|
|
I checked the website property... it's already there. Also tried disabling the avatars functions - didn't take...
Any further thoughts? I have the same problem and really want to push forward instead of backward (not sure I can go back!).
So... The clues are:
View post generates runtime error (event detail below) for any post created after the forum update EXCEPT for posts created by the HOST. All other attempts to view post (even by an admin) through the error...
Everyone can post new posts. ? Does that give anyone a clue as to what might be null in ".NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Forum.Posts.RenderPostAuthor(HtmlTextWriter wr, PostInfo Post, Boolean PostCountIsEven) at DotNetNuke.Modules.Forum.Posts.RenderPost(HtmlTextWriter wr, PostInfo Post, Boolean PostCountIsEven) "
Any ideas appreciated. I've got Redgate - but don't have the pre-upgrade schema availalble to compare to...
AssemblyVersion: 5.6.0 PortalID: 2 PortalName: ~~~~~~~ UserID: 872 UserName: vroom1.6host4 ActiveTabID: 632 ActiveTabName: Jobs/Discussions RawURL: /JobsDiscussions/tabid/632/forumid/16/threadid/194/scope/posts/Default.aspx AbsoluteURL: /Default.aspx AbsoluteURLReferrer: http://www.~~~~~.org/JobsDiscussions/tabid/632/forumid/16/scope/threads/Default.aspx UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID: 3f213d09-a6d7-4c34-a6b3-032a52a490ce InnerException: Object reference not set to an instance of an object. FileName: FileLineNumber: 0 FileColumnNumber: 0 Method: DotNetNuke.Modules.Forum.Posts.RenderPostAuthor StackTrace: Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Forum.Posts.RenderPostAuthor(HtmlTextWriter wr, PostInfo Post, Boolean PostCountIsEven) at DotNetNuke.Modules.Forum.Posts.RenderPost(HtmlTextWriter wr, PostInfo Post, Boolean PostCountIsEven) at DotNetNuke.Modules.Forum.Posts.RenderPosts(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.Posts.RenderThread(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.Posts.Render(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.ForumBaseControl.Render(HtmlTextWriter wr) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at DotNetNuke.UI.Modules.ModuleHost.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.portals_2_containers_bonus_containers1_slate_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Page.Render(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- Source: Server Name: GENERIC85
|
|
|
|
| |
|
|
Joined: 12/11/2003
Posts: 87
|
|
|
Additional info...
Assuming its a permissions error - I went in to the db views and when I tried to view Forum_vw_ForumUsers I get the following sql error
Msg 207, Level 16, State 1, Procedure Forum_vw_ForumUsers, Line 11
Invalid column name 'EnableDisplayInMemberList'.
Msg 207, Level 16, State 1, Procedure Forum_vw_ForumUsers, Line 5
Invalid column name 'EnablePM'.
Msg 207, Level 16, State 1, Procedure Forum_vw_ForumUsers, Line 6
Invalid column name 'EnableDisplayInMemberList'.
Msg 4413, Level 16, State 1, Line 14
Could not use view or function ...dbo.Forum_vw_ForumUsers' because of binding errors.
|
|
|
|
| |
|
|
Joined: 12/11/2003
Posts: 87
|
|
|
Missing columns were not in the Forums_ForumUsers table (maybe these are/were missed in the upgrade script- which was causing a related view sql runtime error. I added them manually, with default bit set to 1 for each, the sql runtime error disappeared...
EnablePM
EnableDisplayInMemberList
After manually adding these two columns, and doing a Redgate Schema Compare - a working forum and the broken forum have identical schemas - no object differences.
So - the remaining clue/context is the null object refenrence thrown when anyone tries to view any post created before or after the forum upgrade, The NOTABLE exception to this, uh exception, is that post created by the HOST appears to be viewable by everyone.
PLEASE, FORUM DEVs, with these clues and the runtime event log error data in mind, can you point me at the suspect tables? Anything?
Dave G
|
|
|
|
| |