You are here: User error handler must not modify error context « PHP « IT news, forums, messages
User error handler must not modify error context

Posted by "Noel" on 09/20/05 03:44

Error Message:
Fatal error: User error handler must not modify error context in
[FILENAME] on line 58

This error seems to occur only when I use:
$old_error_handler = set_error_handler ('userErrorHandler');

The error number is pointing to this code:
LINE 57: global $mywebsite;
LINE 58: if ($_POST['title']) $title = $_POST['title'];
LINE 59: elseif ($_GET['title']) $title = $_GET['title'];

It's surprising how no one seem to have had this problem before. I've
googled it already and all I've come up with are the zend source
codes. I've also search the PHP mailing lists, several message
boards, etc. Nothing.

One code I've seen gave me a clue that it might have only occurred
since I'm using PHP 4.4.

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?

 

Navigation:

[Reply to this 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

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