Welcome Guest, Not a member yet? Register   Sign In
Community Auth - a database error when logging in
#14

(05-22-2017, 10:08 AM)arie55 Wrote:
(05-22-2017, 07:49 AM)skunkbad Wrote: What is your session config look like? Have you set base_url in config/config? Did you properly set up your encryption key?

Thanks for your reply !

My session config :
PHP Code:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = sys_get_temp_dir();
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE

base_url is set (I use it with the url helper) and the encryption key is set like this : 
PHP Code:
$config['encryption_key'] = hex2bin('8ef3f3cf7643c5d5a29e307c0c1714f4'); 
 Instead of
Code:
sys_get_temp_dir()
Try to hard code in the path. For whatever reason, I've seen where this function did not work.

You need to prove that regular CI sessions are working, because if they are you wouldn't have this problem.
Reply


Messages In This Thread
RE: Community Auth - a database error when logging in - by skunkbad - 05-22-2017, 01:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB