RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-19 Thread Richard Lynch
On Mon, March 19, 2007 12:57 pm, Chris W. Parker wrote: > On Friday, March 16, 2007 4:04 PM Robert Cummings > said: > > Update: > > Now that I've corrected my mistake in php.ini and set the level of > error > reporting that I want I can see *most* errors. > > But shouldn'

Re: [PHP] Can't get PHP errors to display or log consistently

2007-03-19 Thread Richard Lynch
On Fri, March 16, 2007 2:30 pm, Chris W. Parker wrote: > Using CentOS 4 and I can't get errors to display on the page AT ALL or > log errors consistently. Some errors get logged (forgetting to us > $this-> in a class for example) but most don't. > > I've tried: > * using .htaccess to set the er

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-19 Thread Chris W. Parker
On Monday, March 19, 2007 11:28 AM Brad Fuller said: > Syntax errors like that will cause a startup error, which means your > code > can't be evaluated. So those 2 lines of code that turn the error > reporting > on never get executed. Oooohh it's a "startup error". D

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-19 Thread Brad Fuller
> -Original Message- > From: Chris W. Parker [mailto:[EMAIL PROTECTED] > Sent: Monday, March 19, 2007 1:57 PM > Cc: php-general@lists.php.net > Subject: RE: [PHP] Can't get PHP errors to display or log consistently > > On Friday, March 16, 2007 4:04 PM Robert

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-19 Thread Chris W. Parker
On Friday, March 16, 2007 4:04 PM Robert Cummings said: Update: Now that I've corrected my mistake in php.ini and set the level of error reporting that I want I can see *most* errors. But shouldn't the following produce a visible error? If I comment the x I see 'hel

Re: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Robert Cummings
On Fri, 2007-03-16 at 15:56 -0700, Jim Lucas wrote: > Chris W. Parker wrote: > > Hello, > > > > Using CentOS 4 and I can't get errors to display on the page AT ALL or > > log errors consistently. Some errors get logged (forgetting to us > > $this-> in a class for example) but most don't. > > >

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Robert Cummings
On Fri, 2007-03-16 at 18:58 -0400, Robert Cummings wrote: > On Fri, 2007-03-16 at 14:50 -0700, Chris W. Parker wrote: > > On Friday, March 16, 2007 12:49 PM Robert Cummings > > said: > > > > > If either project overrides the error handler than a custom error > > > handle

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Robert Cummings
On Fri, 2007-03-16 at 14:50 -0700, Chris W. Parker wrote: > On Friday, March 16, 2007 12:49 PM Robert Cummings > said: > > > If either project overrides the error handler than a custom error > > handler is in place. All depends on whether the code that sets it gets > > r

Re: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Jim Lucas
Chris W. Parker wrote: Hello, Using CentOS 4 and I can't get errors to display on the page AT ALL or log errors consistently. Some errors get logged (forgetting to us $this-> in a class for example) but most don't. I've tried: * using .htaccess to set the error reporting. * checking

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Chris W. Parker
On Friday, March 16, 2007 12:49 PM Robert Cummings said: > If either project overrides the error handler than a custom error > handler is in place. All depends on whether the code that sets it gets > run. (Was at lunch.) I see. In that case how do I override it in this

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Robert Cummings
On Fri, 2007-03-16 at 12:45 -0700, Chris W. Parker wrote: > On Friday, March 16, 2007 12:37 PM Robert Cummings > said: > > > Is there a custom error handler in place? > > > > Try grepping for set_error_handler. > > Not in this project. Being used in another project wou

RE: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Chris W. Parker
On Friday, March 16, 2007 12:37 PM Robert Cummings said: > Is there a custom error handler in place? > > Try grepping for set_error_handler. Not in this project. Being used in another project wouldn't count towards this one would it? Thanks. -- PHP General Mailing

Re: [PHP] Can't get PHP errors to display or log consistently

2007-03-16 Thread Robert Cummings
On Fri, 2007-03-16 at 12:30 -0700, Chris W. Parker wrote: > Hello, > > Using CentOS 4 and I can't get errors to display on the page AT ALL or > log errors consistently. Some errors get logged (forgetting to us > $this-> in a class for example) but most don't. > > I've tried: > * using .htac