Cascade Story Map won't load in embed or local host

1074
5
07-12-2018 06:42 PM
AhmadShaibani
New Contributor II

https://www.arcgis.com/apps/Cascade/index.html?appid=6f0b60d3442d484f8480d5e7f87adb7b 

I would like to host my own story map and when I put the appid in index.html, the story map won't load. It hangs on the loading splash screen.

The same thing happens when I tried embedding.

0 Kudos
5 Replies
AhmadShaibani
New Contributor II

Also, here are the results I get from the web console:

ReferenceError: $ is not defined[Learn More] main-config.js:228:5
Loading failed for the <script> with source “http://https//js.arcgis.com/3.25/init.js”. index.html:1
ReferenceError: define is not defined[Learn More]
0 Kudos
OwenGeo
Esri Notable Contributor

Hi -- Check out these instructions for hosting your own Story Map. Sounds like you might be using the source code instead of the compiled code.

Owen Evans
Lead Product Engineer | StoryMaps
AhmadShaibani
New Contributor II

I have followed these instructions for hosting your own Story Map,

I downloaded the Ready-to-deploy app from the Overview page of the Cascade app.

The problem is coming after I have done all of that.

0 Kudos
AlisonSizer
New Contributor III

Hi there,

I'm a developer on the Story Maps team looking into this. I've followed the steps above, and can't seem to reproduce this problem.

One question -- have you deployed the downloaded code to a web server? Looking at some of the links in your copy/paste above, I think maybe you just put it on your desktop, and opened index.html as a file. I'm not sure what kind of computer you have, but you'll need to put this code on a web server of some sort. Many PCs come with a web server called IIS, while Macs have built-in Apache servers (both of which you'd have to enable). 

If you're on a PC, try a google search for "how to enable IIS", or check out this Microsoft article here: How to: Enable Internet Information Services (IIS)

0 Kudos
AhmadShaibani
New Contributor II

I uploaded the files onto my web server and it worked! It seems that I cannot open the index.html from my desktop.

I'll be experimenting with Alison Sizer's suggestions (so far having some trouble). I'll report back if anything comes out of it.

0 Kudos