Moodle
  1. Moodle
  2. MDL-3443

SCORM module data folder not created

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:
      None
    • Environment:
      Windows XP
    • Rank:
      10863

      Description

      When upgrading from earlier versions, moodledata/2/moddata exist and gives no problem.

      When installing fresh with 1.5 the creation of a new SCORM import results in:

      Warning: rename(D:\kolberg\LMS\moodledata/2/moddata/scorm,D:\kolberg\LMS\moodledata/2/moddata/scorm/14) [function.rename]: No such file or directory in D:\kolberg\LMS\moodle\mod\scorm\lib.php on line 52

      Warning: fopen(D:\kolberg\LMS\moodledata/2/moddata/scorm/14/imsmanifest.xml) [function.fopen]: failed to open stream: No such file or directory in D:\kolberg\LMS\moodle\mod\scorm\lib.php on line 837

      could not open XML input

      The directory moodledata/2 exist, but not the subdirectory moddata.

      Suggestion: I guess the temporary directory has not been created when unzipping the Scorm package. Hence the rename warning. The other error is probably a result of the first. I guess PHP dont mind the backslash/slash mixup?

        Activity

        Hide
        Martin Dougiamas added a comment -

        From (kolberg at unik.no) Wednesday, 22 June 2005, 07:28 PM:

        The 1.4.5 implementation works great using the same moodledata directory though.

        Show
        Martin Dougiamas added a comment - From (kolberg at unik.no) Wednesday, 22 June 2005, 07:28 PM: The 1.4.5 implementation works great using the same moodledata directory though.
        Hide
        Michael Blake added a comment -

        assign to a valid user

        Show
        Michael Blake added a comment - assign to a valid user

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: