If you have questions about using mojoPortal, you can post them here.
You may want to first review our site administration documentation to see if your question is answered there.
When I try and update any module settings on a certain I site I get:
Server Error in '/' Application.
Index was outside the bounds of the array.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[IndexOutOfRangeException: Index was outside the bounds of the array.]
mojoPortal.Web.TreeViewAdapter.ExpandToState(TreeNodeCollection nodes, String state) +274
mojoPortal.Web.TreeViewAdapter.OnLoad(EventArgs e) +91
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618
-- Any ideas pls?
I had something like this happen recently on my development workstation. Try touching your web.config (add a space and save) and then re-visit the site to see if that helps.
Sadly that didn't work - it's only cropped up recently and seemingly we've not amended anything.
Any other thoughts welcome :0)
Interestingly, the URL doesn't get past /Admin/PageTree.aspx when I hit Update / Save. Also, from Add/Edit Pages in Admin I can't select a page and then edit / view or edit settings without the same error...
What version of mojoPortal are you running? Is this one of the sites we setup a custom menu on?
It's 220.127.116.11 and it's just using standard menu / child menu setup. it's the pest one we've spoken about before.
There have been a lot of changes to the "plumbing" for the menus in mojoPortal since 18.104.22.168. Are you able to upgrade your site to the latest version (22.214.171.124) and see if the problem persists?
Does this happen on every module on the site or just select ones? If not on every module, is it only on those that use a ModuleWrapper?
Cheers Joe, downloading as we speak.
It's actually on pages, not modules which is odd....
Upgraded to the latest version but still getting the error - any thoughts?
you're saying this happens only on the ModuleSettings.aspx page when you save settings?
if you change the skin to one of the skins we ship does the problem still happen?
I've just tried that and actually get the same error when trying to update any settings at all - i.e. can't change the skin.
I can update / add / edit content though and the site was working as we were able to entirely configure it.