Menu

#7 Cannot create user.

open
nobody
Admin (1)
5
2010-10-13
2010-10-13
Xtina
No

I followed the steps in the INSTALL file. Step 7 (the first one) has me create a new user. I get this:

Error in SQL : INSERT INTO person (idgroup, firstname, lastname, birthdate, title, note) VALUES (1, "Christina", "Schelin", "", "", "")

When I add the mysql_error() output, I get:

Incorrect date value: '' for column 'birthdate' at row 1

Might be worthwhile to change line 31 in the admin\createUser.php file to this, to get around that:

"VALUES ($idGroup, $firstname, $lastname, \"0000-00-00\", \"\", \"\")";

Discussion


Log in to post a comment.

MongoDB Logo MongoDB