Paul
|
Posted Wed 8 May 2013
|
Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807,
Visits: 2,748
|
We fixed this in the latest changeset. The issue is that there is code in the navigation menu that tries to remove menu entries for features that are disabled. At the time this was written, the entries were in the 2nd level of a menu, as the skin had a dropdown system. But in the newer default skin, these are now top level links in a simpler menu. The code therefore failed because it was looking for child items.
The fix puts in some try/catch statements to avoid errors, and also tries code to remove the link at both the top level and second level.
-- If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.
If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
|
|
|
kalkhovm
|
Posted Wed 8 May 2013
|
Group: Forum Members
Last Active: Mon 15 Jul 2013
Posts: 14,
Visits: 153
|
I had this same issue. Solved it by going into the web_menu.sitemap file and deleting the line that starts <siteMapNode url="~/knowledgebase.aspx"
Wed 8 May 2013 by
kalkhovm
|
|
|
mountier
|
Posted Wed 8 May 2013
|
Group: Forum Members
Last Active: Sat 22 Nov 2014
Posts: 35,
Visits: 71
|
Ok, there is definitely a problem with turning off the knowledgebase option from the backend. I tried this again just now and straight away the site threw up the error message as before. When I turned the knowledgebase back on again it is all working fine.
Obviously a bug somewhere but worth noting I would think
|
|
|
mountier
|
Posted Tue 7 May 2013
|
Group: Forum Members
Last Active: Sat 22 Nov 2014
Posts: 35,
Visits: 71
|
UPDATE!
It is now working again. I remember that the knowledgebase option was turned off as the client doesn't want this. I went back into the admin section, reassigned this to be 'y' and the site is now working again.
Perhaps the sitemap was looking for this to be active but couldn't so it broke, is that a possibility?
|
|
|
mountier
|
Posted Tue 7 May 2013
|
Group: Forum Members
Last Active: Sat 22 Nov 2014
Posts: 35,
Visits: 71
|
I'm not sure I fully follow, sorry.
When you say;
"Check that your live database has any language strings used in your web_menu.sitemap file. Once you add them, you will need to refresh caches (refresh button by category menu in back end) and possibly trigger a restart/recycle."
What exactly am I looking for? I have the web_menu.sitemap file but I don't need to add anything in here do I?
Also, when you say to check that the live database has any language strings again, I'm not sure what I'm looking for, sorry
|
|
|
Paul
|
Posted Tue 7 May 2013
|
Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807,
Visits: 2,748
|
From the error, the issue looks like it is in the front end navigation menu.
This is built up based on the contents of the web_menu.sitemap file in the root of the web.
Check that your live database has any language strings used in your web_menu.sitemap file. Once you add them, you will need to refresh caches (refresh button by category menu in back end) and possibly trigger a restart/recycle.
-- If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.
If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
|
|
|
mountier
|
Posted Tue 7 May 2013
|
Group: Forum Members
Last Active: Sat 22 Nov 2014
Posts: 35,
Visits: 71
|
Also, just wanted to add that we're running v2.0001 at the moment, when we did the last upgrade it wiped some of the data so am a little hesitant to do an update at this moment.
|
|
|
mountier
|
Posted Tue 7 May 2013
|
Group: Forum Members
Last Active: Sat 22 Nov 2014
Posts: 35,
Visits: 71
|
Have recycled the App Pool but no joy I'm afraid.
Here is the latest error log when trying to visit the site.
----------------------------------------------------------------------------- >> Version:2.0001 >> URL:http://www.practicaltacticalbags.co.uk/Default.aspx >> Page: ----------------------------------------------------------------------------- >> 07/05/2013 14:54:27 >> 94.169.162.169 >> DESCRIPTION: System.NullReferenceException: Object reference not set to an instance of anobject. atUserControls_Front_NavigationMenu.menFrontEnd_MenuItemDataBound(Object sender,MenuEventArgs e) at System.Web.UI.WebControls.Menu.DataBindRecursive(MenuItem node,IHierarchicalEnumerable enumerable) at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item) at System.Web.UI.WebControls.Menu.PerformDataBinding() atSystem.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() atSystem.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() at System.Web.UI.WebControls.Menu.EnsureDataBound() at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, BooleanregisterScript) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.BasePartialCachingControl.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,Boolean includeStagesAfterAsyncPoint)
|
|
|
mountier
|
Posted Tue 7 May 2013
|
Group: Forum Members
Last Active: Sat 22 Nov 2014
Posts: 35,
Visits: 71
|
Thanks for the quick replies. Nothing was actually ftp'd up though, that's the issue, the site was working fine and I was about to upload an image but needed to check the folder location of an existing one and that's where it all started going wrong.
Will see if we can recycle the App Pool
|
|
|
Paul
|
Posted Tue 7 May 2013
|
Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807,
Visits: 2,748
|
Actually can see the error on the front end now. Assuming you've tried recycling the app pool, it could be that one of the files somewhere didn't FTP up completely.
-- If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.
If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
|
|
|