error with cache
| From: | Elgi | Date: | Sat, 05 Apr 2003 19:13:15 +0000 |
| Subject: | error with cache | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9126@lists.php.net to get a copy of this message | ||
Hello smarty-general,
I have a error with my cache and just only for one page.
Whan the page isn't cache, it's good, but then the page is cache, i
have this message :
Warning: Invalid argument supplied for foreach() in c:\program
files\easyphp\www\padro.com\smarty\Smarty.class.php on line 2298
in smarty.class.php :
foreach ($this->_cache_info['template'] as $template_dep) {
$this->_fetch_template_info($template_dep, $template_source, $template_timestamp, false);
if ($this->_cache_info['timestamp'] < $template_timestamp) {
// template file has changed, regenerate cache
return false;
}
}
i don't know why i have a error only the page is cache !
--
Cordialement,
Elgi