Re: [SMARTY] Error Logging in Smarty

[email protected] (Marcus Bointon) Mon, 2 Apr 2007 10:05:47 +0100
Newsgroups php.smarty.general
Message-ID <[email protected]>
On 1 Apr 2007, at 14:07, [email protected] wrote:

> is Smarty able to write all errors concerning templates, functions  
> and so on into a logfile? I can't believe that I can find errors  
> only by watching the website.

It is all just PHP, so is subject to all the usual PHP error handling  
and reporting. If you set PHP to log errors, smarty errors should  
appear in your logs. I've got a custom error handler set up that  
emails me errors.

Marcus
-- 
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
UK resellers of info@hand CRM solutions
[email protected] | http://www.synchromedia.co.uk/