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

uploadusers.php returns "The uploaded file contains no valid data"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
    • Environment:
      CentOS 5.5 (2.6.35.4-x86_64) on VPS, PHP Version 5.2.10,

    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      When trying to upload users via csv, uploadusers.php returns:

      Upload users preview

      Number of preprocessed records: 0
      The uploaded file contains no valid data.

      This is with a csv file that has been properly formated or a csv file that has been dowloaded via the bulk user actions page. Occurs with both ASCII and UTF-8.

      Upload did work 1 time, however all subsequent attmepts have failed.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            skodak Petr Skoda added a comment -

            Hello, it works as expected for me. If the users were already uploaded the default action is to "Add only new, skip existing" which is expected to return 0 preprocessed records.

            Petr

            Show
            skodak Petr Skoda added a comment - Hello, it works as expected for me. If the users were already uploaded the default action is to "Add only new, skip existing" which is expected to return 0 preprocessed records. Petr
            Hide
            tim08 Tim Sanders added a comment -

            I am having this issue - I am unable to upload users.

            I had done it many times before and am using the same file formats. Then today it stopped working.

            Show
            tim08 Tim Sanders added a comment - I am having this issue - I am unable to upload users. I had done it many times before and am using the same file formats. Then today it stopped working.

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: