xml - Unserialize Error PHP -


can me error bother me. everytime login display erros. works fine in pc when deployed in server production not working way use be.

once put wrong password , username works fine , display invalid username , password when enter correct account time display errors.

here code:

function login_post() {     $valid = parent::_check_login($this->post('username'), $this->post('password'));      $status = 401;      if ($valid) {         $this->load->model('users_model');                   $user = $this->users_model->get_by_login($this->post('username'), $this->post('password'));          if (!$user) {             $status = 401;         } else {             $status = 200;             $key    = $this->_generate_key($user['user_id']);             $valid  = array('key' => $key);         }     }      $this->response($valid, $status, 'xml'); } 

here error

a php error encountered  severity: warning message: unserialize() [function.unserialize]: node no longer exists filename: drivers/cache_file.php line number: 61  php error encountered  severity: warning message: unserialize() [function.unserialize]: node no longer exists filename: drivers/cache_file.php line number: 61 


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -