Site stuck at splash screen in IE and Firefox after upgrade to HTML5 2.11.2
I've upgraded one of our sites from HTML5 2.8.2 to 2.11.2 and it refuses to load in IE (11) or firefox but it will in Chrome. It sits at the splash screen. There is no error messages showing up in the developer console other than it can't find common.css. I've even turned the site debugging up to see if there is anything helpful but it only mentions the common.css. Any ideas on why it won't load in IE or Firefox?
0
-
Hi Belinda,
Can you try temporarily using a Desktop.json.js file from either a known good site or from the sample site LA County and see if it makes a difference? The Desktop.json.js file may have a reference that is invalid that is causing the issue (although I would expect it to affect Chrome as well, unless it is a race condition).
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Hi Wayne,
That was it! Thank you :)
I swapped out the desktop.json.js file for another working site's file and it now loads in IE and firefox. Now I need to put back in our customisations.
Any clue on what is new at 2.11.2 that is required compared to 2.8.2?
Belinda0 -
Hi Belinda,
It's hard to say. I would use the file that doesn't work again and see if there are any errors in the dev. tools (F12) console section that may indicate where the issue is. You can also try setting "deferredModuleLoading": true, on line 6 of the file to false to see if it changes anything. It is a global setting to allow or deny deferred loading of libraries. It was a change done for version 2.11 to speed up viewer loading.
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Hi Belinda,
We just came across the same issue while upgrading a site from 2.9.2 to 2.11.2. After some digging in the Desktop.json.js, it appears as though the Banner module has some new "moduleDependencies" as follows:
"moduleName": "Banner",
"moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.banner.BannerModule",
"moduleDependencies": [
"Accessibility",
"User",
"Search"
],
I found that the User module was missing from our upgraded Desktop.json.js. To fix this, I created a new site and viewer, then copied the "User" module configuration into our Desktop.json.js. If it helps, here is the default configuration for the "User" module:
{
"moduleName": "User",
"moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.User.UserModule",
"configuration": {},
"views": [],
"viewModels": [
{
"id": "SignInViewModel",
"type": "geocortex.essentialsHtmlViewer.mapping.modules.User.SignInViewModel",
"configuration": {
"linkColor": "#1A72C4"
}
},
{
"id": "UserInfoViewModel",
"type": "geocortex.essentialsHtmlViewer.mapping.modules.User.UserInfoViewModel",
"configuration": {
"linkColor": "#1A72C4",
"textColor": "#333333",
"backgroundColor": "#FFFFFF"
}
}
]
},
Regards,
Cam0 -
Thanks Cam - that was one of the missing modules. We also had the Editing module missing some components and the maptipContextActionsView needed to be removed for us to finally get the site to load. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
5 Kommentare