RE: [PHP] php error reporting problem

2006-03-30 Thread Ford, Mike
On 29 March 2006 15:25, ngwarai zed wrote: > phpinfo says > > Configuration File (php.ini) Path /etc/php.ini > > And the file I am editing is /etc/php.ini Is this not the > one Iam supposed to edit? On list please! H'mmm -- file permissions? You've stopped and restarted Apache? Which oper

Re: [PHP] php error reporting problem

2006-03-29 Thread Christopher Murtagh
On Wed, 2006-03-29 at 16:38 +0300, ngwarai zed wrote: > I tried changing display_errors = On and error_reporting = On in > php.ini , restarted httpd but when I check with phpinfo() I still see > display_errors set to Off and error_reporting set to 2047. My php > script still does not show any error

Re: [PHP] php error reporting problem

2006-03-29 Thread Christopher Murtagh
On Wed, 2006-03-29 at 18:25 +0300, ngwarai zed wrote: > But still the problem is not solved. Just to recap on the problem: I > just want the deliberate php errors Imake to shown as errors on the > php page when the script runs. Yes, that should be the normal behaviour. Check your error_reporting s

Re: [PHP] php error reporting problem

2006-03-29 Thread ngwarai zed
Thanks Christopher for your help. I followed you numbered advicestep by step. 1) I verified that there weren't any typo's that were causing fatal problems in my php.ini 2) looked at the output of phpinfo() and verified the location of the php.ini script. /etc/php.ini .This is the file I am modif

RE: [PHP] php error reporting problem

2006-03-29 Thread Ford, Mike
> -Original Message- > From: ngwarai zed [mailto:[EMAIL PROTECTED] > Sent: 29 March 2006 14:39 > To: Christopher Murtagh > The problem is I know what the error is. What I want is for > the error to be shown when I run the script not to be just > written to the error log. I tried changin

Re: [PHP] php error reporting problem

2006-03-29 Thread ngwarai zed
I checked the apache error log and the error is written there just as I expected like below. [client 127.0.0.1] PHP Parse error: parse error, unexpected T_STRING, expecting ',' or ';' on line 90, referer: http://localhost/form.html The problem is I know what the error is. What I want is for th

Re: [PHP] php error reporting problem

2006-03-28 Thread Paul Novitski
At 10:57 AM 3/28/2006, ngwarai zed wrote: hi, I omitted a semicolon ; at the end of a php statement on purpose to see what the error looks like. I ran the script and a blank page just came out.No error message. I then edited php.ini and set Display_errors = On and errror_reporting = E_ALL then

Re: [PHP] php error reporting problem

2006-03-28 Thread John Nichel
ngwarai zed wrote: hi, I omitted a semicolon ; at the end of a php statement on purpose to see what the error looks like. I ran the script and a blank page just came out.No error message. I then edited php.ini and set Display_errors = On and errror_reporting = E_ALL then restarted httpd. Ran t