Forums | Mahara Community

Support /
CSV upload of users doesn't work


25 February 2015, 6:43

Hi,

we've been trying to upload users via CSV to Mahara Version 1.10 - It doesn't work. We keep getting  the message:

The field name "username;password;email;firstname;lastname" is invalid, or you have more fields than your header row specifies

 

This is the CSV file.:

username password email firstname lastname
jane changeme [email protected] Jane Doe
peter changeme1 [email protected] Peter Mustermann
anna changeme2 [email protected] Anna Musterfrau

I've also tried the file on demo.mahara.org - it doesn't work either. 

Any help is appreciated,

Cheers,

Ulrike

Ralf Hilgenstock's profile picture
Posts: 162

25 February 2015, 8:08

Hi Ulrike,

I took your data with a seperator and it worked well.

username,password,email,firstname,lastname
jane,changeme,[email protected],Jane,Doe
peter,changeme,[email protected],Peter,Mustermann
anna,changeme2,[email protected],Anna,Musterfrau

 

 

Ralf

25 February 2015, 9:40

Hi Ralf,

Thank you so much  for your fast reply. We used an excel-file, save it as csv - so the separators should have been added automatically. Works fine with Moodle. Is there a difference to Mahara?

Cheers,

Ulrike

Ralf Hilgenstock's profile picture
Posts: 162

25 February 2015, 19:29

Hi Ulrike,

csv means comma seperated values. You've created a tab seperated values file. Please select the seperatoor and encoding when creating the csv file from Excel.

Ralf

26 February 2015, 7:19

Hi Ralf,

We figured it out - just replaced the semi-colon by ",". Thanks anyway. See you next week at the MoodleMaharaMoot.

Cheers,

Ulrike

Kristina Hoeppner's profile picture
Posts: 4863

01 March 2015, 21:17

Hello Ulrike,

Currently, Mahara only allows commas as separators. From version 15.04 on, Mahara will auto-detect commas and semicolons thanks to Tobias. See https://bugs.launchpad.net/mahara/+bug/1393472 for more information.

Cheers

Kristina

 

01 March 2015, 22:24

Hello Kristina,

Thank you so much for the info. Looking forward to the next version. 

Cheers,

Ulrike

7 results