error with caching
| From: | SP | Date: | Fri, 21 Jun 2002 14:47:44 +0000 |
| Subject: | error with caching | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4966@lists.php.net to get a copy of this message | ||
I am working with the demo that came with smarty 2.1.1
I added this below:
$smarty->caching = true;
$smarty->cache_lifetime = 20;
First time loading the page it's fine but if I try reloading the page it
gives this error during the 20 second cache lifetime. Then after the cache
lifetime expires I reload the page it's fine but gives me an error during
the cache lifetime again.
Error:
Warning: Undefined offset: 0 in c:\program files\apache
group\apache\htdocs\cms\smarty-2.1.1\plugins\function.assign_debug_info.php
on line 15
What's the error mean?