pg.ddx.io pgsql-php@postgresql.org mailing list archive
help / color / mirror / Atom feedphp error reporting problem
4+ messages / 4 participants
[nested] [flat]
* php error reporting problem
@ 2006-03-28 17:25 ngwarai zed <makotore@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: ngwarai zed @ 2006-03-28 17:25 UTC (permalink / raw)
To: pgsql-php
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 jus came
out.Noerror message. I then edited
php.ini and set Display_errors = On and errror_reporting = E_ALL then
restarted httpd. Ran the script again and the same thing happens. My
question is:- how do I make php to show me a simple error like omitting a
semicolon
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: php error reporting problem
@ 2006-03-28 19:30 Jason Minion <jason.minion@sigler.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jason Minion @ 2006-03-28 19:30 UTC (permalink / raw)
To: ngwarai zed <makotore@gmail.com>; pgsql-php
Check the apache error log.
Jason
________________________________
From: pgsql-php-owner@postgresql.org
[mailto:pgsql-php-owner@postgresql.org] On Behalf Of ngwarai zed
Sent: Tuesday, March 28, 2006 11:25 AM
To: pgsql-php@postgresql.org
Subject: [PHP] php error reporting problem
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 jus
came out.No error message. I then edited php.ini and set Display_errors
= On and errror_reporting = E_ALL then restarted httpd. Ran the script
again and the same thing happens. My question is:- how do I make php to
show me a simple error like omitting a semicolon
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: php error reporting problem
@ 2006-03-28 20:47 Christopher Murtagh <christopher.murtagh@mcgill.ca>
parent: Jason Minion <jason.minion@sigler.com>
0 siblings, 0 replies; 4+ messages in thread
From: Christopher Murtagh @ 2006-03-28 20:47 UTC (permalink / raw)
To: Jason Minion <jason.minion@sigler.com>; +Cc: ngwarai zed <makotore@gmail.com>; pgsql-php
> 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 jus
> came out.No error message. I then edited php.ini and set Display_errors
> = On and errror_reporting = E_ALL then restarted httpd. Ran the script
> again and the same thing happens. My question is:- how do I make php to
> show me a simple error like omitting a semicolon
That should do it. Maybe php didn't like the uppercase 'D' or the
misspelling of 'errror_reporting'(although I assume that's just a typo
in the email and not your config)? Try setting 'display_errors = On;'
instead of 'Display_errors' and see if that works for you. Jason's
suggestion to look at the apache logs should work as well.
Cheers,
Chris
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: php error reporting problem
@ 2006-03-28 21:50 operationsengineer1@yahoo.com
parent: ngwarai zed <makotore@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: operationsengineer1@yahoo.com @ 2006-03-28 21:50 UTC (permalink / raw)
To: ngwarai zed <makotore@gmail.com>; pgsql-php
--- ngwarai zed <makotore@gmail.com> 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 jus came
> out.Noerror message. I then edited
> php.ini and set Display_errors = On and
> errror_reporting = E_ALL then
> restarted httpd. Ran the script again and the same
> thing happens. My
> question is:- how do I make php to show me a simple
> error like omitting a
> semicolon
>
i use apache and php as cgi on winxp. i've never been
able to get the errors to print to the screen.
however, i still get to see my errors by using an ide.
eclips with the php plugin will display errors when
configured correctly.
i use php designer 2005 (2006 beta is available) and
the ide will display my errors when i run the script
from within the ide.
good luck.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2006-03-28 21:50 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-28 17:25 php error reporting problem ngwarai zed <makotore@gmail.com>
2006-03-28 21:50 ` operationsengineer1@yahoo.com
2006-03-28 19:30 Re: php error reporting problem Jason Minion <jason.minion@sigler.com>
2006-03-28 20:47 ` Christopher Murtagh <christopher.murtagh@mcgill.ca>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox