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

Uploading a file, error message is confuse.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.7, 2.3.4, 2.4.1
    • Fix Version/s: 2.4.1
    • Component/s: Repositories
    • Labels:
      None
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE

      Description

      When a file is uploaded with Moodle restore course dialog (repository/repository_ajax.php) and the php.ini directive is lower than the actual file size, a error pop-up is shown:
      lang/en/repository.php:$string['errorpostmaxsize'] = 'The uploaded file may exceed max_post_size directive in php.ini.';

      The error message should be 'The uploaded file may exceed post_max_size directive in php.ini.'

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tsala Helen Foster
              Reporter:
              azuledu Eduardo Riesco
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jan/13