Fatal error "Cannot redeclare..."

Author Message

laurent le cadet

Tuesday 14 October 2008 3:01:56 am

Hi,

I have a problem with a 3.10.1 site which was working perfectly and which is a basic eZ publish site.

Suddenly, I have a fatal error. I activated the debug output but there is no infos except that :

Notice: eZMySQLDB::query(0.000 ms) query number per page:0 Oct 14 2008 11:56:52
SET NAMES 'latin1'
Notice: eZMySQLDB::query(1 rows, 0.543 ms) query number per page:1 Oct 14 2008 11:56:52
SELECT data, user_id, expiration_time FROM ezsession WHERE session_key='f4aeb0c79e871792ebd1358c12e478c5'
Warning: ezi18n Oct 14 2008 11:56:52
No translation for file(translation.ts) in context(lib/template): 'The maximum nesting level of %max has been reached. The execution is stopped to avoid infinite recursion.' with comment()
Notice: Oct 14 2008 11:56:52
eZTemplate: Loading template "setup/debug_toolbar.tpl" with resource "design"

The server log tell me that :

PHP Fatal error: Cannot redeclare class ezcontentobjectattribute in /home/axelfermetures/html/kernel/classes/ezcontentobjectattribute.php on line 44 referer: http://www.axelfermetures.com/fre/setup/cachetoolbar

Both admin and front are out of order.

Any help will be greatly appreciated.

Regards.

Laurent

laurent le cadet

Tuesday 14 October 2008 3:14:03 am

In addition, on the same server but seperate install, there is another site with only a white page. I post this problem here too because it happend at the same time.

The error logs are:

[Tue Oct 14 11:17:50 2008] [error] [client 194.3.129.133] PHP Warning: (Registered shutdown functions) Unable to call eZExecutionUncleanShutdownHandler() - function does not exist in Unknown on line 0
[Tue Oct 14 11:18:02 2008] [error] [client 10.0.4.85] PHP Fatal error: Undefined class name 'ezexecution' in /home/hemafiller/html/index.php on line 228

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 31 2025 00:33:48
Script start
Timing: Jan 31 2025 00:33:48
Module start 'layout'
Timing: Jan 31 2025 00:33:48
Module start 'content'
Timing: Jan 31 2025 00:33:48
Module end 'content'
Timing: Jan 31 2025 00:33:48
Script end

Main resources:

Total runtime0.0241 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.1328151.2109
Module start 'layout' 0.00600.0053 739.3438220.6875
Module start 'content' 0.01120.0113 960.0313997.8047
Module end 'content' 0.02260.0016 1,957.835929.9922
Script end 0.0241  1,987.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.1142140.0002
Check MTime0.00124.8999140.0001
Mysql Total
Database connection0.00062.555610.0006
Mysqli_queries0.004719.262930.0016
Looping result0.00000.058310.0000
Template Total0.00114.410.0011
Template load0.00083.458210.0008
Template processing0.00020.936110.0002
Override
Cache load0.00062.436110.0006
General
dbfile0.00031.387480.0000
String conversion0.00000.033640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs