Welcome Guest, Not a member yet? Register   Sign In
flexi auth - A user authentication library for CodeIgniter
#55

[eluser]haseydesign[/eluser]
@PyroDev

This error seems to be related to the CodeIgniter database config (application/config/database.php):
Code:
$db['default']['stricton'] = TRUE;

If this is defined as TRUE, then I also get the same errors as yourself.

If you were to update the database table 'user_login_sessions' with the following sql statement it would fix this particular error message.
Code:
ALTER TABLE `user_login_sessions`
MODIFY COLUMN `usess_series`  varchar(40) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '' AFTER `usess_uacc_fk`;

However, you will then receive other errors for other table columns that also do not have a default value defined.

So your options are, either update your CI database config as follows:
Code:
$db['default']['stricton'] = FALSE;

Or alternatively, you will need to go through all of the libraries database tables and define default values for each column.

Hope that helps.


Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 10-10-2012, 02:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB