Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]Ben Edmunds[/eluser]
malcomhfc,


It could be because I gave you the wrong v2 code Wink it should be:
Code:
$user = $this->ion_auth->user()->row();
if($this->comment_m->addWebsite(array('doWebsite' => $this->input->post('doWebsite'), 'doUser' => $user->id)))

If that doesn't work, please answer these questions:

1. What's on line 32?

2. Are you sure your logged in?

3. What do you get if you var_dump($user)?

4. What do you get if you do:
Code:
var_dump($this->ion_auth->current()->user()->row());


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 05-27-2011, 02:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB