Ver 3.2-3 : problem with path to block-template cache

Ver 3.2-3 : problem with path to block-template cache

Monday 10 November 2003 2:43:26 am - 4 replies

Modified on Monday 10 November 2003 2:43:51 am by Valentin Svelland

Author Message

Georg Franz

Monday 10 November 2003 8:40:01 am

Hi,

I've the same problem. I can't figure out where the problem is.

I've tried it under windows and linux.

I use the this code in my pagelout.tpl:
{cache-block keys=array('some_name',$uri_string,$current_user.contentobject_id) expiry=86400}
{ ... some code here ... }
{/cache-block}

-> yes, i deleted the cache many times.

The very strange thing is: Only on some pages the error occurs. Sometimes on some pages cache-block works as expected.

Example:
Cache deleted.
load /content/view/full/444 in browser
error occurs.
reload.
error occurs.

load /content/view/full/445 in browser
error don't occurs.
reload
error don't occurs.
(same pagelout.tpl is used)

-> it doesn't matter which content class is used by the node.

I've figured out that the missing cache-file can't be created because the last subdir (in your case var/kommune/cache/template-block/4/0/6/) wasn't created. So I think the bug is in the directory-creation part.

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Georg Franz

Monday 10 November 2003 10:32:13 am

Hi,

... currently searching ...

I've found a thing:
Only directories with the name "0" (zero) are not created. Maybe "0" is converted to false() between the classes / methods?

... keep on running ...

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Georg Franz

Monday 10 November 2003 10:47:49 am

solution:
http://ez.no/developer/ez_publish_3/bug_reports/cacheblock_fails_solution

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Valentin Svelland

Monday 10 November 2003 1:10:49 pm

Thanks, Emil!

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.