[PropelException]
Unable to execute UPDATE statement. [wrapped: Could not execute update [Native Error: 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 'ORDER = 1,RENTAL_ID = 1 WHERE picture.ID=1' at line 1] [User Info: UPDATE picture SET TITLE = 'zdz',TITLERU = 'zdzd',TITLEEN = 'dzz',TITLEES = 'dzzdz',PREVIEW = 'zdzd',FULL = 'zdzz',ORDER = 1,RENTAL_ID = 1 WHERE picture.ID=1]]
stack trace
* at ()
in SF_ROOT_DIR\lib\symfony\vendor\propel\util\BasePeer.php line 410 ...
407. if ($rs) $rs->close();
408. if ($stmt) $stmt->close();
409. Propel::log($e->getMessage(), Propel::LOG_ERR);
410. throw new PropelException("Unable to execute UPDATE statement.", $e);
411. }
412.
413. } // foreach table in the criteria