Username is not Valid

12 years 11 months ago #160108 by MrGix
Username is not Valid was created by MrGix
I'm trying to import users by using CBJUICE2

But i'm getting this message:

CB Version =1.4
CBJ2_HEADER_VARIABLES are
Array ( [0] => username [1] => firstname [2] => lastname [3] => password [4] => email [5] => cb_afdeling [6] => cb_functie )

username is not valid

Terminating because of undefined header variables

The file looks like this:

username;firstname;lastname;password;email;cb_afdeling;cb_functie
"0002";"firstname1";"lastname1";"87d7f56b4bec43abc1fdd21b3be2eb44";"";"Technische Zaken";"Ass. man. TZ Afd. Groen- en Schoonmaakdienst"
"0003";"firstname2";"lastname2";"87d7f56b4bec43abc1fdd21b3be2eb44";"";"Technische Zaken";"Manager Technische Zaken"

The file is saved as a UTF-8 csv file>

Anybody a idea?

Please Log in to join the conversation.

12 years 11 months ago #160120 by jciconsult
Replied by jciconsult on topic Re: Username is not Valid
There is a bad character in front of username on the first line.
In the message that came through on my berry, it was obvious.
?username is not valid

Please post only in one forum. We follow both forums.

Please Log in to join the conversation.

12 years 11 months ago #160123 by MrGix
Replied by MrGix on topic Re: Username is not Valid
Thank you that did the job. Have used ultraedit to see the hidden character. Didn't see it in Notepad++

Sorry for the dubbel post. The other post was more like if this wouldn't work what is a other solution to get it working.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.615 seconds

Facebook Twitter LinkedIn