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

get_file_upload_error() is missing 3 PHP error codes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.7, 1.9.3
    • 1.9.1
    • Files API
    • None
    • MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      The get_file_upload_error() function is missing the following error codes:

      UPLOAD_ERR_NO_TMP_DIR => 'Missing a temporary folder.',
      UPLOAD_ERR_CANT_WRITE => 'Failed to write file to disk.',
      UPLOAD_ERR_EXTENSION => 'File upload stopped by extension.',

      (see http://www.php.net/manual/en/features.file-upload.errors.php)

            francois Francois Marier
            francois Francois Marier
            Petr Skoda Petr Skoda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.