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

[eluser]haseydesign[/eluser]
I may 'possibly' have found the issue that you are having.

Since you say you are not using any custom user data tables, have you by any chance deleted all references to custom users tables in the config file (As you should).
For example, do you have any config setting defined similar to the following:
Code:
$config['database']['custom']['YOUR_CUSTOM_TABLE']['table'] = 'custom_table';

Without any reference to a custom table, there was a bug in the library that would throw an error warning.

I have since tweaked the lite model to fix this warning appearing.
You can get this update from the Github repo, or just change line 86 in flexi_auth_lite_model.php
to the following:
Code:
$this->auth->tbl_custom_data = (! empty($this->auth->auth_database['custom'])) ? $this->auth->auth_database['custom'] : array();

If this doesn't fix your problem, then can you confirm you have structured your '$profile_data' argument that is being passed to the 'insert_user()' function is similar to as follows:
Code:
$profile_data = array(
    'first_name' => 'first name value',
    'last_name' => 'last name value',
    'company' => 'company value',
    'phone' => 'phone value',
    'usertype_id' => 101,
    'avatar' => 'avatar value'
);


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



Theme © iAndrew 2016 - Forum software by © MyBB