Copy link to clipboard
Copied
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?
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
How are you detecting the errors in the CPM.js?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Taking out those extra slashes did the trick. Still doesn't work perfectly but at least it loads. Thanks again for the answer.