Picture of Simon Ray
Trouble uploading to LMS
by Simon Ray - Monday, 7 March 2016, 5:05 AM
 

Hi all

I'm having an issue with a course I've built in the Framework (v2.0.0).  The framework runs normally, previewing in Chrome/Firefox/IE is fine with grunt server-scorm...

I zip the contents of the build file and put it into the LMS (Totara) and when I launch the course, all I get is the spinning circle of death.

Other courses built around the same time are functioning fine and I can't think of anything I have done differently.

Has this happened to anyone else?

Simon

Picture of Matt Leathes
Re: Trouble uploading to LMS
by Matt Leathes - Monday, 7 March 2016, 9:45 AM
 

Any errors in the console?

Do other Adapt courses work on the same instance of Totara?

Picture of Simon Ray
Re: Trouble uploading to LMS
by Simon Ray - Monday, 7 March 2016, 9:24 PM
 

Hi Matt

No errors in the console at all. All other courses are working fine in Totara, on the same course page with the same settings.

If I open the course using the main.html launcher in Firefox, it works fine.

Simon

Picture of Matt Leathes
Re: Trouble uploading to LMS
by Matt Leathes - Tuesday, 8 March 2016, 10:01 AM
 

OK so it's unlikely to be a server configuration issue.

When you say "If I open the course using the main.html launcher in Firefox" - do you mean from Totara?

What if you try on another LMS e.g. SCORM Cloud? Or try uploading to a different Totara course page?

I think it would probably be worth posting the console output here.

Picture of Simon Ray
Re: Trouble uploading to LMS
by Simon Ray - Tuesday, 8 March 2016, 9:58 PM
 

Hi Matt

Opening the course looks like this:

 

I can email you a link to the file in a google drive if you want to have a closer look at it...

Simon

Picture of Matt Leathes
Re: Trouble uploading to LMS
by Matt Leathes - Wednesday, 9 March 2016, 10:04 AM
 

ah sorry, I mean 'console output' as in the browser's web developer tools console from when you're running the course in Totara and it's not loading

Feel free to send me a copy of the course and I'll give it a quick test

Picture of Simon Ray
Re: Trouble uploading to LMS
by Simon Ray - Wednesday, 9 March 2016, 11:35 PM
 

Hi Matt

Befgore I send it to you, here are the logs:

Scorm Cloud (thanks for letting me know this existed, very handy!): https://cloud.scorm.com/sc/guest/ViewDebugLog?logId=c48ec762-6199-422f-aff7-cd867df9fe60&courseTitle=Adapt+SCORM

 

Console from Chrome:

 

Am I correct in thinking that I have some completion and assessment code a bit wonky?

I'll look more specifically at this today and let you know what I find...

Simon

 

Picture of Simon Ray
Re: Trouble uploading to LMS
by Simon Ray - Thursday, 10 March 2016, 3:29 AM
 

Hallelujah I fixed it! 

Turns out it was an image file that didn't match up with what was in the code...capitalised when not capitalised.

Annoying, but gee I'm learning heaps about this stuff!

Thanks for the help Matt.  The Inspect console proved the trick!

Picture of Matt Leathes
Re: Trouble uploading to LMS
by Matt Leathes - Thursday, 10 March 2016, 9:49 AM
 

No problem, easy mistake to make - we've all been there.

Picture of Simon Ray
Re: Trouble uploading to LMS
by Simon Ray - Tuesday, 8 March 2016, 10:35 PM
 

Also, No, not opening the folder in Totara, opening the folder straight off the C: drive