[eluser]Dave Nuttall[/eluser]
I wanted to take a good look at the "userauth" package, but have run into an error that probably just takes a small tweak, but as a new CI user, it's not clear where to make an adjustment.
The environment is Windows/XP with Apache2.2, MySql 5.x and PHP5.
The userauth package works perfectly on CI 1.5.4.
If I attempt to duplicate with CI 1.6, I get these four errors:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: CI_DB_mysql_driver::$char_set
Filename: database/DB_driver.php
Line Number: 198
A PHP Error was encountered
Severity: Notice
Message: Undefined property: CI_DB_mysql_driver::$dbcollat
Filename: database/DB_driver.php
Line Number: 198
A PHP Error was encountered
Severity: Notice
Message: Undefined property: CI_DB_mysql_driver::$char_set
Filename: database/DB_driver.php
Line Number: 200
A PHP Error was encountered
Severity: Notice
Message: Undefined property: CI_DB_mysql_driver::$char_set
Filename: database/DB_driver.php
Line Number: 204
- - - - -
Looking at the code in DB_driver.php, it looks like CI-1.6 doesn't get the character set from the database?
The database uses the InnoDB engine and the default collation is latin1_swedish_ci.
Thanks to anyone who understands all the pieces enough to prescribe a "fix"!!!