Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Incorrect Autoinsert of created_date and created_user
Re: Incorrect Autoinsert of created_date and created_user [message #2193 is a reply to message #2192] Wed, 08 July 2009 03:44 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
When you are using a table class it is absolutely imperative that the contents of $this->fieldspec correctly reflects the structure of the database table. The error you are seeing is because $this->fieldspec identifies a field which does not exist in the table, hence the SQL statement which is constructed will fail.

When you change the structure of any database table you *must* import the changed structure into the data dictionary, then export it to your application to rebuild the <table>.dict.inc file.

You say that this is a temporary table without any of those columns, so where did the contents of $this->fieldspec come from? If you modified $this->fieldspec to correspond with the table structure this error would not appear.


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Small bug in include.xml.php5.inc
Next Topic: New Hosting Account Bug
Goto Forum:
  


Current Time: Wed Apr 24 17:40:25 EDT 2024

Total time taken to generate the page: 0.00921 seconds