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

Error while viewing SCORM activity to appear in a popup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 2.7.1
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      While testing MDL-35870, Andrew Davis spotted following:

      MDLQA-5248. If I set the activity to open in the same window it works fine. If I set the activity to appear in a popup I get a JS dialogue plus occasionally a PHP error. The PHP flashes up very briefly. It may always be happening but it happens so fast its only sometimes visible.
      The PHP error is...
      Could not find SCO
      More information about this error
      Debug info:
      Error code: cannotfindsco
      Stack trace:
      line 463 of /lib/setuplib.php: moodle_exception thrown
      line 154 of /mod/scorm/datamodels/scorm_12lib.php: call to print_error()
      line 21 of /mod/scorm/datamodels/scorm_12.php: call to get_scorm_default()
      line 258 of /mod/scorm/player.php: call to include_once()
      The JS dialogue says...
      Unable to locate the LMS's API Implementation.
      LMSInitialize was not successful.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rajeshtaneja Rajesh Taneja
                Participants:
                Component watchers:
                Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: