php oil console
Auth::create_user( 'bob', 'pass', 'bob@mail.com', 100);I receive the following error message:
I've looked at the docs for simpleauth and it's written that create_user should be used with the parameters that have been given. The 'users' table has been created using the code in the docs. Does anyone know why this problem is happening? Is the fact that I'm using windows creating the problem? ThanksError - SQLSTATE[HY000]: General error: 1364 Field 'last_login' doesn't have a d
efault value with query: "INSERT INTO `users` (`username`, `password`, `email`,
`group`, `profile_fields`, `created_at`) VALUES ('philsturgeon', 'NtgTF8q6Z9UyyU
wQS7Ma5Bvj+uTrK/F66iMji9su1XY=', 'phil@example.com', 100, 'a:0:{}', 1341765140)"
in COREPATH/classes/database/pdo/connection.php on line 167
It looks like you're new here. If you want to get involved, click one of these buttons!