A database transaction error after send for publishing

Author Message

Softriva .com

Monday 06 July 2009 9:03:21 am

Hello

I am getting this error after I send for publish. This error only occurs on the live server but not locally. I am running 4.1.3.

Thank you

 


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-269d8fb76eaee6e478acb99e4662c761 and has been logged.
Please include the transaction ID and the current URL when contacting the system administrator. 

Łukasz Serwatka

Monday 06 July 2009 10:45:10 am

Hi,

More details about which SQL query failed you can find in the eZ Publish error.log. See var/log/error.log and search for the TRANSID.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Softriva .com

Monday 06 July 2009 10:52:47 am

Fixed it. I enabled the DELETE rights for the db user. For info, the error is shown below:

DELETE command denied to user 'dbuser'@'localhost' for table 'ezcontentobject_link'. Query: DELETE FROM ezcontentobject_link

Łukasz Serwatka

Monday 06 July 2009 10:54:15 am

Good. DELETE is required for eZ Publish DB user.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 22:23:01
Script start
Timing: Jan 18 2025 22:23:01
Module start 'layout'
Timing: Jan 18 2025 22:23:01
Module start 'content'
Timing: Jan 18 2025 22:23:02
Module end 'content'
Timing: Jan 18 2025 22:23:02
Script end

Main resources:

Total runtime1.0005 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.1563152.6563
Module start 'layout' 0.00610.0033 740.812539.5078
Module start 'content' 0.00940.9895 780.3203543.4141
Module end 'content' 0.99890.0016 1,323.734412.1094
Script end 1.0005  1,335.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3159160.0002
Check MTime0.00130.1339160.0001
Mysql Total
Database connection0.00100.101310.0010
Mysqli_queries0.949694.9121600.0158
Looping result0.00060.0583580.0000
Template Total0.965896.520.4829
Template load0.00220.217120.0011
Template processing0.963696.309020.4818
Template load and register function0.00020.019510.0002
states
state_id_array0.00160.157110.0016
state_identifier_array0.00150.154720.0008
Override
Cache load0.00170.1743180.0001
Sytem overhead
Fetch class attribute can translate value0.00090.092820.0005
Fetch class attribute name0.00120.116750.0002
XML
Image XML parsing0.00070.074820.0004
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00190.1946180.0001
String conversion0.00000.000940.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
4content/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/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/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: 6

Time used to render debug report: 0.0001 secs