Re: [SMARTY] error with cache
| From: | Elgi | Date: | Sat, 05 Apr 2003 19:32:36 +0000 |
| Subject: | Re: [SMARTY] error with cache | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9127@lists.php.net to get a copy of this message | ||
Hello Elgi,
This error is genered only compile_check = true with cache
but i don't understand why i have this error only of one page !
this error is not important because in production compile_check =
false
--
Cordialement,
Elgi
Le samedi 5 avril 2003 à 21:13:15, vous écriviez :
E> Hello smarty-general,
E> I have a error with my cache and just only for one page.
E> Whan the page isn't cache, it's good, but then the page is cache, i
E> have this message :
E> Warning: Invalid argument supplied for foreach() in c:\program
files\easyphp\www\padro.com\smarty\Smarty.class.php on line 2298
E> in smarty.class.php :
E> foreach ($this->_cache_info['template'] as $template_dep) {
E> $this->_fetch_template_info($template_dep, $template_source, $template_timestamp,
false);
E> if ($this->_cache_info['timestamp'] < $template_timestamp) {
E> // template file has changed, regenerate cache
E> return false;
E> }
E> }
E> i don't know why i have a error only the page is cache !
E> --
E> Cordialement,
E> Elgi