Error when saving data

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/30/2018 12:58:09 PM
Gravatar
Total Posts 47

Error when saving data

Hi! I have a fresh new installation of Mojoportal 2.6.0 on a local server running locally on MS Windows Server 2016 Standard. The instalation was fine, but when I try to modify the Site Settings I seldom receive an error message. Checking the system log, gives the following:

---- 

2018-04-30 19:37:25,425 ERROR (null) - (null) - (null) - mojoPortal.Web.Global -  Referrer(none) useragent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
System.NullReferenceException: Object reference not set to an instance of an object.
   at mojoPortal.Web.SiteUtils.IsFishyPost(HttpRequest request)
   at mojoPortal.Web.AdminUI.SiteSettingsPage.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

I do not understand why the error happens random. Do you have any idea?  May be it is important  the prevoius error I got was that the system was looking for a file Data/styles/mojo1.css and did not find. As suggested in the forum, I put an empty file in the searched position, and it seemed to be working.

Any Idea?

Thanks

 

Mari

 

 

5/1/2018 10:14:08 AM
Gravatar
Total Posts 2239

Re: Error when saving data

Hi Mari,

The error about the mojo1.css file is harmless. That file is referenced by the error.htm file but it doesn't exist. That reference is removed in the upcoming release of mojoPortal.

Can you try clearing your log, checking your site settings and then send us the content of the log?

Is this a fresh install to an empty database or was this an upgrade of some sort?

Thanks,
Joe

5/9/2018 6:24:55 AM
Gravatar
Total Posts 47

Re: Error when saving data

Hi Joe,

Here is the log. 

2018-05-09 13:09:01,420 ERROR XXX.XXX.XXX.XXX - en-US - /Admin/SiteSettings.aspx - mojoPortal.Web.Global -  Referrer(none) useragent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17643
System.NullReferenceException: Object reference not set to an instance of an object.
   at mojoPortal.Web.SiteUtils.IsFishyPost(HttpRequest request)
   at mojoPortal.Web.AdminUI.SiteSettingsPage.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

The error happens random.  

Two administrators are working on the site, using three identical workstations. On one workstation both accounts show no error, on the other two workstations both accounts show the error (random when touching the site settings). 

How can I solve?

Thanks in advance :-)

 

Mari

P.S.

I also had random errors happening when saving data in the site settings, such as file not found (/Data/style/JobBoard/style.css ,  /404notfound.aspx ,  /favicon.ico) None of them seems to be  essential, and I solved adding an empty file for the css and the missing files. 

 

 

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