[eluser]woeps[/eluser]
I have tracked down my error producing this message when using the username_check-method:
[quote author="woeps" date="1290599108"]A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `username` = 'administrator'' at line 2
SELECT COUNT(*) AS `numrows` WHERE `username` = 'administrator'
[/quote]
Just in case another one will make the same dumb mistake (it took me days to track it down) I want to share my experience:
I put the ion_auth-config file into the autoload-array (don't do this! xD)
Becaus of this fact the config-file couldn't get loaded into a seperate config-array (via $this->ci->load->config('ion_auth', TRUE) ) which is expected by the ion_auth-controller & model.
Now everything works perfect again!
(This is a great library! Thanks!)