Moodle 2.4.1 - User upload fails

Moodle 2.4.1 - User upload fails

by Urs Giezendanner -
Number of replies: 4

Hi 

I have upgraded 2 of my moodles to 2.4.1+ (Build: 20130131) and same in 2.4.1+ (Build: 20130208))

Now, when I try to upload a users list ("Upload users") it fails saying: "password" is not a valid field name...

and:

Debug info: 
Error code: invalidfieldname

Stack trace:
  • line 467 of /lib/setuplib.php: moodle_exception thrown
  • line 206 of /admin/tool/uploaduser/locallib.php: call to print_error()
  • line 126 of /admin/tool/uploaduser/index.php: call to uu_validate_user_upload_columns()

The same file works fine in Moodle 2.3.3+ (Build: 20121220).

Thanks for Help...

Urs

Average of ratings: -
In reply to Urs Giezendanner

Re: Moodle 2.4.1 - User upload fails

by Urs Giezendanner -

Am I the only moodle admin having this problem? 

Or isn't it possible anymore to upload users by this methode? (User Upload)

Please give me a sign if it works in your 2.4.1 Moodles...

Regards

Urs

In reply to Urs Giezendanner

Re: Moodle 2.4.1 - User upload fails

by Urs Giezendanner -

OK, i get the error...

In the older versions i can put this into the csv:

username, password, firstname,....

In 2.4.1 it must be:

username,password,firstname,....

without the spaces...

In reply to Urs Giezendanner

Re: Moodle 2.4.1 - User upload fails

by Ashutosh Taunk -

Hi Urs,

You are right, even I have been experiencing the same issue from lat 2 days and then found you out here.

What do you mean by no space, will excel csv work in moodle 2.4 or not. And how to feed in the details in notepad csv format.

I am using the following CSV attached herein this reply. Can I use the attached file to upload the users in bullk.

In reply to Ashutosh Taunk

Re: Moodle 2.4.1 - User upload fails

by Ashutosh Taunk -

Hi Urs,

Managed to upload now! Open excel csv with delinated value. I used password column also this time.

 

Thanks smile