Zum Hauptinhalt gehen

HTML 5 Viewer 2.5 won't load in Chrome or Firefox

Kommentare

16 Kommentare

  • Ethan Granger

    Here are the errors I'm getting in the browser developer console:

    Chrome:

    /customer/servlet/servlet.FileDownload?file=00P6000000e8ExDEAU

    Firefox Error:

    /customer/servlet/servlet.FileDownload?file=00P6000000e8ExIEAU

    0
  • Kevin Penner

    Hi Ethan,

    Can you try to open the viewer in an incognito window in Chrome? Let's rule out any caching issues first.

    -Kevin

    0
  • Ethan Granger

    I considered that and I fully cleared my cache/history. I've also tried in incognito and i get the same experience: just our splash page loads and nothing else./customer/servlet/servlet.FileDownload?file=00P6000000e8ExSEAU

    0
  • Kevin Penner

    Hi Ethan,

    I poached the URL there and it works for me without any trouble. I get the windows login and a viewer shell. No issues with applicationState as described above.

    Chome Version 45.0.2454.85 m

    -Kevin

    0
  • Ethan Granger

    That's bizzare. I had my system admin try and he had the same experience as I did in both browsers and I had the same experience on my computer at home last night.

    So it seems to be working again in Chrome, but it still won't work in Firefox for either me or my sys admin. 

    0
  • Kevin Penner

    StateManager is a new 2.5 concept. Being undefined might mean that one of the JS files is old and using a cached version from somewhere.

    This is a strange one, if it continues to give you grief, I'd suggest getting in touch with (support@latitudegeo.com)

    Cheers,

    Kevin

    0
  • Ethan Granger

    Also just tested on a Mac and neither Chrome nor Safari on the Mac would get past the splash screen either, even after clearing cache/history.

    0
  • Kevin Penner

    Can you try a recycle on your DefaultAppPool or whichever AppPool the viewer is running under?

    -Kevin

    0
  • Ethan Granger

    I restarted all of the AppPools. Not only did it seem to not make a difference, now Chrome isn't working again.

    0
  • Permanently deleted user

    In case anyone else experiences an issue with their 2.5 viewer after upgrading. 

    The cause of this issue is due to the index.html page not being overwritten during the upgrade process in the Essentials Post Installer. The option to overwrite should be used as the index.html structure has significantly changed since the 2.4 release. Any customizations to the index.html page will be lost but are retrievable via the back up folder which I've indicated below. If you are in the process of upgrading then you can make a copy of the index.html page before upgrading. 

    Default Back Up Location:

    C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\Backups

    *The most common customization to the index.html page for the HTML5 viewer is to shorten the viewer URLs. The new index.html page for the 2.5 release accepts the same format for shortened URLs.

    0
  • Permanently deleted user
    We are experiencing the same problem. Even though I was careful to use WinMerge to incorporate my custom code into the new Index file, it looks like the old Index file is now in our upgraded version of the HTML5 Viewer. My question is what is the best way to load in the new Index file? Do I need to rerun the full Post Installation process?

     

    Gary
    0
  • Permanently deleted user

    We are also having the same problem with the site not loading in Chrome, Firefox and Safari after upgrading.  Application sticks at the splash screen.

     

    We did merge the Index.html.  But this is not working.

     

     

    Can someone post a working index.html or is there a way to upgrade the existing one?

     

    Regards
    0
  • Permanently deleted user
    I just did a fresh install of Essentials 4.4 and HTML5 2.5 on a new server.  Here is the INDEX.html file that is generated:  

     

    I was able to use it to restore my Index.html file on my production site.  Just had to add the url shortening and then recycled my app pools and now I can load in Chrome, Firefox and Safari.  

     

      <!doctype html> <html> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <title>Geocortex Viewer for HTML5</title> <link rel="shortcut icon" href="favicon.ico"/> <link rel="apple-touch-icon" href="Resources/Images/Icons/iOS/apple-touch-icon.png"/> <link rel="apple-touch-icon" sizes="72x72" href="Resources/Images/Icons/iOS/apple-touch-icon-72x72.png"/> <link rel="apple-touch-icon" sizes="76x76" href="Resources/Images/Icons/iOS/apple-touch-icon-ipad.png"/> <link rel="apple-touch-icon" sizes="114x114" href="Resources/Images/Icons/iOS/apple-touch-icon-114x114.png"/> <link rel="apple-touch-icon" sizes="120x120" href="Resources/Images/Icons/iOS/apple-touch-icon-iphone-retina.png"/> <link rel="apple-touch-icon" sizes="144x144" href="Resources/Images/Icons/iOS/apple-touch-icon-144x144.png"/> <link rel="apple-touch-icon" sizes="152x152" href="Resources/Images/Icons/iOS/apple-touch-icon-ipad-retina.png"/> <link rel="stylesheet" href="Resources/Styles/splash.css" /> </head> <body> <!-- Splash Screen Markup --> <div class="splash-overlay"> <div class="splash-plate"> <img class="splash-image" src="Resources/Images/splash-logo.png" alt=""/> <p class="splash-paragraph">This application uses licensed Geocortex Essentials technology for the Esri<sup>&reg;</sup> ArcGIS platform. All rights reserved.</p> </div> </div> <!-- Standard GVH Embed --> <script src="Resources/Compiled/loader.js"></script> <script> // Uncomment the below line to only use local copies of Esri API files. This is done automatically in the Geocortex Mobile App Framework. //var geocortexUseLocalEsriApi = true; var viewerConfig = { "configurations": { "default": "Resources/Config/Default/" + shellName + ".json.js" }, "viewerConfigUri": null }; new geocortex.essentialsHtmlViewer.ViewerLoader().loadAndInitialize(); </script> </body> </html>
    0
  • Permanently deleted user
    The Code Snippet window destroyed all formatting.  Here is a more readable version of the index.html

     

     

    <!doctype html>

     

    <html>

     

        <head>

     

            <meta charset="utf-8"/>

     

            <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1"/>

     

            <meta http-equiv="X-UA-Compatible" content="IE=edge"/>

     

            <title>Geocortex Viewer for HTML5</title>

     

            <link rel="shortcut icon" href="favicon.ico"/>

     

            <link rel="apple-touch-icon" href="Resources/Images/Icons/iOS/apple-touch-icon.png"/>

     

            <link rel="apple-touch-icon" sizes="72x72" href="Resources/Images/Icons/iOS/apple-touch-icon-72x72.png"/>

     

            <link rel="apple-touch-icon" sizes="76x76" href="Resources/Images/Icons/iOS/apple-touch-icon-ipad.png"/>

     

            <link rel="apple-touch-icon" sizes="114x114" href="Resources/Images/Icons/iOS/apple-touch-icon-114x114.png"/>

     

            <link rel="apple-touch-icon" sizes="120x120" href="Resources/Images/Icons/iOS/apple-touch-icon-iphone-retina.png"/>

     

            <link rel="apple-touch-icon" sizes="144x144" href="Resources/Images/Icons/iOS/apple-touch-icon-144x144.png"/>

     

            <link rel="apple-touch-icon" sizes="152x152" href="Resources/Images/Icons/iOS/apple-touch-icon-ipad-retina.png"/>

     

            <link rel="stylesheet" href="Resources/Styles/splash.css" />

     

        </head>

     

        <body>

     

            <!-- Splash Screen Markup -->

     

            <div class="splash-overlay">

     

                <div class="splash-plate">

     

                    <img class="splash-image" src="Resources/Images/splash-logo.png" alt=""/>

     

                    <p class="splash-paragraph">This application uses licensed Geocortex Essentials technology for the Esri<sup>&reg;</sup> ArcGIS platform. All rights reserved.</p>

     

                </div>

     

            </div>

     

            <!-- Standard GVH Embed -->

     

            <script src="Resources/Compiled/loader.js"></script>

     

            <script>

     

                // Uncomment the below line to only use local copies of Esri API files. This is done automatically in the Geocortex Mobile App Framework.

     

                //var geocortexUseLocalEsriApi = true;

     

                var viewerConfig = {

     

                    "configurations": {

     

                        "default": "Resources/Config/Default/" + shellName + ".json.js"

     

                    },

     

                    "viewerConfigUri": null

     

                };

     

                new geocortex.essentialsHtmlViewer.ViewerLoader().loadAndInitialize();

     

            </script>

     

        </body>

     

    </html>
    0
  • Matt Taylor
    Hey Jon, thanks for the code snippet.  Our upgrade didn't seem to overwrite the index.html file and i want to try and use your code to replace ours.  However i wanted to make sure that is the entire code as it appears much different and shorter than ours.  Obviously i'll input our short url too, although i'm not exactly sure where to put that or if it needs to be changed.
    0
  • Matt Taylor
    To answer my own question... yes that is the full code of the index.html file.  Replacing the above code worked for us.
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.