bulk upload error

bulk upload error

by jobe jobe -
Number of replies: 3

I'd be grateful if I could get some direction on the bulk upload with the 'Error occur during loading CSV file!'

Here is an example of the file:

username, new required password, first name, surname, email address, city/town, select a country amy_p,Pilot_1!,Amy,Patrick,amy@yahoo.co.uk,aaaa,United Kingdom anna_b,Pilot_2!,Ann,Bald,anna@googlemail.com,aaaa,United Kingdom

Thanks.

Average of ratings: -
In reply to jobe jobe

Re: bulk upload error

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Here in the docs is an example of valid file fields - try changing yours to these:

http://docs.moodle.org/20/en/Upload_users#Valid_upload_file_for_testing

In reply to Mary Cooch

Re: bulk upload error

by jobe jobe -

Thanks Mary.

In reply to jobe jobe

Re: bulk upload error

by Vijay N -

Hi Mary,

I recently changed the fields in the user fields from mandatory to optional. I did this by commenting out the values of addrulefor firstname, lastname, city and country - only left username, password and email address as mandatory. Although I did not have a problem adding new users to the account, when trying bulk upload users I came across error messages for each user account. It showed "Error" under firstname and lastname. So I am not sure where else do I need comment out the addrule . I realise your a teacher but I was wondering if som one had already brought this issue up before and if a solution was brought up. If it hasn't then  I am hoping that some one from the community replies back to this post.....smile

 

Thank you i advance

 

V.