Error when updating settings

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.

This thread is closed to new posts. You must sign in to post in the forums.
4/13/2011 6:06:12 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Error when updating settings

Hi Joe

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.

Thanks

Mark

4/13/2011 6:10:59 AM
Gravatar
Total Posts 18439

Re: Error when updating settings

still sounds like the skin is a factor in the problem. Can you try changing it from the database and then touch the web.config to clear the cache?

4/13/2011 6:15:16 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Error when updating settings

Woah, don't know how to do that databasey tackle, I'm only a designer and front end dude! :0)

4/13/2011 6:22:20 AM
Gravatar
Total Posts 18439

Re: Error when updating settings

the skin name corresponds to the skin folder name, all it takes is finding the row for the site in the mp_Sites table and change the value in the field named Skin.

or a query like

UPDATE mp_Sites

SET Skin = 'styleshout-envision'

WHERE SiteID = 1

(Assuming this is a single site installation then the site id will be 1, if a multi site installation you will need to determine the site id)

styleshout-envision is a skin we ship in the /Data/skins folder, you should copy it to the /Data/Sites/[SiteID]/skins folder

alternatively you could zip up your skin and email it to me so I can test it and see if I can produce the error or if I notice anything unusual about how it is configured.

Hope it helps,

Joe

4/13/2011 6:24:43 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Error when updating settings

Hi Joe

The latter sounds good to me :0) Thank you for the help, greatly appreciated.

I'll pop it over.

Thanks

4/13/2011 7:43:36 AM
Gravatar
Total Posts 18439

Re: Error when updating settings

Hi Mark,

I'm trying your skin, the only modification I made was removing the moduleWrapper you had in layout.master since I don't have your module.

So far I'm not seeing any errors when saving module settings or site settings.

I'm thinking maybe there is something about your site hierarchy that could be a factor. Do you have any pages that use fully qualified urls or any unusual page configurations where a page may be in the menu in more than one location or any other factors about the actual site that you can think of?

Or any clarification of steps to produce the error?

Best,

Joe

4/13/2011 7:53:18 AM
Gravatar
Total Posts 18439

Re: Error when updating settings

Can you try adding this on your <portal:SiteMenu TreeViewPopulateOnDemand="false"

and see if it makes any difference?

4/13/2011 8:01:09 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Error when updating settings

Hi Joe

Thank you so much for checking it over - that last suggestion you made has seemingly cured the problem.

What's the background of that attribute then?

Thanks

Mark

4/13/2011 8:24:27 AM
Gravatar
Total Posts 18439

Re: Error when updating settings

I still have not  been able to produce the error but it may be caused by a combination of having only child pages beneath home that are not included in the menu and using populateondemand. When populateondemand is enabled if you view the source of the page you will see it does not render the child nodes in the menu until a parent page is selected and then it tries to expand a parent node and render the child items. By disabling it then the menu is already fully expanded so I guess it never needs to try to expand it and this avoids the error. for a site that does not have a huge hierarchy it is probably better for SEO to go ahead and render all the items in the menu anyway so it is easy for crawlers to see them. But for very large hierarchies rendering the entire menu can produce a huge amount of markup so populate on demand is helpful. Since the error is about expanding the treeview it just made me guess that setting might affect it. The treeview nodes know they have child nodes but if none of them are included in the menu then there is nothing to render when they expand but the parent node doesn't know about all of that, it just knows it has child nodes and therefore it thinks it should be expandable. 

In any case I'm adding extra checking in the code for the next release to avoid this error under whatever conditions may produce it.

Best,

Joe

4/13/2011 8:28:24 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Error when updating settings

Brilliant Joe, thanks for the insight - I didn't know that was how it worked.

Thank you again.

Mark

5/10/2012 9:49:13 AM
Gravatar
Total Posts 104

Re: Error when updating settings

bumping this thread in the hopes that someone will notice and can provide a bit of direction here....

 tried to use something like...

Settings["IconFilePath"].ToString()

 but continually am getting an error when accessing/changing information on the feature settings...

2012-05-10 08:13:17,496 ERROR 10.4.1.1 - en-US - /yyy/Admin/ModuleSettings.aspx?mid=205&pageid=107 - mojoPortal.Web.Global -  Referrer(http://<IP>/yyy/Admin/ModuleSettings.aspx?mid=205&pageid=107) useragent Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Resources..resources" was correctly embedded or linked into assembly "App_GlobalResources._f7idtza" at compile time, or that all the satellite assemblies required are loadable and fully signed.    at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)    at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary'2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)    at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)    at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)    at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)    at System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName)    at System.Web.UI.TemplateControl.GetGlobalResourceObject(String className, String resourceKey)    at mojoPortal.Web.AdminUI.ModuleSettingsPage.btnSave_Click(Object sender, EventArgs e)    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

You must sign in to post in the forums. This thread is closed to new posts.