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

Upload users function does not work for groups or multiple courses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: Administration
    • Labels:
      None
    • Environment:
      LAMP, Moodle 2.0 stable
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Unable to use 'upload users' function to successfully create user accounts AND add users to multiple courses and/or groups. Sample .csv files attached. Debug msg rcvd upon upload of file 1 as follows.

      Fatal error: Call to undefined function groups_create_group() in /pathtomoodle/admin/uploaduser.php on line 755

      To replicate:

      1. Login as admin
      2. Settings block > Users > Accounts > User uploads
      3. Step through wizard.

        Attachments

        1. user-upload-3.csv
          0.2 kB
        2. user-upload-2.csv
          0.2 kB
        3. user-upload-1.csv
          0.2 kB

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            chadsta Chad Outten
            Tester:
            Nobody
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Dec/10