Skip to main content
Participating Frequently
May 7, 2021
Question

this.m_state is undefined error

  • May 7, 2021
  • 1 reply
  • 1179 views

Hi--

I'm consistently getting this error with my SCORM learning. I've traced it to this line in CPM.js:

 

var a = this.m_state.charAt(this.m_curReadPos),...

 

Does anyone know what this is about? I've scoured the internet and found only a passing reference to the server not serving the JSON mime type correctly or at all, but I've added this line to my .htaccess file:

 

AddType application/json json

 

Just can't get past this. It works on the SCORM cloud, however. Please. Any help at all is appreciated. I'm absolutely stuck.

 

Using Captivate 2019, v. 11.5.1.499.

 

Thank you!

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    May 7, 2021

    You are not using the most recent version of 11.5, which is 11.5.5.553. Please update.

    Does the webserver with the LMS  support JSON? It is needed for the PNG images. Since it works on SCORM Cloud, this is the location to look for the problem, not in Captivate.

    Participating Frequently
    May 7, 2021

    Thank you for responding!

    I can ask our IT dept to upgrade my Captivate, but am not sure that will help since this works in the cloud.

    The LMS is hosted by a third party and I'm told it does support JSON.

    I do agree this is a server issue and not a Captivate issue and just hope other users here will have a way to address this. Do you know if the line in my .htaccess file is accurate and should fix this?

     

    Thank you again!

     

    RodWard
    Community Expert
    Community Expert
    May 8, 2021

    Updating your version of Captivate is so that you would be able to ensure your published output is of the highest quality Captivate is currently able to produce.  Using the latest version of Captivate is almost always the best way to go.

     

    However, having the latest and best version of Captivate won't fix this particular issue unless your LMS web server also enables JSON files.  Your htaccess file isn't necessarily going to override the security settings for the main server.