A database transaction in eZ Publish failed.

Author Message

Luca DallOlio

Tuesday 03 August 2010 6:13:24 am

Hi,

I am getting the following error while trying to remove a content object (made out of a custom class containing xml attributes) from the administrator interface :

Fatal error: A database transaction in eZ Publish failed.
The current execution was stopped to prevent further problems.
You should contact the System Administrator of this site with the information on this page.
The current transaction ID is TRANSID-3da97ba0730a3ef4767dd2966469be3b and has been logged.
Please include the transaction ID and the current URL when contacting the system administrator.

My installation is as follows :

Ubuntu 10.4

ezPublish 4.3.0

Mysql 5.1.41 (all ezpublish tables are innodb)

ezpublish mysql user has full privileges

I have executed SET @@global.sql_mode= ''; but nothing changes... even restarted mysql with no success, here is /var/log/mysql/error.log :

100803 14:35:45 [Note] /usr/sbin/mysqld: Normal shutdown
100803 14:35:45 [Note] Event Scheduler: Purging the queue. 0 events
100803 14:35:45 InnoDB: Starting shutdown...
100803 14:35:48 InnoDB: Shutdown completed; log sequence number 0 22718363
100803 14:35:48 [Note] /usr/sbin/mysqld: Shutdown complete
100803 14:35:49 [Note] Plugin 'FEDERATED' is disabled.
100803 14:35:49 InnoDB: Started; log sequence number 0 22718363
100803 14:35:49 [Note] Event Scheduler: Loaded 0 events
100803 14:35:49 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.41-3ubuntu12.3' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu)

Thank you in advance for any information or ideas,

Best Regards,

Luca

André R.

Tuesday 03 August 2010 1:28:34 pm

Could you see in var/log/error.log to see if there is any related query errors there that might cause this? (then you'll see the query so it's easier to pinpoint the source)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:01:08
Script start
Timing: Jan 18 2025 05:01:08
Module start 'layout'
Timing: Jan 18 2025 05:01:08
Module start 'content'
Timing: Jan 18 2025 05:01:10
Module end 'content'
Timing: Jan 18 2025 05:01:10
Script end

Main resources:

Total runtime1.1600 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 588.1641152.6563
Module start 'layout' 0.00820.0075 740.820339.5078
Module start 'content' 0.01571.1427 780.3281531.2266
Module end 'content' 1.15850.0015 1,311.554712.1094
Script end 1.1600  1,323.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2772160.0002
Check MTime0.00140.1190160.0001
Mysql Total
Database connection0.00280.237710.0028
Mysqli_queries1.103995.1604540.0204
Looping result0.00060.0498520.0000
Template Total1.105395.320.5527
Template load0.00210.177120.0010
Template processing1.103395.106920.5516
Template load and register function0.00020.015810.0002
states
state_id_array0.00150.132410.0015
state_identifier_array0.00200.171020.0010
Override
Cache load0.00170.1502340.0001
Sytem overhead
Fetch class attribute can translate value0.00040.035120.0002
Fetch class attribute name0.00180.157330.0006
XML
Image XML parsing0.00070.061420.0004
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00070.0624170.0000
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs