Firefox PHP error report [message #173352] |
Mon, 04 April 2011 14:43 |
bruceaj
Messages: 30 Registered: September 2010
Karma: 0
|
Member |
|
|
I seem to recall that there was a set options in Firefox so that PHP
errors would be reported. Appreciate it greatly if someone could tell
me how to set these options..
Thanks..
Bruce
|
|
|
Re: Firefox PHP error report [message #173353 is a reply to message #173352] |
Mon, 04 April 2011 14:51 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
bruceaj wrote:
> I seem to recall that there was a set options in Firefox so that PHP
> errors would be reported. Appreciate it greatly if someone could tell
> me how to set these options..
>
Not possible since PHP errors do not propagate past the server, except
as obscure and broken HTML perhaps.
If you want to turn reporting on, on *that*, its tools-> error console,
typically.
> Thanks..
>
> Bruce
|
|
|
Re: Firefox PHP error report [message #173354 is a reply to message #173352] |
Mon, 04 April 2011 15:27 |
alvaro.NOSPAMTHANX
Messages: 277 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
El 04/04/2011 16:43, bruceaj escribió/wrote:
> I seem to recall that there was a set options in Firefox so that PHP
> errors would be reported. Appreciate it greatly if someone could tell
> me how to set these options..
There isn't such a option for obvious physical reasons. What you
probably recall is FirePHP or some similar invention:
http://www.firephp.org/
But of course it's not just an option you enable on the client: you need
to install all the stack and explicitly send error messages from your
PHP code.
--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
|
|
|
Re: Firefox PHP error report [message #173355 is a reply to message #173352] |
Mon, 04 April 2011 16:10 |
Robert Heller
Messages: 60 Registered: December 2010
Karma: 0
|
Member |
|
|
At Mon, 4 Apr 2011 07:43:16 -0700 (PDT) bruceaj <bruceaj(at)bellsouth(dot)net> wrote:
>
> I seem to recall that there was a set options in Firefox so that PHP
> errors would be reported. Appreciate it greatly if someone could tell
> me how to set these options..
What you want to do is edit /etc/php.ini *on the server* to include:
; Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = On
; Even when display_errors is on, errors that occur during PHP's startup
; sequence are not displayed. It's strongly recommended to keep
; display_startup_errors off, except for when debugging.
display_startup_errors = On
Note the warnings. The above is from a developmental system that is
not exposed to the public Internet (actually my Linux desktop system,
that has Apache, PHP, MySQL, etc. installed and has a mirror of my
company website on it).
>
> Thanks..
>
> Bruce
>
--
Robert Heller -- 978-544-6933 / heller(at)deepsoft(dot)com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments
|
|
|
Re: Firefox PHP error report [message #173357 is a reply to message #173352] |
Mon, 04 April 2011 18:27 |
crankypuss
Messages: 147 Registered: March 2011
Karma: 0
|
Senior Member |
|
|
bruceaj <bruceaj(at)bellsouth(dot)net> wrote:
> I seem to recall that there was a set options in Firefox so that PHP
> errors would be reported. Appreciate it greatly if someone could tell
> me how to set these options..
>
> Thanks..
>
> Bruce
There's a PHP setting that controls the level of error reporting,
determined by php.ini or dynamically set via error_reporting().
You might be thinking of the FireFox "live headers" plugin doodad that
will show you the http headers returned by any server, not just one
that happens to be running PHP.
But nekkid FireFox can't tell the PHP interpreter on the server what
errors it ought to report.
--
no aluminum siding offers today
|
|
|
Re: Firefox PHP error report [message #173358 is a reply to message #173357] |
Mon, 04 April 2011 19:13 |
bruceaj
Messages: 30 Registered: September 2010
Karma: 0
|
Member |
|
|
On Apr 4, 2:27 pm, crankypuss <n...@email.thanks> wrote:
> bruceaj <bruc...@bellsouth.net> wrote:
>> I seem to recall that there was a set options in Firefox so that PHP
>> errors would be reported. Appreciate it greatly if someone could tell
>> me how to set these options..
>
>> Thanks..
>
>> Bruce
>
> There's a PHP setting that controls the level of error reporting,
> determined by php.ini or dynamically set via error_reporting().
>
> You might be thinking of the FireFox "live headers" plugin doodad that
> will show you the http headers returned by any server, not just one
> that happens to be running PHP.
>
> But nekkid FireFox can't tell the PHP interpreter on the server what
> errors it ought to report.
>
> --
> no aluminum siding offers today
Thanks to all. I think I was "Thinking" about the php.ini settings...
Appreciate all the responses..
Bruce
|
|
|