3.9.0 not working properly

Author Message

luis muñoz

Tuesday 23 January 2007 4:34:57 am

I was testing an upgrade to 3.9.0 and found that cache is not working properly. Sometimes produces the following error:

Fatal error: Call to a member function on a non-object in /usr/justlanded/ez390/var/justlanded/cache/template/compiled/just_landed_guide-95e12d078cb38627022b1694023b7ce2.php on line 1495
Fatal error: eZ publish did not finish its request

The same template is working without errors in 3.8.6. In that line says

$cacheGenFile->delete();

The weird thing is that the error doesn´t happend all the time for all the content using that template, happends 8 in 10 times for about 60% of the content using that template.
Any idea of what is causing this so i can fill in a bug report? Any idea on how to fix it?

André R.

Tuesday 23 January 2007 7:12:51 am

Do you have nested cache-blocks ?

In that case its probably related to this:
http://issues.ez.no/IssueView.php?Id=9925&activeItem=91

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

luis muñoz

Wednesday 24 January 2007 1:53:52 am

Hi André,

I do not have nested cache blocks but the problem is fixed if i comment the cache block for the template:

{cache-block keys=array($DesignKeys:used.node, ezini( "RegionalSettings", "Locale"))}

The cache block is for the whole template, has no sub cache blocks and there are no cache blocks in pagelayout for this include.

Thanks,
Luis

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

Main resources:

Total runtime0.0172 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.0058 587.9141152.6250
Module start 'layout' 0.00580.0037 740.539139.4453
Module start 'content' 0.00960.0052 779.984489.4453
Module end 'content' 0.01480.0024 869.429734.3047
Script end 0.0172  903.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002816.1418140.0002
Check MTime0.00137.4589140.0001
Mysql Total
Database connection0.00106.058910.0010
Mysqli_queries0.003218.344430.0011
Looping result0.00000.167710.0000
Template Total0.002011.410.0020
Template load0.00116.319510.0011
Template processing0.00095.023410.0009
Override
Cache load0.00084.628410.0008
General
dbfile0.00031.466680.0000
String conversion0.00000.063840.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.0002 secs