Featured Categories
-
Lectora®
Lectora® is the most trusted authoring tool in the world. Rock out your creativity! Author courses any way you like. Lectora adheres to best practices for Accessibility and Web Content Accessibility Guidelines (WCAG), offers responsive authoring for eLearning, and publishes to any LMS (Learning Management System).
-
CenarioVR®
Experience virtual reality through CenarioVR®, our training and virtual reality (VR) authoring software that allows you to create immersive learning in minutes! No coding required!
-
Rockstar Learning Platform®
Our Rockstar Learning Platform® has all the features you’ll love. Help your employees be better at their jobs, more valuable to your company, and most effective in servicing your customers.
-
The Training Arcade®
Level up your learner engagement with the Training Arcade®! The Training Arcade is a library of fun, mobile-ready, casual games that can be rapidly customized with your content to create effective gaming!
-
ELB Learning Content
Did you know that our AssetLibrary™ has over 120 million engaging, interactive, and awe-inspiring templates and assets to help you become an eLearning Rockstar®?
LMSSetValue Error

LMSSetValue Error:cmi.core.lesson_location not initialized
I am not certain if this is an error that needs to be fixed in Lectora before publishing or is a Moodle setting issue. I am not a programmer and need it explained in simple, non programming language.
Comments
-
I have a similar issue to you but mine is:
LMSSetValue Error: cmi.core.lesson_status to [Complete]Incorrect data type0 -
Me too, but mine is saying suspend value and that persistent data can't be saved.0
-
@FatimaMaharaj 60758 wrote:
I have created SCORM files using Lectora and uploaded it to Moodle. When I access the modules it throws up the following error messages:
LMSSetValue Error:cmi.core.lesson_location not initialized
I am not certain if this is an error that needs to be fixed in Lectora before publishing or is a Moodle setting issue. I am not a programmer and need it explained in simple, non programming language.
The same thing with me. I also get this: 'Persistent data not stored'. Is there any explanation and solution to this?0 -
When you get the LMSSetValue Error: cmi.core.lesson_status to [Complete]Incorrect data type that means that the lesson status action that you have in Lectora is incorrect. The value is normally set to completed (all lower case letters) and make sure that you have the target set to AICC_Lesson_Status
On: Show
Action: Modify Variable
Target: AICC_Lesson_Status
Value: (this value is set by your LMS and it varies, please consult your LMS) usually this value is set as: completed
Leave everything else at defaults.0 -
The ‘Persistent data not stored’ error gets displayed when the course sends suspend data back to the LMS and the LMS doesn't return it in the exact same way back to the course. The Persistent Data error is caused because the amount of data that needs to be stored in your LMS has exceeded the allowed amount (Most default 4,096 bytes). There are a few ways to fix this issue.
The most common fix it to contact you LMS and get directions on how to increase the amount of Persistent Data that can be stored in you LMS.
The second way is to turn off the error on the course side by going into the Trivantis.JS file in your published content and change the “var bDisplayErr” to false. However this only turns off the error and you LMS server may not retain the variables.
The last way is long and tedious. Each course question would have to be edited, to have single letter answers. So, answer 1 would be A, answer 2 would be B, and so on. Then you can hide the text block the displays the single letter answer, by going into the text block properties, and uncheck Initially Visible. Then you will want to make a new text blocks with you possible choices. This will decrease the amount of data that would be saved to you LMS.
Probably the easy way would be to go to the test properties and deselect "retain variables between sessions", and make sure this is done at the test section and questions level.
Alternatly, You would go to the question properties and change all your answers to be a one letter answer A, B, C and so on. The you would press finish in the question wizard. you could then go to the properties of the text blocks and make sure you have "initially visible" deselected. then you can make text blocks with your real answers in them. It wipes the answer if they leave the course, but the score and status will be retained.0 -
Hi: I have an error with the course in Chrome not Internet Explorer. The audio does not work in Chrome.
I double checked my mod variable settings (screenshot):
On: Show
Action: Modify Variable
Target: AICC_Lesson_Status
Value: completed
The LMSValue Error indicates embedded media (audio I assume) is not working.
What can I do if all the settings are correct and it works in Internet Explorer and not Chrome.
It's urgent.
Thank you.0 -
Mascot, the SCORM API requires that a call LMSInitialize first be sent to the LMS. This prepares the LMS to receive and accept communications. The cmi.core.lesson_location is the data element that is used to bookmark the students location in the lesson. I believe, from your attachment which in part says "Not Initialized", that the error indicates that the lesson_location call was sent before the LMS received the LMSInitialize call (or it failed).
Another thing to be cognizant of is suspend_data. This is where all the information from the lesson, including which pages have been viewed, is stored. You must make sure that the lesson settings in the LMS are set to allow reading and writing of suspend data. Also, I'm pretty sure the limit for SCORM 1.2 is 4,096 bytes of suspend data. If the lesson is big and a lot of information is being retained you might be exceeding the amount of data that can be stored.
How big is the lesson? How many questions/survey's are there and do you need to track everything?
Make sure the lessons Suspend Data settings on the LMS are allowing the reading and writing of Suspend Data.
I'd also try to publish with the HTML Option "Convert page names to short ID-based names" selected.0 -
The error refers to cmi.core.lesson_location. This variable contains the bookmark. I can't find a reference to media / audio files? The error says "embedded page" which should be the course page (embedded in a frame provided by the LMS). "Not intialized" means the course tries to set the bookmark before the connection to the LMS was established.
Sorry, I'm not sure how to solve it. If you deactivate the bookmarking feature, it should be solved, but in case you need it... I'd usually advise my learner to close and reopen the training.0
Categories
- 35.9K All Categories
- 110 ✫ Announcements
- 33.2K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 27 ELB Learning Content
- 27 ELB Learning Content Discussions
- 345 CenarioVR®
- 205 CenarioVR Discussions
- 140 CenarioVR Feature Requests
- 44 Rockstar Learning Platform®
- 41 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 48 ReviewLink®
- 48 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 938 All Things eLearning
- 39 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products