"Fatal error: Cannot redeclare class ezsy"

Author Message

Brian Hay

Monday 12 January 2004 1:38:31 am

Straight after install of ezpublish-3.3-1.zip -> go to index.php

----------------------------
Fatal error: Cannot redeclare class ezsys in C:\web\ezpublish-3.3-1\lib\ezutils\classes\ezsys.php on line 63
Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.
----------------------------

(no debug output shown)

MY CONFIG
* ezpublish-3.3-1
* apache 2.0.48
* php 4.3.4
* mysql 4.0.17
* winxp pro sp1

Never had any trouble with any php/mysql apps before.

This error has been reported elsewhere in forums without any resolution as yet.

Please help.

Regards,
Brian.

Brian Hay

Thursday 15 January 2004 4:22:13 am

FIXED

Switched from CGI version of PHP to Apache2 module.

Was having issues on my own "friendly URL" PHP scripts with AcceptPathInfo directive not working correctly in CGI version of PHP4 on Apache2. Unrelated Internet postings lead me to install module version instead which also fixed eZ Publish. Then I found some related notes in the eZ documentation - DOH!!!!

Regards,
Brian.

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:16:42
Script start
Timing: Jan 18 2025 22:16:42
Module start 'layout'
Timing: Jan 18 2025 22:16:42
Module start 'content'
Timing: Jan 18 2025 22:16:43
Module end 'content'
Timing: Jan 18 2025 22:16:43
Script end

Main resources:

Total runtime0.9356 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.0547152.6406
Module start 'layout' 0.00600.0027 740.695339.4766
Module start 'content' 0.00880.9251 780.1719429.5469
Module end 'content' 0.93380.0017 1,209.71888.1250
Script end 0.9355  1,217.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3604160.0002
Check MTime0.00130.1430160.0001
Mysql Total
Database connection0.00070.076810.0007
Mysqli_queries0.890495.1772520.0171
Looping result0.00060.0670500.0000
Template Total0.902996.520.4515
Template load0.00230.241920.0011
Template processing0.900696.264920.4503
Template load and register function0.00010.014810.0001
states
state_id_array0.00110.119010.0011
state_identifier_array0.00140.154020.0007
Override
Cache load0.00180.1973270.0001
Sytem overhead
Fetch class attribute can translate value0.00080.087610.0008
Fetch class attribute name0.00090.094520.0004
XML
Image XML parsing0.00010.015310.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00110.1128100.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs