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

[eluser]Klausch[/eluser]
Hi,

I was exactly thinking in that direction. Indeed I have no references to custom tables in the config file. And I had already commented out line 86 of the flexi_auth_lite_model.php so was close to the solution Smile

I just did run a first test and it appears the problem is solved! Also the extra custom fields are added correctly to the user_account table.
There remains one warning/error message:

Code:
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: row_id
Filename: models/flexi_auth_model.php
Line Number: 420

And this confirms my idea that the return value $row_id of the function insert_custom_user_data(...) is meaningless, this function loops over zero or ore custom tables, so each of these tables will have a separate insert id. So return the insert id is not possible and in this case, raises a warning because no custom tables exist.

Code:
return $row_id;  (line 420)

But I have set some more steps towards a working system, thanks for you help again and I will keep you posted!


Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 09-27-2012, 07:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB