SCORM 1.3 works in 2.2.11 but not 2.8.7

SCORM 1.3 works in 2.2.11 but not 2.8.7

by Jackie Toth -
Number of replies: 6

Hello Eveyone,

I have a series of SCORM modules that worked perfectly fine in M2.2.11 but now do not after upgrading to M2.8.7.

The modules are SCORM 1.3.  Is SCORM 2004 still not fully supported?  If not, why did these work in 2.2?

SCORM Debug from M2.2:

Tue, 01 Sep 2015 20:13:52 GMT: Moodle SCORM 1.3 API Loaded, Activity: test, SCO: Item6
Tue, 01 Sep 2015 20:13:54 GMT: Initialize("", "") => 0
Tue, 01 Sep 2015 20:13:54 GMT: GetValue("cmi.completion_status") - unknown => 0
Tue, 01 Sep 2015 20:14:14 GMT: SetValue("adl.nav.request", "continue") => 0
Tue, 01 Sep 2015 20:14:14 GMT: SetValue("cmi.completion_status", "completed") => 0
Tue, 01 Sep 2015 20:14:14 GMT: Terminate("AJAXResult", "true") => 0
Tue, 01 Sep 2015 20:14:14 GMT: Terminate("result", "true") => 0
Tue, 01 Sep 2015 20:14:15 GMT: Moodle SCORM 1.3 API Loaded, Activity: test, SCO: Item6
Tue, 01 Sep 2015 20:14:16 GMT: Initialize("", "") => 0
Tue, 01 Sep 2015 20:14:16 GMT: GetValue("cmi.completion_status") - unknown => 0
Tue, 01 Sep 2015 20:14:19 GMT: SetValue("cmi.completion_status", "completed") => 0
Tue, 01 Sep 2015 20:14:19 GMT: Terminate("AJAXResult", "true") => 0
Tue, 01 Sep 2015 20:14:19 GMT: Terminate("result", "true") => 0
Tue, 01 Sep 2015 20:14:31 GMT: Moodle SCORM 1.3 API Loaded, Activity: test, SCO: Item0
Tue, 01 Sep 2015 20:14:32 GMT: Initialize("", "") => 0
Tue, 01 Sep 2015 20:14:32 GMT: GetValue("cmi.completion_status") - unknown => 0
Tue, 01 Sep 2015 20:14:38 GMT: SetValue("adl.nav.request", "continue") => 0
Tue, 01 Sep 2015 20:14:38 GMT: SetValue("cmi.completion_status", "completed") => 0
Tue, 01 Sep 2015 20:14:39 GMT: Terminate("AJAXResult", "true") => 0
Tue, 01 Sep 2015 20:14:39 GMT: Terminate("result", "true") => 0
Tue, 01 Sep 2015 20:14:39 GMT: Moodle SCORM 1.3 API Loaded, Activity: test, SCO: Item0
Tue, 01 Sep 2015 20:14:40 GMT: Initialize("", "") => 0
Tue, 01 Sep 2015 20:14:40 GMT: GetValue("cmi.completion_status") - unknown => 0
Tue, 01 Sep 2015 20:14:46 GMT: SetValue("adl.nav.request", "continue") => 0
Tue, 01 Sep 2015 20:14:46 GMT: SetValue("cmi.completion_status", "completed") => 0
Tue, 01 Sep 2015 20:14:46 GMT: Terminate("AJAXResult", "true") => 0
Tue, 01 Sep 2015 20:14:46 GMT: Terminate("result", "true") => 0
Tue, 01 Sep 2015 20:14:47 GMT: Moodle SCORM 1.3 API Loaded, Activity: test, SCO: Item1
Tue, 01 Sep 2015 20:14:48 GMT: Initialize("", "") => 0
Tue, 01 Sep 2015 20:14:48 GMT: GetValue("cmi.completion_status") - unknown => 0
Tue, 01 Sep 2015 20:14:56 GMT: SetValue("adl.nav.request", "continue") => 0
Tue, 01 Sep 2015 20:14:56 GMT: SetValue("cmi.completion_status", "completed") => 0
Tue, 01 Sep 2015 20:14:57 GMT: Terminate("AJAXResult", "true") => 0
Tue, 01 Sep 2015 20:14:57 GMT: Terminate("result", "true") => 0
Tue, 01 Sep 2015 20:14:57 GMT: Moodle SCORM 1.3 API Loaded, Activity: test, SCO: Item2
Tue, 01 Sep 2015 20:14:57 GMT: Initialize("", "") => 0
Tue, 01 Sep 2015 20:14:57 GMT: GetValue("cmi.completion_status") - unknown => 0
Tue, 01 Sep 2015 20:15:03 GMT: SetValue("adl.nav.request", "continue") => 0
Tue, 01 Sep 2015 20:15:03 GMT: SetValue("cmi.completion_status", "completed") => 0
Tue, 01 Sep 2015 20:15:03 GMT: Terminate("AJAXResult", "true") => 0
Tue, 01 Sep 2015 20:15:03 GMT: Terminate("result", "true") => 0
Tue, 01 Sep 2015 20:15:04 GMT: Moodle SCORM 1.3 API Loaded, Activity: test, SCO: Item3
Tue, 01 Sep 2015 20:15:05 GMT: Initialize("", "") => 0
Tue, 01 Sep 2015 20:15:05 GMT: GetValue("cmi.completion_status") - unknown => 0
Tue, 01 Sep 2015 20:15:13 GMT: SetValue("adl.nav.request", "continue") => 0
Tue, 01 Sep 2015 20:15:13 GMT: SetValue("cmi.completion_status", "completed") => 0
Tue, 01 Sep 2015 20:15:13 GMT: Terminate("AJAXResult", "true") => 0
Tue, 01 Sep 2015 20:15:13 GMT: Terminate("result", "true") => 0
Tue, 

SCORM Debug from M2.8.7

Tue, 01 Sep 2015 20:18:28 GMT: Moodle SCORM 1.3 API Loaded, Activity: Module 1: Scarcity, SCO: Item18
Tue, 01 Sep 2015 20:18:29 GMT: Initialize("", "") => 0 scoid = 2
Tue, 01 Sep 2015 20:18:29 GMT: GetValue("cmi.completion_status") - unknown => 0 scoid = 2
Tue, 01 Sep 2015 20:18:45 GMT: SetValue("adl.nav.request", "continue") => 0 scoid = 2
Tue, 01 Sep 2015 20:18:45 GMT: SetValue("cmi.completion_status", "completed") => 0 scoid = 2
Tue, 01 Sep 2015 20:18:45 GMT: Terminate("AJAXResult", "true") => 0 scoid = 2
Tue, 01 Sep 2015 20:18:45 GMT: Terminate("result", "true") => 0 scoid = 2
Tue, 01 Sep 2015 20:18:46 GMT: Initialize("", "") => 104 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: GetErrorString("104", "Content Instance Terminated") => 0 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: GetDiagnostic("", "") => 0 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: Initialize("", "") => 104 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: GetErrorString("104", "Content Instance Terminated") => 0 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: GetDiagnostic("", "") => 0 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: GetValue("cmi.completion_status") - => 123 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: GetErrorString("123", "Retrieve Data After Termination") => 0 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: GetDiagnostic("", "") => 0 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: Initialize("", "") => 104 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: GetErrorString("104", "Content Instance Terminated") => 0 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: GetDiagnostic("", "") => 0 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: SetValue("cmi.completion_status", "incomplete") => 133 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: GetErrorString("133", "Store Data After Termination") => 0 scoid = 3
Tue, 01 Sep 2015 20:18:46 GMT: GetDiagnostic("", "") => 0 scoid = 3
Tue, 01 Sep 2015 20:19:45 GMT: Commit("", "") => 143 scoid = 3

SCORM will not advance anymore.

Thank you in advance for your assistance.


Average of ratings: -
In reply to Jackie Toth

Re: SCORM 1.3 works in 2.2.11 but not 2.8.7

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

Here's the post that covers the status of SCORM 2004 in Moodle:

https://danmarsden.com/blog/2013/05/06/stopping-work-on-scorm-2004/


If you have funding to help pay for the time for someone to help you with your issues, feel free to get in touch privately.

In reply to Dan Marsden

Re: SCORM 1.3 works in 2.2.11 but not 2.8.7

by Jackie Toth -

Hi Dan,

Thank you for your quick response.  I have read that document but wanted to make sure nothing has changed since it was published.  I have seen some work being done via trackers, etc.

With your in-depth knowledge of both Moodle and SCORM, can you make any type of comment on why the SCORM modules worked in 2.2 and now do not in 2.8?

Thank you for all the work you do and support you provide.  It is truly appreciated.

In reply to Jackie Toth

Re: SCORM 1.3 works in 2.2.11 but not 2.8.7

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

No worries - I can't make any useful comment without looking closely at the package, code and debug log which unfortunately takes time. If you're able to pay for commercial support feel free to send me a private message and I can provide details on our rates.

Average of ratings: Useful (1)
In reply to Jackie Toth

Re: SCORM 1.3 works in 2.2.11 but not 2.8.7

by Adrián L Castillo Arjona -

Change  Initialize function in file  "mod/scorm/datamodels/scrom_13.js".

I did and work fine.


    function Initialize (param) {
        scoid = scorm_current_node ? scorm_current_node.scoid : scoid;
        initdatamodel(scoid);

        errorCode = "0";
        if (param == "") {
            // adrian.castillo@uma.es
            if (!Initialized) {
                Initialized = true;
                Terminated = false;
                errorCode = "0";
                if (scormdebugging) {
                    LogAPICall("Initialize", param, "", errorCode);
                }
                return "true";
            } else {
                    errorCode = "103";
            }
        } else {
            errorCode = "201";
        }
        if (scormdebugging) {
            LogAPICall("Initialize", param, "", errorCode);
        }
        return "false";
    }

In reply to Adrián L Castillo Arjona

Re: SCORM 1.3 works in 2.2.11 but not 2.8.7

by Jackie Toth -

Thank you so much for your post Adrian.  I was hoping that someone could help me out without having to pay for services.

Have a wonderful day!

Jackie

Average of ratings: Useful (1)
In reply to Adrián L Castillo Arjona

Re: SCORM 1.3 works in 2.2.11 but not 2.8.7

by Adrián L Castillo Arjona -

After changing the file, purge all cahes.


Log in as an administrator and go to: Settings > Site administration > Development > Purge all caches Click the “Purge all caches”

Average of ratings: Useful (1)