Re: [SMARTY] Error Logging in Smarty
| From: | Marcus Bointon | Date: | Mon, 02 Apr 2007 09:05:47 +0000 |
| Subject: | Re: [SMARTY] Error Logging in Smarty | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13694@lists.php.net to get a copy of this message | ||
On 1 Apr 2007, at 14:07, eyestorm@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@hand CRM solutions marcus@synchromedia.co.uk | http://www.synchromedia.co.uk/