DB Insert Problem: Unknown Column - Column never referenced in code

#5
[eluser]mddd[/eluser]
I can't believe there is caching going on between requests. I think the problem must be somewhere in the code of the Controller, Model or maybe in their constructors?

To check, you could write
Code:
$this->db->_reset_select();
$this->db->_reset_write();
at the top of your convertStock method.
These commands will clear CI's internal query building.
So if there was some loose, unfinished query, it should be cleaned up by this.

edit:
You found the problem already. Well done.


Messages In This Thread
DB Insert Problem: Unknown Column - Column never referenced in code - by El Forum - 04-26-2010, 06:02 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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