Monday 05 May 2008 5:10:12 am
Hi there,
I'm having trouble with a PHP script that used to work for around 6 months. I'm using EZP 3.9.2.
This cronjob reads XML file, and puts its content in the database. For injecting content to my new object/updated object, i'm using many lines like :
$contentObjectAttributes['title']->setAttribute( 'data_text', $title );
$contentObjectAttributes['title']->store();
It all works correctly, but when i'm trying to publish my new object with :
include_once('lib/ezutils/classes/ezoperationhandler.php');
$operationResult = eZOperationHandler::execute('content', 'publish', array( 'object_id' => $object->attribute( 'id' ), 'version' => $object->attribute('current_version' ) ) );
i am having a <i>"Fatal error: A database transaction in eZ publish failed."</i>
Does someone had the same problem ? Can someone help me ? Does this error has nothing to do with SQL mode STRICT_TRANS_TABLE ? Many thanks in advance.
|