Georgy wrote:
Hello everyone, now I have a problem.
When Fatal Error is raised, script also sends error code 500 with Fatal
Error message text.
(For example, when i'm trying to use in controller method, which doesn't
exist, like "$this->album->_redirect('/');"
This error code 500 cause IE to show its own error page, without text of the
Fatal Error, but it works normal for FireFox
(it shows Fatal Error message text).
In IE go to Tools > Internet Options > Advanced > and uncheck Show
friendly HTTP error messages
When I'm trying to produce this Fatal Error on another domen (with the same
settings for Apache and PHP), error message is sent without error code.
Hmmm, I shouldn't think this has anything to do with ZF directly, as a
fatal error will completely abort execution, so ZF wouldn't have a
chance to set any headers. On my server a fatal error does not result in
a 500 response, so I've no idea where that would be coming from, sorry.
--
Jack