(05-21-2017, 10:44 AM)arie55 Wrote: I have installed Community Auth with CodeIgniter 3.1.4 and I got the same error : Quote:Column 'id' cannot be null [...] Filename: third_party/community_auth/models/Auth_model.php Line Number: 90 After reading this thread, I checked my CI session configuration (it was OK) and then, I started to debug. It seems that after this line (libraries/Authentication.php:693 PHP Code:$session_id = $this->CI->session->sess_regenerate( config_item('sess_regenerate_destroy') ); the value of $session_id is null. But, if I replace this line by : PHP Code:$this->CI->session->sess_regenerate( config_item('sess_regenerate_destroy') );$session_id = $this->CI->session->session_id; everything is working well. Do you have any idea why I get this error ?
Quote:Column 'id' cannot be null [...] Filename: third_party/community_auth/models/Auth_model.php Line Number: 90
$session_id = $this->CI->session->sess_regenerate( config_item('sess_regenerate_destroy') );
$this->CI->session->sess_regenerate( config_item('sess_regenerate_destroy') );$session_id = $this->CI->session->session_id;