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

Unable to locate API error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.4, 1.9
    • 1.8.7, 1.9.3, 2.0
    • SCORM
    • None
    • Win2003 Server, IIS6, PHP5 and MySQL 4 (all latest stable versions)
      Moodle 1.8.2+ and 1.9 Beta
    • MySQL
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • 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

              piers Piers Harding
              edugator95 Skip Marshall
              Dan Marsden Dan Marsden
              Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Oct/08