Reply to RE: [PHP] User error handler must not modify error context

Your name:

Reply:


Posted by "Michael Sims" on 09/20/05 04:21

Noel wrote:
> Error Message:
> Fatal error: User error handler must not modify error context in
> [FILENAME] on line 58
[...]
> My site has just been upgraded to this version. In the previous
> version (4.3.11), my site works just fine. Could this be a bug? If it
> is, how can I solve it at least until they've released a fixed for it?

Take a look at bug #25922
http://bugs.php.net/bug.php?id=25922

Looks like this was added to avoid that bug. If your custom error handler
accepts the fifth argument ($errcontext in the manual) then make sure it is
not modifying that variable, or if it is, have it modify a copy of the
variable instead.

I haven't experienced this myself, this is just what I found from poking
around in the PHP source.... HTH

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация