Forums / Developer / Fatal error "Cannot redeclare..."
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 Exponential 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:52eZTemplate: 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
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