Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-24735

SCORM package: PHP errors on creating activity / updating settings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: SCORM
    • Labels:
      None
    • Environment:
      PHP Version 5.3.2
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Using SCORM 1.2 test package from:

      http://www.adlnet.gov/Technologies/scorm/SCORMSDocuments/Previous%20Versions/SCORM%201.2/SCORMContentPackageExamples.zip

      Get the following errors on creating + saving activity and on updating activity:

      [18-Oct-2010 14:15:21] PHP Stack trace:
      [18-Oct-2010 14:15:21] PHP 1.

      {main}() /fs2/www/html/jp5987/moodle2pub/course/modedit.php:0
      [18-Oct-2010 14:15:21] PHP 2. scorm_update_instance() /fs2/www/html/jp5987/moodle2pub/course/modedit.php:331
      [18-Oct-2010 14:15:21] PHP 3. scorm_parse() /fs2/www/html/jp5987/moodle2pub/mod/scorm/lib.php:203
      [18-Oct-2010 14:15:21] PHP 4. scorm_parse_scorm() /fs2/www/html/jp5987/moodle2pub/mod/scorm/locallib.php:221
      [18-Oct-2010 14:15:21] PHP 5. scorm_get_manifest() /fs2/www/html/jp5987/moodle2pub/mod/scorm/datamodels/scormlib.php:481
      [18-Oct-2010 14:15:21] PHP 6. scorm_get_manifest() /fs2/www/html/jp5987/moodle2pub/mod/scorm/datamodels/scormlib.php:50
      [18-Oct-2010 14:15:21] PHP Notice: Undefined property: stdClass::$elements in /fs2/www/html/jp5987/moodle2pub/mod/scorm/datamodels/scormlib.php on line 51
      [18-Oct-2010 14:15:21] PHP Stack trace:
      [18-Oct-2010 14:15:21] PHP 1. {main}

      () /fs2/www/html/jp5987/moodle2pub/course/modedit.php:0
      [18-Oct-2010 14:15:21] PHP 2. scorm_update_instance() /fs2/www/html/jp5987/moodle2pub/course/modedit.php:331
      [18-Oct-2010 14:15:21] PHP 3. scorm_parse() /fs2/www/html/jp5987/moodle2pub/mod/scorm/lib.php:203
      [18-Oct-2010 14:15:21] PHP 4. scorm_parse_scorm() /fs2/www/html/jp5987/moodle2pub/mod/scorm/locallib.php:221
      [18-Oct-2010 14:15:21] PHP 5. scorm_get_manifest() /fs2/www/html/jp5987/moodle2pub/mod/scorm/datamodels/scormlib.php:481
      [18-Oct-2010 14:48:26] PHP Notice: Undefined index: children in /fs2/www/html/jp5987/moodle2pub/mod/scorm/datamodels/scormlib.php on line 69

        Attachments

          Activity

            People

            • Assignee:
              danmarsden Dan Marsden
              Reporter:
              jp76 Jason Platts
              Tester:
              Nobody
              Participants:
              Component watchers:
              Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10