Re: Will not report errors what can I do

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-12-04 at 21:28 -0800, Jim Lucas wrote:
> Johny John wrote:
> > HI Terion,
> > Please put the error reporting on top of the page and try. If you have any
> > errors in the include file, it won't execute the rest of commands. Make the
> > changes to code as follows.
> > 
> > <?php
> > error_reporting(E_ALL);
> > ini_set('display_errors', '1');
> > include("inc/dbconn_open.php");
> > 
> > ?>
> > 
> > Regards,
> > 
> > Johny John
> > 
> 
> This still doesn't address his possible parse error problem.  If he has 
> a parse error, it makes no difference where he places the above lines. 
> Nothing is going to work.
> 
> It should be done via one of the three methods that mention in my other 
> email.

It depends where the parse error exists. If it exists in
inc/dbconn_open.php then this will catche it since the error reporting
settings will take effect before the parse error causes a fatal during
the include.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux