Moodle
  1. Moodle
  2. MDL-25614

Upload users function does not work for groups or multiple courses

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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
    • Rank:
      15660

      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.

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

        Activity

        Hide
        Petr Škoda added a comment -

        Should be fixed now, please test.
        Thanks for the report.

        Petr

        Show
        Petr Škoda added a comment - Should be fixed now, please test. Thanks for the report. Petr

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: