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

Use of deprecated functionality in course publishing

    XMLWordPrintable

Details

    • MOODLE_27_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-45081-master
    • 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

    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

              fred Frédéric Massart
              dobedobedoh Andrew Lyons
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Marina Glancy Marina Glancy
              Marina Glancy Marina Glancy
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14