Welcome Guest, Not a member yet? Register   Sign In
Error Unable to De-Activate Account when registering a new user
#1

After updating to Ion-Auth 3, I'm getting the error
Code:
Unable to De-Activate Account
when trying to register a new user.

Here is the code I'm calling.

PHP Code:
$user_id $this->ion_auth->register($username$password$email$additional_data$group_ids);    
// $user_id returns false when doing a var_dump

// update the user requirements
if($user_id !== FALSE) {
 
 $this->session->set_flashdata('message',$this->ion_auth->messages()); // message confirming user was created 
 
 $this->requirements_model->update_user_requirements($this->input->post('requirements'), $user_id);

else {
 
 $this->session->set_flashdata('message'$this->ion_auth->errors());


Before I last updated (which was about two years ago) everything was working fine. I'm using email as the identity and I've followed the update guide in github.

What is causing that error? The message doesn't seem to be relevant. There are no users in the database with the email I'm trying to register.

Thanks.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB