[Fwd: Re: [SMARTY] Problem with clear_cache and cache groups]
| From: | Danilo Buerger | Date: | Tue, 29 May 2007 16:48:00 +0000 |
| Subject: | [Fwd: Re: [SMARTY] Problem with clear_cache and cache groups] | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-13712@lists.php.net to get a copy of this message | ||
http://smarty.php.net/manual/en/api.clear.cache.php
$cache_id is the second parameter.
Francesco Cipriani schrieb:
> Hello,
> I'm using smarty 2.6.18, I've just upgraded from smarty 2.5 (...).
> I'm using clear_cache to clear cache groups, it did work with smarty 2.5
> but now it doesn't work anymore. Smarty's config and file permissions
> should be ok because clear_all_caches works correctly, but if I do a
> clear_cache("group1") it doesn't delete the cache for the page I
> displayed using $tpl->display("mytpl", "group1|group2");
> The call to clear_cache returns true... but the files are still in their
> directories.
> I'm using php 5.2.2 on gentoo linux with apache2.
> How can I debug (and fix) this??
>