• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database being updated 3 times error - Help :o(

#1
[eluser]Unknown[/eluser]
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?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.