Caching issues with 2.6.10 under PHP 5
| From: | Ian Eure | Date: | Thu, 13 Oct 2005 22:12:43 +0000 |
| Subject: | Caching issues with 2.6.10 under PHP 5 | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-13082@lists.php.net to get a copy of this message | ||
Hi, I'm in the process of migrating a site which uses Smarty to PHP 5, and I'm having some trouble with caching. If Smarty reports that the requested template is cached, the script calls $smarty->display() without doing all it's processing. But it seems that Smarty tries to run the compiled template anyways, which then dies because it doesn't have any data set. Everything works if I disable caching.
Everything worked fine under PHP 4.3.11. Are there known issues with Smarty under PHP 5?
--
Ian Eure
Developer,
eNotes.com LLC