Welcome Guest, Not a member yet? Register   Sign In
Model method not inserting data but gets called successfully
#2

If you set up a test on $this->ion_auth_model->update($id, $data) does it work?

I would suspect that if your IF statement is being parsed as TRUE then something other than FALSE is being returned, perhaps an error message? Is your $data constructed with the right information?

My first approach would be to validate the $data field, if that was as you intended it to be, is it what ion_auth expected (check the docs) or check the call works by itself. The fact that $this->ion_auth_model->changepassword is working does not say anything about your $this->ion_auth_model->update method.

Hope you get it fixed,

Best wishes,

Paul.
Reply


Messages In This Thread
RE: Model method not inserting data but gets called successfully - by PaulD - 09-15-2015, 04:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB