Problem with import in PHP : Help needed please !

Author Message

Thibaut D

Thursday 13 September 2007 7:57:46 am

Hi guys...
I have a big problem...
My script works perfectly on my computer with easyphp 1.8 but once I put my script on the web it returns me this error without any error description :( I have the same files on my computer and online so I think it's a problem of configuration but I can't find where... The connection to database is working because the check of the items works. The script stops when I add a new object of a personal class.

Fatal error: A database transaction in eZ publish failed.

The current execution was stopped to prevent further problems.
You should contact the System Administrator (contact@editions-delcourt.fr) of this site with the information on this page.
The current transaction ID is TRANSID-08faec2e9e08bd210a85b9d851d6c770 and has been logged.
Please include the transaction ID and the current URL when contacting the system administrator.

Thanks to help ;)
I tried a lot of different codes proposed on the forum, saw a lot of topics but I can t solve my problem...

Damien Pobel

Thursday 13 September 2007 10:32:59 am

Hi Thibaut,

It's difficult to know without code...
If it works on your computer and not on your server, it's probably related to configuration (magic_quotes, permission, table schema, ...) You should have a look to your database log, perhaps you can find some useful informations.

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

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 16:23:56
Script start
Timing: Jan 18 2025 16:23:56
Module start 'layout'
Timing: Jan 18 2025 16:23:56
Module start 'content'
Timing: Jan 18 2025 16:23:57
Module end 'content'
Timing: Jan 18 2025 16:23:57
Script end

Main resources:

Total runtime0.7693 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.0049 588.0469152.6406
Module start 'layout' 0.00490.0028 740.687539.4766
Module start 'content' 0.00770.7605 780.1641526.8359
Module end 'content' 0.76820.0011 1,307.00008.1250
Script end 0.7693  1,315.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3963160.0002
Check MTime0.00130.1679160.0001
Mysql Total
Database connection0.00080.108610.0008
Mysqli_queries0.730494.9466540.0135
Looping result0.00040.0531520.0000
Template Total0.743096.620.3715
Template load0.00220.281820.0011
Template processing0.740896.295920.3704
Template load and register function0.00020.020510.0002
states
state_id_array0.00070.087510.0007
state_identifier_array0.00070.090920.0003
Override
Cache load0.00180.2358140.0001
Sytem overhead
Fetch class attribute can translate value0.00040.056720.0002
Fetch class attribute name0.00110.148030.0004
XML
Image XML parsing0.00060.078620.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00120.1534160.0001
String conversion0.00000.001240.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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 13
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs