Re: [PHP] No Error Messages



Sancar Saran wrote:
Hi, Recenly I face very disturbing problem.

If page has some errors it stop producing any error messages. Neither page nor
syslog.

I get blank page.

System
Debian Unstable
Apache 2
Php 5.1.6

Apc
Memcached
Obhandler with gzip
and I store entire page output then printed out.

And I found if my error on first pages there was no problem, error message
show in page and syslog and if that eroor is in included files. I get
absolutely Nothing.

Does any one give any clue about it.

probably your error_reporting level or display_errors setting is not what you
think it is at the time the include occurs/runs.

alternatively something (3rd party) maybe setting an error handler that is
trapping your errors but not showing/logging them

lastly maybe your output buffer is the problem ... you might try a registering a
shutdown function that clears/outputs all buffers so that it is run
even if an error occurs.


Regards

Sancar

.



Relevant Pages

  • No Error Messages
    ... If page has some errors it stop producing any error messages. ... Php 5.1.6 ... Obhandler with gzip ... show in page and syslog and if that eroor is in included files. ...
    (php.general)
  • Re: proliferation of error messages
    ... amd -l syslog ... This email message and any files transmitted with it contain confidential ... Subject: proliferation of error messages ...
    (perl.dbi.users)
  • Re: How to determine write failure?
    ... I do indeed get screenfuls of error messages. ... I get screenfuls of errors reported via syslog. ... Don't run it on "the console". ...
    (comp.unix.programmer)
  • Re: what is difference between stdout and stderr ?
    ... log file or to syslog, not /dev/null, IMO. ... Because you know what error messages you're expecting, ... grep pattern */* | grep otherpattern ... Those whines go to stderr, so redirecting stderr to /dev/null will give ...
    (comp.lang.c)
  • Re: what is difference between stdout and stderr ?
    ... Why would you want to lose all the error messages? ... log file or to syslog, not /dev/null, IMO. ...
    (comp.lang.c)