From: eyestorm on
Hi everybody,

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.

Thanks for your help!
Michael
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
From: Marcus Bointon on
On 1 Apr 2007, at 14:07, eyestorm(a)gmx.net 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(a)hand CRM solutions
marcus(a)synchromedia.co.uk | http://www.synchromedia.co.uk/
 | 
Pages: 1
Prev: eval in smarty
Next: Smarty site down?