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

Use of deprecated functionality in course publishing

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisites

      • PHP 5.5
      • PHP 5.4
      • Your own Moodle HUB

      Test

      I am not sure when exactly we are pushing files to other servers, but if you know better, you might test using a simpler procedure

      1. Register with your Hub
      2. Create a course
      3. Publish it as "Share this course for people to download"
      4. Make sure the course was published successfully
      5. Repeat with the other version of PHP.

      Useful

      Show
      Prerequisites PHP 5.5 PHP 5.4 Your own Moodle HUB Test I am not sure when exactly we are pushing files to other servers, but if you know better, you might test using a simpler procedure Register with your Hub Create a course Publish it as "Share this course for people to download" Make sure the course was published successfully Repeat with the other version of PHP. Useful http://docs.moodle.org/22/en/Hub_administration Set $CFG->extendedusernamechars to True in the HUB
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-45081-master

      Description

      With debugging enabled, when publishing a course you get:

      Please wait the course file is uploading (0.04Mb)...
       
      Deprecated: curl_setopt(): The usage of the @filename API for file uploading is deprecated. Please use the CURLFile class instead in /private/srv/www/loganberry.local/data/im/moodle/lib/filelib.php on line 3218
      ...finished
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fred Frédéric Massart
                Reporter:
                dobedobedoh Andrew Nicols
                Peer reviewer:
                Eloy Lafuente (stronk7)
                Integrator:
                Marina Glancy
                Tester:
                Marina Glancy
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Matteo Scaramuccia, Jake Dallimore, Jun Pataleta
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/May/14