Lectora problems with Google Chrome

mmacbeth4106
mmacbeth4106 Community Member Posts: 4
After I FTP my Lectora site and view it in Google Chrome, instead of the site I get one word in the browser, "undefined" or  "undefined" plus some of the text from the webpage. If I refresh the site is fine.

This happens in version 12 and 16. Any ideas on how to correct this?

Comments

  • mmacbeth4106
    mmacbeth4106 Community Member Posts: 4
    Here is what i see. Does this and all the computers in my lab.

    http://emstechlab.com/audacity/page295.html
  • klaatu
    klaatu Community Member Posts: 988
    Hi, Mike. It seems to work okay in Chrome on my computer (Version 49.0.2623.87 m). A screenshot is attached.

     

    The vocabulary quizlet worked as did the link to the activity page.  The link to the definition of elastic worked and I was able to play the 1 kHz tone. The link to the waves intro also functioned correctly. I tried the Progress Check, however, the question does not get processed (I used my first name in the requester).

    Since the site works for you on a screen refresh maybe you should try to clear your browser cache and try?

    Darrel
  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    I just tested it and it works fine for me (Chrome 49.something.something). However, there was a non-critical error in the console. It seems to me that the preload function in Lectora is receiving a few empty arguments. A glitch like this could occur when moving between multiple Lectora versions. So now Lectora is trying to preload something that doesn't exist, and some servers/browsers might be pickier about that than others... Hence the inconsistent error. I'm just thinking out loud. If you share your title source with me (via private message), I'd be happy to take a look.
  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    Also, awesome course! I like that it is scrollable and not confined to a "slide-sized" frame.

    Also, Progress Check does not work for me. I can see the choices but I don't see a button to submit my answer, see screenshot.
  • jvalley4735
    jvalley4735 Community Member Posts: 1,357
    Love what you did with this course!  I opened it in Chrome and experienced no issues.  If your able to share the source files I know a lot of our developers would love to use this as a reference or insipriation! You can add it to our share section by filling out the form here: http://community.trivantis.com/share/share-new-content/
  • mmacbeth4106
    mmacbeth4106 Community Member Posts: 4
    Thanks for the response. I have tried that in the past on several student PC's. Sometimes it works and other times not.
  • mmacbeth4106
    mmacbeth4106 Community Member Posts: 4
    I think it may be a version issue. All of the content was created in v. 11 and moved to 12 and then a week later to 16. I went back to 11 for a while since it worked. But finally decided to figure out why it did not work using 12 and 16.

    I like 16 but not only do I have issues with this but titles created in 16 are not loading at all. I get a white screen and a dialogue box telling me it was unable to load data. Of course that's another issue. :)
  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    Hi @mmacbeth4106, I looked at your files and there appears to be a little glitch in Lectora concerning preloading GIF files. @jvalley4735 should probably let the dev team know.

    When you add a GIF image to the title and set it to preload, the required JS code is not generated in the HTML output. So instead of "preload(image1, imageGIF, image3)", the code is "preload(image1,,image3)" - and JavaScript does not like those sequential commas.

    To fix that, simply go to GIF's properties tab and uncheck "Preload" box. Now Lectora will produce valid code. Which, hopefully, will resolve the Chrome problem you are having. Don't forget to re-publish, re-upload and clear all caches, browser-side and server-side, before you test.
  • jvalley4735
    jvalley4735 Community Member Posts: 1,357
    I notified the dev team.  Thanks @ssneg!
  • ahetherington9113
    ahetherington9113 Community Member Posts: 132 ☆ Roadie ☆
    Can you please advise if this issue was fixed in Lectora?
  • ahetherington9113
    ahetherington9113 Community Member Posts: 132 ☆ Roadie ☆
    And if the workaround is still to de-select the preload checkbox, is there a way to do this for the entire title or only by finding each image individually?

    Thanks

    amanda

     
  • jvalley4735
    jvalley4735 Community Member Posts: 1,357
    According to the release notes, this was fixed in v17 (LD-3192). http://trivantis.com/inspire-e-learning-software/release-notes-17
  • ahetherington9113
    ahetherington9113 Community Member Posts: 132 ☆ Roadie ☆
    Thanks Jennifer.