Re: [SMARTY] Smarty caching problem
| From: | Roman Neuhauser | Date: | Tue, 13 Aug 2002 16:54:01 +0000 |
| Subject: | Re: [SMARTY] Smarty caching problem | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5687@lists.php.net to get a copy of this message | ||
> From: "Rainer Collet" <rain_c1@web.de>
> To: "Smarty General" <smarty-general@lists.php.net>
> Date: Tue, 13 Aug 2002 18:41:18 +0200
> Subject: AW: [SMARTY] Smarty caching problem
> the custom error handler must not exit, if the error was triggered by a
> @-signed function. this can be accomplished by checking the return code of
> error_reporting(). if this is 0 it was a @-signed function.
didn't know this; interesting info. but smarty *should* be modified
this way (iow, this fix should be incorporated)
> perhaps a notice about custom error handlers should be in the
> caching-section of the manual, because it costed me serveral hours (although
> your excelent help) to find and eliminate the problem.
well, it's not a problem in custom error handlers, but a bug in
smarty per se. imo, ymmv, etc. (i know andrei opposed the idea of
writing smarty for E_ALL environment; i could never understand this)
--
FreeBSD 4.6-STABLE
6:50PM up 4 days, 6:44, 14 users, load averages: 0.02, 0.01, 0.00