Fatal error after decompressing

Author Message

Thomas Brandl

Thursday 18 September 2003 8:23:42 am

Fatal error: Undefined class name 'ezdebug' in /usr/www/htdocs/ezpublish-3.2-1/lib/ezutils/classes/ezini.php on line 288

This is the first thing I see after 'tar zxvf ez..' and trying to load the index.php. I can't believe this! Is my machine sick? (I do not at all assume that this is a eZP bug, would be way to obvious!)

The first try to upgrade was this: I have a copy of my latest version called 'current', I decompressed the new 3.2-1 tar and copied it into my 'current' folder. This way, all designs, overrides should remain untouched while all old files are overwritten.

Well, the page timed out after the first try to access it. (memory limit set to 24M).

Well, I don't expect similar experiences, but if you have one, I'd be thankful :)

t

Thomas Brandl

Thursday 18 September 2003 8:41:13 am

I tried to track the error a little bit:
eZDebug is loaded before eZIni, so a call in eZIni like

eZDebug::accumulatorStart( 'ini', 'ini_load', 'Load cache' );

should be all ok.

I inserted the testline

$d = new eZDebug;

and added a echo 'constructor'; in the eZDebug constructor, to see if it was called:
it was called, the error *disappeared* and - even cooler - after undoing all my changes, it didn't come back!!

The next error was behaving all the same (eZDir) and so the errors would continue.

After four years of PHP development, such behaviour is really new to me!

Any ideas what the problem could be??

Thanks a lot!!
t

Thomas Brandl

Thursday 18 September 2003 8:42:41 am

Problem 1 was php_accelerator cache.
Problem 2 (timeout) was this: timelimit(30) is not enough on a PII 233MHz with empty caches!

t

Paul Borgermans

Friday 19 September 2003 7:40:50 am

Thomas

I think you should win a prize trying to set up ez publish on such low-end hardware given all the layers that need to be processed before a page arrives at your browser ;-)

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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 04:24:11
Script start
Timing: Jan 31 2025 04:24:11
Module start 'layout'
Timing: Jan 31 2025 04:24:11
Module start 'content'
Timing: Jan 31 2025 04:24:11
Module end 'content'
Timing: Jan 31 2025 04:24:11
Script end

Main resources:

Total runtime0.0162 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.2500151.2266
Module start 'layout' 0.00430.0021 739.476636.6797
Module start 'content' 0.00640.0080 776.156390.1719
Module end 'content' 0.01440.0017 866.328133.9922
Script end 0.0161  900.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.0586140.0002
Check MTime0.00116.8742140.0001
Mysql Total
Database connection0.00053.285910.0005
Mysqli_queries0.001911.800830.0006
Looping result0.00000.067910.0000
Template Total0.00127.210.0012
Template load0.00095.649610.0009
Template processing0.00021.509410.0002
Override
Cache load0.00063.955710.0006
General
dbfile0.00021.350180.0000
String conversion0.00000.042840.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