Welcome Guest
(
Login
|
Register
)
Latest Posts
Popular Topics
Home
Search
Tags
Members
Home
»
Kartris ASP.NET Ecommerce Software
»
Kartris technical issues
»
problem with setting knowledgebase enabled to n
problem with setting knowledgebase enabled to n
Posted By
bpaluch
Mon 15 Jul 2013
0
POST REPLY
LIKE
1,246
problem with setting knowledgebase enabled to n
Flat Ascending
Flat Descending
Threaded
Topic View
Add To Favorites
Print This Topic
Goto Topics Forum
Topic Options
Author
Message
bpaluch
Posted Mon 15 Jul 2013
Supreme Being
Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70,
Visits: 175
45,704
when I changed the knowledgebase enabled setting to 'n' from 'y', the whole site gives me a 404 error, and in the error log, I see 'Object reference not set to an instance of this object'. I would expect the knowledgebase list to get removed from top menu navigation, but this is not happening and I get a 404 error instead...
Please advise,
B. Paluch
REPLY
QUOTE
LIKE
302
kalkhovm
Posted Mon 15 Jul 2013
Supreme Being
Group: Forum Members
Last Active: Mon 15 Jul 2013
Posts: 14,
Visits: 153
9,530
If you are attempting to remove the knowledgebase option from them menu, you also need to make a change to the web_menu.sitemap file by deleting the line that starts
<
siteMapNode
url
=
"~/knowledgebase.aspx"
Once uploaded this should cure your problem
REPLY
QUOTE
LIKE
313
bpaluch
Posted Wed 17 Jul 2013
Supreme Being
Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70,
Visits: 175
45,704
shouldn't the enabled setting remove that line in code, just like it does it for the news menu?
REPLY
QUOTE
LIKE
323
Paul
Posted Thu 18 Jul 2013
große Käse
Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807,
Visits: 2,748
508,376
This issue came about because of the way we removed items from the menus. We changed the web_menu.sitemap in a newer version, so some items that were second level nested became top level. Therefore some of the code that was designed to remove them from the second level didn't work and errored.
We've improved the code in the latest development version (which we hope to release in next few days) to handle up to two levels, so these problems should not occur. It basically tries to remove the item, and then tries as if it is a child one - both times within a try/catch.
If you go to codeplex, there are downloads of the newer v2.5 available (go to downloads page, then check the versions on the right hand side). Grab the following file:
/UserControls/Skin/NavigationMenu.aspx (and the .vb)
--
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
Edited
Sat 20 Jul 2013 by
Paul
REPLY
QUOTE
LIKE
308
POST REPLY
LIKE
1,246
Similar Topics
Reading This Topic
Powered By InstantForum.NET 2012-1 © 2024
Execution: 0.031.
10 queries.
Compression Enabled.