Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Captivate 8 HTML5 file fails to load

New Here ,
Nov 04, 2015 Nov 04, 2015

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?

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

People's Champ , Nov 05, 2015 Nov 05, 2015

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.

Translate
Community Expert ,
Nov 04, 2015 Nov 04, 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.

preloaderIcon.png

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 04, 2015 Nov 04, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 05, 2015 Nov 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 05, 2015 Nov 05, 2015

Thanks, Rod. I asked GoDaddy's tech support for error messages and the tech said they didn't have any, but I'll ask specifically for the logs.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 04, 2015 Nov 04, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 05, 2015 Nov 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 05, 2015 Nov 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Nov 04, 2015 Nov 04, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 04, 2015 Nov 04, 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Nov 05, 2015 Nov 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 05, 2015 Nov 05, 2015

Hmmmm.  50% is a very high percentage.  That sounds like something Adobe should be working to eliminate.  It could explain a lot of the failures we routinely see in HTML5 content.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Nov 05, 2015 Nov 05, 2015

There are quite a few consistent issues with HTML5 output. I have a document of issues/fixes which I use to apply the fixes every time I publish. Some you can fix in the source files, but unfortunately the CPM.js is not one of them.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 05, 2015 Nov 05, 2015

How are you detecting the errors in the CPM.js?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Nov 05, 2015 Nov 05, 2015

Everywhere, in Interactions in the _WO folder, and numerous other widgets, CPM.js, CPXHRLoader.js.

There is a big mix of Doctypes and also bad html in the "interactions" especially.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 05, 2015 Nov 05, 2015

Thanks, Dave, I'll look into that as well. It seems strange to me that an error in the CPM.js would cause problems initially loading the content, but this whole problem is strange to me.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Nov 05, 2015 Nov 05, 2015

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 06, 2015 Nov 06, 2015
LATEST

Taking out those extra slashes did the trick. Still doesn't work perfectly but at least it loads. Thanks again for the answer.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources