Welcome Guest, Not a member yet? Register   Sign In
ion auth with CI2.x
#1
Sad 
(This post was last modified: 04-12-2018, 07:44 AM by ciadmin.)

i  setup code locally from server but when i am trying to login ,welcome  page appears for micro seconds only due to session timeout .
the token and user have been verified for existence in the DB. The code is crashing as soon as it hits query under ion auth function.
Reply
#2

You might want to move to CI 3.1.8, PHP 7.0 and the latest Ion Auth release.
Reply
#3

(04-12-2018, 09:40 AM)BABYpanda Wrote: You might want to move to CI 3.1.8, PHP 7.0 and the latest Ion Auth release.
this is the code :
$this->db->select('column name');
$this->db->from('oc_access_token');
$this->db->where('token',$access_token);
$this->db->where('atuser_id',$user_id);
$query = $this->db->get();
$result = $query->row();

the data(user id  and acess token) exiost in db but result is always null can you help me why result is null
Reply




Theme © iAndrew 2016 - Forum software by © MyBB