Welcome Guest, Not a member yet? Register   Sign In
Community Auth - Database Error
#1

Let me say first that I think there is alot of potential for this addon. However after creating the user you can't login by going to examples/index. Instead you get the following error message:

A Database Error Occurred
Error Number: 1048
Column 'id' cannot be null
INSERT INTO `auth_sessions` (`id`, `user_id`, `login_time`, `ip_address`, `user_agent`) VALUES (NULL, '196742049', '2017-05-21 23:32:40', '::1', 'Chrome 58.0. on Windows 10')
Filename: C:/wamp64/www/auth/system/database/DB_driver.php
Line Number: 691


To me it seems that its trying to insert NULL in the id field of the auth_sessions table and NULL can not be there.

(database fields)
 id             user_id             login_time                          ip_address                user_agent
-----------------------------------------------------------------------------------------
NULL         196742049        2017-05-21 23:32:40           ::1                          Chrome 58.0. on Windows 10
Reply


Messages In This Thread
Community Auth - Database Error - by kwat3173 - 05-21-2017, 05:04 PM
RE: Community Auth - Database Error - by skunkbad - 05-22-2017, 07:50 AM
RE: Community Auth - Database Error - by kwat3173 - 05-22-2017, 11:27 AM
RE: Community Auth - Database Error - by skunkbad - 05-22-2017, 01:28 PM
RE: Community Auth - Database Error - by kwat3173 - 05-22-2017, 05:19 PM
RE: Community Auth - Database Error - by skunkbad - 05-22-2017, 05:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB