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

SCORM issues after Backup and Restore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.5.3
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:
      None
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      Two instances of same Moodle code (Moodle 2.5.3+ (Build: 20131129)).
      A course has several SCORM activities (Made with Storyline).
      When backing up from one server to the 2nd, these SCORMs don't open.
      Moreover, even after replacing the SCORM zip file they do not work.
      Servers are running IIS and MSSQL.

      With debug on this notice shows:

      Notice: Undefined offset: 0 in C:\inetpub\wwwroot\mod\scorm\locallib.php on line 1541 Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\mod\scorm\locallib.php on line 1541 Notice: Undefined offset: 0 in C:\inetpub\wwwroot\mod\scorm\locallib.php on line 1568 Warning: array_keys() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\mod\scorm\locallib.php on line 1568 Notice: Undefined offset: 0 in C:\inetpub\wwwroot\mod\scorm\locallib.php on line 1569 Notice: Undefined variable: usertracks in C:\inetpub\wwwroot\mod\scorm\locallib.php on line 1497 Notice: Trying to get property of non-object in C:\inetpub\wwwroot\mod\scorm\locallib.php on line 1772 Notice: Trying to get property of non-object in C:\inetpub\wwwroot\mod\scorm\locallib.php on line 1785

      A Google search showed me exactly this error is happening on other sites, e.g.:
      http://training.moodle.com.hk/mod/scorm/view.php?id=10021

      http://moodleshare.org/mod/scorm/view.php?id=6838

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                danmarsden Dan Marsden
                Reporter:
                amirelion Amir Elion
                Participants:
                Component watchers:
                Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: