Re: [SMARTY] Display Errors OFF
| From: | Rob Ellis | Date: | Tue, 14 Jan 2003 14:22:28 +0000 |
| Subject: | Re: [SMARTY] Display Errors OFF | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7172@lists.php.net to get a copy of this message | ||
On Tue, Jan 14, 2003 at 08:46:32AM -0500, John Thorne wrote:
> Hello
> ISP has PHP display error off
> I need to be able to see why my novice php code is not running
> syntax errors, includes in wrong directories etc.
> I have tried ErrorHandler CLASS with min success.
> Is there any way I "turn on" Display errors with sometype
> of include ....
>
Try
ini_set('display_errors', '1');
error_reporting(E_ALL);
at the top of the PHP script that calls the template.
- Rob
--
Rob Ellis <rob@web.ca>
System Administrator, Web Networks