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

Unable to locate API error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.4, 1.9
    • Fix Version/s: 1.8.7, 1.9.3, 2.0
    • Component/s: SCORM
    • Labels:
      None
    • Environment:
      Win2003 Server, IIS6, PHP5 and MySQL 4 (all latest stable versions)
      Moodle 1.8.2+ and 1.9 Beta
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      SCORM packages from vendors (Skillsoft, Mindleaders) load and launch fine initially. On subsequent launches, user receives a 'can't find API' message. We were able to make a temporary fix by changing line 40 in /scorm/api.php. We changed
      $userdata= $usertrack;
      to
      $userdata->status = ' ';
      $userdata->score_raw = ' ';

      This avoids the 'can't locate api' message. We think it's related to the scorm_get_tracks function in locallib.php around line 245.

      See forum discussion here: http://moodle.org/mod/forum/discuss.php?d=79212

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              piers Piers Harding
              Reporter:
              edugator95 Skip Marshall
              Tester:
              Dan Marsden
              Participants:
              Component watchers:
              Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Oct/08