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

invalid use of root_path in filesystem/lib.php send_relative_file()

    XMLWordPrintable

Details

    • MOODLE_26_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • master_MDL-43192
    • Hide

      set up a file system repository
      Add an extracted SCORM package to this repository
      Add a new SCORM to a course and select the imsmanifest.xml file from within the extracted SCORM package (make sure you select the option to make it an alias/shortcut (not a copy) - if alias is not selected when saving the SCORM page it should throw an error to say imsmanifest.xml is only supported when using an alias.

      Enter the SCORM and make sure all resources/images/files load as expected.

      more docs (screenshots) of this are available here:
      http://danmarsden.com/blog/2013/09/24/managing-scorm-content-in-moodle-2-6/

      Show
      set up a file system repository Add an extracted SCORM package to this repository Add a new SCORM to a course and select the imsmanifest.xml file from within the extracted SCORM package (make sure you select the option to make it an alias/shortcut (not a copy) - if alias is not selected when saving the SCORM page it should throw an error to say imsmanifest.xml is only supported when using an alias. Enter the SCORM and make sure all resources/images/files load as expected. more docs (screenshots) of this are available here: http://danmarsden.com/blog/2013/09/24/managing-scorm-content-in-moodle-2-6/

    Description

      MDL-41807 patch didn't change the old uses of root_path to get_rootpath in send_relative_file() - hopefully just changing it to use the new function will allow it to work again.

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              danmarsden Dan Marsden
              Frédéric Massart Frédéric Massart
              Marina Glancy Marina Glancy
              Andrew Lyons Andrew Lyons
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Jan/14