Lectora courses crash on the user side

rcrten5905
Community Member Posts: 5
As a relatively new Lecora user with little knowledge of web programming, I have a question about the following Lectora/ILIAS problem:
I created a Lectora course that worked fine on my tests. After the export as SCROM 1.2 and integration into the ILIAS LMS some users (not all) report crashes of the course.
Sure, this can also be due to the configuration on the user side, but while testing the online (ILIAS) version I always get error messages in the debugging console during my tests in different browsers.
The following errors are thrown on each page (firefox debug):
TypeError: getComputedStyle(...) is null[Weitere Informationen] mediaelement-and-player.js:462:5
mejs.MediaFeatures.init/t.supportsPointerEvents< https://lernwelt.fraunhofer.de/data/Test8/lm_data/lm_108818/mediaelement-and-player.js:462:5
mejs.MediaFeatures.init https://lernwelt.fraunhofer.de/data/Test8/lm_data/lm_108818/mediaelement-and-player.js:449:30
<anonym> https://lernwelt.fraunhofer.de/data/Test8/lm_data/lm_108818/mediaelement-and-player.js:579:1
SyntaxError: expected expression, got ','[Weitere Informationen] trivantis.js:3919:92
The debugging console from Chrome throws these errors:
Uncaught SyntaxError: Unexpected token ,
setTimeout (async)
PreloadResources @ trivantis.js:3919
init12 @ page88563.html:175
init @ page88563.html:168
load (async)
(anonymous) @ page88563.html:143
Source-View
https://lernwelt.fraunhofer.de/ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=8806
preload( 'images/progress31438_bar.png','images/progress31438.png','images/grauflaeche.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png','images/logo.png','media/modul_1-3-5.mp3','media/modul_1-4-1.mp3','media/modul_1-4-2.mp3','media/modul_1-4-3.mp3','media/modul_1-4-4.mp3','media/modul_1-5-1.mp3','images/fcpa.png','images/bribery_act.png','images/web.png','images/web.png' )
A TypeError is not displayed by the Chrome debugger
Can these error messages be the cause of the crashes or are they normal and can they be ignored?
I am using Lectora Publisher Version 17.1.3(11275)
With thanks in advance and kind regards
R.Cürten
I created a Lectora course that worked fine on my tests. After the export as SCROM 1.2 and integration into the ILIAS LMS some users (not all) report crashes of the course.
Sure, this can also be due to the configuration on the user side, but while testing the online (ILIAS) version I always get error messages in the debugging console during my tests in different browsers.
The following errors are thrown on each page (firefox debug):
TypeError: getComputedStyle(...) is null[Weitere Informationen] mediaelement-and-player.js:462:5
mejs.MediaFeatures.init/t.supportsPointerEvents< https://lernwelt.fraunhofer.de/data/Test8/lm_data/lm_108818/mediaelement-and-player.js:462:5
mejs.MediaFeatures.init https://lernwelt.fraunhofer.de/data/Test8/lm_data/lm_108818/mediaelement-and-player.js:449:30
<anonym> https://lernwelt.fraunhofer.de/data/Test8/lm_data/lm_108818/mediaelement-and-player.js:579:1
SyntaxError: expected expression, got ','[Weitere Informationen] trivantis.js:3919:92
The debugging console from Chrome throws these errors:
Uncaught SyntaxError: Unexpected token ,
setTimeout (async)
PreloadResources @ trivantis.js:3919
init12 @ page88563.html:175
init @ page88563.html:168
load (async)
(anonymous) @ page88563.html:143
Source-View
https://lernwelt.fraunhofer.de/ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=8806
preload( 'images/progress31438_bar.png','images/progress31438.png','images/grauflaeche.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png',,'images/box_check.png','images/box_aktuell.png','images/box.png','images/logo.png','media/modul_1-3-5.mp3','media/modul_1-4-1.mp3','media/modul_1-4-2.mp3','media/modul_1-4-3.mp3','media/modul_1-4-4.mp3','media/modul_1-5-1.mp3','images/fcpa.png','images/bribery_act.png','images/web.png','images/web.png' )
A TypeError is not displayed by the Chrome debugger
Can these error messages be the cause of the crashes or are they normal and can they be ignored?
I am using Lectora Publisher Version 17.1.3(11275)
With thanks in advance and kind regards
R.Cürten
Comments
-
-
-
Wild guess: publish with your language set to English (not German) and see if you get the errors. I'm just wondering if maybe the German translation is (for instance) introducing an unescaped space or non-ASCII character that the JavaScript interpreter can't understand. If that is the case, it's a bug that Trivantis can and should fix, and should be straightforward.
-
-
-
I did another test with an html version via XAMPP and both errors show up. So it is not an ILIAS specific problem.
On the screenshot you can also see where the SyntaxError (double comma) appears in the preload. -
-
RC, please check to see and let us know what mode Internet Explorer is running in while viewing the content that crashes. Hit F12 and then select Emulation.
https://ibb.co/eTG79H
Categories
- 35.8K All Categories
- 108 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 321 CenarioVR®
- 188 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 5 The Training Arcade®
- 5 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products