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.