Store row failed on update of record

Status
Not open for further replies.

maleman

Member
I am receiving this error when I try to update a record from a form:

Store row failed:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 SQL=UPDATE `fab_time` SET `date_time`='2011-12-31 01:39:00',`workorder`='23',`start`='2012-05-16 03:14:00',`end`='',`hours`='0.00',`billable`='[\"True\"]',`billed`='No',`core_change`='No',`desc`='Continue working on builder home pages. Testing...
' WHERE

However, if I choose to "Save as a copy" it works fine!

Fabrik 3.0.5.2
Joomla! 2.5.4
PHP 5.2.17
MySQL 5.5.21-55

Thanks in advance for your help!
 
The interessing part of the error message is missing (WHERE...)
Save as a copy does an INSERT.
Looking at your column names I can't see an ID.

Did you set a primary key for your list?
If fab_time is a table created by fabrik - did you unpublish or delete the id element?
 
Here are the settings that I currently have for the table. Also, I was able to get more the SQL error.

(see attachments)

Thanks for your help!
 

Attachments

  • 4.png
    4.png
    131.4 KB · Views: 214
  • 1.png
    1.png
    160.8 KB · Views: 206
  • 2.png
    2.png
    106.6 KB · Views: 215
  • 3.png
    3.png
    125.1 KB · Views: 211
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top