Welcome Guest, Not a member yet? Register   Sign In
Database being updated 3 times error - Help :o(

Hi all,

I'm an experiencing an issue where by a controller method I'm running is somehow calling one of the database updates 3 times instead of once, thereby reducing the balance of a field e times what is should be.

I have stepped through every line of the method and the model calls it makes to debug; and it works as it should do at every step. But when I run it in its totality through to the end it appears to have executed 3 times. Always exactly 3 no-matter what test data I use.

It feels almost as if the method is called a second and third time once it has completed once; but there are no loops within it to do so.

I read somewhere on here that the codeigniter controller method might be reloaded if there is a missing css file?

Can anyone put me out of misery?

Theme © iAndrew 2016 - Forum software by © MyBB