System not showing images or loading javascript packages

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.

3/17/2022 4:41:15 PM
Gravatar
Total Posts 59

System not showing images or loading javascript packages

My hosting provider recently upgraded the server my websites are running on and they are no longer working properly.  No images  including the site logo are being displayed and js packages such as CKeditor are not loading.  I have checked in the system log and there seem to be lots of viewstate error such as the one below.  Can anybody suggest a solution?

 

2022-03-02 17:46:05,605 ERROR 161.117.10.46 - en-GB - / - mojoPortal.Web.Global -  Referrer(http://warringtonql.org.uk/Secure/Login.aspx?returnurl=%2fhome.aspx) useragent Mozilla/5.0 (Windows NT 6.1; ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36 
System.Web.UI.ViewStateException: Invalid viewstate. 

 

System Information

mojoPortal Version2.7.0.0 MSSQL

Operating SystemMicrosoft Windows NT 10.0.17763.0

ASP.NET Info4.0.30319.42000 Running in Full Trust

Server Time ZoneIndia Standard Time

Server Local Time(GMT 5.5) 18/03/2022 03:14:54

Greenwich Mean Time (GMT/UTC)17/03/2022 21:44:54

Feature Versions 

FeatureSchema Version

blog2.6.1.9

contactform0.0.0.6

eventcalendar0.0.0.6

feed-manager1.0.1.1

forums2.2.0.5

imagegallery0.0.0.8

kdmediaplayer1.0.0.1

linksmodule1.0.0.9

pollfeature-byChristianFredh0.0.0.5

sharedfiles1.1.0.0

superflexi0.0.1.7

surveyfeature1.9.0.0

webstore0.0.7.4

3/17/2022 4:51:38 PM
Gravatar
Total Posts 1204
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: System not showing images or loading packages

I went to the site and tried to directly open one of the broken images in a new tab. This should display the image by itself (a direct URL to a jpg). Instead, it gave me the error "the page cannot be displayed because an internal server error has occurred." So something is wrong in your host's configuration for serving static files from the web server. If they can resolve that, it might clear up the other issues you are seeing.

3/18/2022 3:38:23 AM
Gravatar
Total Posts 59

Re: System not showing images or loading packages

When I look at the logs for the site, every time it is trying to load an image it's throwing a 500 error - e.g.

2022-03-18 13:56:5586.5.186.3500GET /Data/Sites/1/skins/artisteer31-verticalmenu1/images/Owl.png - HTTP/2242

2022-03-18 13:56:5586.5.186.3500GET /Data/Sites/1/skins/artisteer31-verticalmenu1/images/sheet_t.png - HTTP/2242

When I run the site under IIS on my local machine it loads perfectly, but uploading it to two different hosting services (Arvixe and MilesWeb) I am getting the same problem on both - it used to work perfectly on Arvixe until they upgraded me.  What is more confusing is that one of my sites (www.merseysummerquiz.org.uk) works perfectly on both hosts.  I am very confused!

3/18/2022 5:21:35 AM
Gravatar
Total Posts 59

Re: System not showing images or loading packages

I got it working by copying the web.config file from the working site to the broken site.  I have compared the two and am not sure what made the difference, but it's working, so all good

 

4/6/2022 2:29:13 PM
Gravatar
Total Posts 211

Re: System not showing images or loading packages

I wonder if it was just your browser caching? If the domain is the same but the backend changed it may have confused something. Cache issues are a constant cause of strange problems.

Edit: although I see Jamie tried above and he got an error too. Still, always something to try.