Welcome Guest, Not a member yet? Register   Sign In
CI_session and Error Number: 1054 (Unknown column ...)

Hello, I have got problem with ci_session. When I am creating query with Active Record and I use session, it throws me Error Number: 1054.
It is caused by Session.php . I am using database session and when it executes sess_write(), then it throws error.

Can I create new instance of $this->db ?
Error is at line no. 289 in Session.php
$this->CI->db->update($this->sess_table_name, array('last_activity' => $this->userdata['last_activity'], 'user_data' => $custom_userdata));

In this place is set $this->CI->db->order_by('something'), from my code, before I call $this->session..

Sorry for my English Wink

Theme © iAndrew 2016 - Forum software by © MyBB