Re: Will not report errors what can I do
| From: | Robert Cummings | Date: | Fri, 05 Dec 2008 03:26:12 +0000 |
| Subject: | Re: Will not report errors what can I do | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284131@lists.php.net to get a copy of this message | ||
On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote:
> Terion Miller wrote:
> > Hey everyone I am still fighting the same problem that my script isn't
> > working and its not reporting errors, when you click to "view" the work
> > order it doesn't do anything, I have all kinds of error reporting turned on
> > but nothing, do I have them syntax wrong?
> >
> > <?php
> > include("inc/dbconn_open.php");
> > error_reporting(E_ALL);
> > ini_set('display_errors', '1');
>
> This is boolean, it should be ini_set('display_errors', 1);
Isn't 1 an integer and true a boolean? ;)
Anyways, what I noticed is that error reporting is enabled after an
include. Maybe the system is failing during the include.
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP