RE: [SMARTY] error with caching
| From: | SP | Date: | Fri, 21 Jun 2002 15:02:24 +0000 |
| Subject: | RE: [SMARTY] error with caching | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4967@lists.php.net to get a copy of this message | ||
I forgot to add I have all errors turned on in php like this:
error_reporting (E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
If I take out E_NOTICE then the error doesn't show up. Are you guys
developing with errors turned on? I asked about another error I was getting
last week with smarty about a variable not being declared but no one cared.
Just checking what everyone is doing.
-----Original Message-----
From: SP [mailto:internetracer@yifan.net]
Sent: June 21, 2002 10:48 AM
To: smarty-general@lists.php.net
Subject: [SMARTY] error with caching
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?
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php