moodle 1.6 : parse error in datamodel.php

moodle 1.6 : parse error in datamodel.php

by Arnault Branche -
Number of replies: 1
Hello,

The SCORM 1.2 package I used was running perfectly on moodle 1.5. So I tried to use it in the latest Moodle 1.6 (downloaded today). My function of SCORM error detection return me this error :


Erreur API SCORM : undefined

Diagnostic : <b>Parse error</b> : parse error in <b>D:\dev\moodle-latest\moodle\mod\scorm\datamodel.php</b> on line <b>38</b><br />

Do ytou think it is due to my SCO javascript functions or to an error in datamodel.php ?
Average of ratings: -
In reply to Arnault Branche

Re: moodle 1.6 : parse error in datamodel.php

by Arnault Branche -
Apparently, the LMSCommit function in the file SCORM1_2.js.php won't work with my data.
I can detect 1.2 API, initialize, load data, and quit. But not save data.