Skip to main content
flwehling
Participating Frequently
November 5, 2015
Answered

Captivate 8 HTML5 file fails to load

  • November 5, 2015
  • 3 replies
  • 1821 views

The published version of a Captivate 8 project published in HTML5 works fine on the development server (i.e. my laptop) but fails to load in any browser from the production server (the link is http://www.clearcreeklearning.com/emcycle/index.html). The host (Godaddy.com) insists the problem is in the index.html file, which I would upload if I were allowed to. Is this a known issue? Any ideas on what could be preventing it from loading?

This topic has been closed for replies.
Correct answer TLCMediaDesign

Basically all of your content is in the CPM.js as a big JSON object. There are some external assets, but all of your course layout and advanced actions are in that file. If it encounters a fatal error your course won't load. I found that line that was throwing the error and removed 2 or 3 sets of // and it worked.

3 replies

TLCMediaDesign
Inspiring
November 5, 2015

There is an error in the CPM.js, with the following text:

You passed the quiz! Great job! You have completed this lesson on the Emergency Management Cycle.

There are backslashes that shouldn't be there.

RodWard
Community Expert
November 5, 2015

Dave,

Is that error present in all CPM.js files or is it just because of the wording of the Quiz Passed message that this developer has chosen to use (with all the exclamation marks)?

Is Captivate escaping these punctuation characters in a way that causes the issue?

TLCMediaDesign
Inspiring
November 5, 2015

Rod, I would say that about 50% of the CPM.js I publish have an error, depending on the course. If an error occurs, re-publishing never helps, it will always be there.

It's not always fatal though, but this one seems to be. I let the OPs course clock until the error finally showed in the console.

To the OP, you might want to reformat the text caption that the text is contained in and see if it helps.

Sankaram
Adobe Employee
Adobe Employee
November 5, 2015

Hi Fred,

      Are you using any tools to upload content to GoDaddy? if yes, that might be corrupting the content. Can you upload directly to GoDaddy hosting site and let me know if you still encounter the issue at sankaram@adobe.com(we can have a connect session)?

Thanks,

Sankaram.

flwehling
flwehlingAuthor
Participating Frequently
November 5, 2015

Hi Sankaram,

I use FileZilla to upload the content directly to the GoDaddy site and have reloaded it several times. If the problem persists I'll contact you offline.

Sankaram
Adobe Employee
Adobe Employee
November 6, 2015

Hi Fred,

   FileZilla might be stripping some backspaces etc. Can you open Go Daddy site and upload the published folder directly on web and let us know if you still encounter the issue?

Thanks,

Sankaram.

RodWard
Community Expert
November 5, 2015

When I click your link using a Chrome browser I see a loading icon.  Same thing with IE11.  So this doesn't appear to be a browser issue.

This icon indicates that your course index.html file is loading, but something else is not loading after that.

If GoDaddy staff said the issue was with the index.html file did they say what that issue is?  If not, press them on it.  They should have log files that can tell errors.

RodWard
Community Expert
November 5, 2015

Also, I wanted to know if this content is set up for an LMS or not. The loading icon could indicate that the content is looking for an LMS but if GoDaddy is just web server hosting and not a SCORM LMS then it would be unable to find the SCORM API.

flwehling
flwehlingAuthor
Participating Frequently
November 5, 2015

Thanks again, I'll point this out as well. The product is not linked to an LMS but the issue you point out could be a source of the problem.