ID: 28942 User updated by: reha at bilgiparki dot com Reported By: reha at bilgiparki dot com Status: Open Bug Type: IIS related Operating System: Windows 2000 Server PHP Version: 4.3.7 New Comment:
Dear Php team, sorry for my spam messages but, i have found something it may be releated to this error. In my other domain, i have this code: <? ob_start(); echo "test"; ?> and i have realised to forgot to flush code. Anyway, here is new code; <? ob_start(); echo "test"; ob_end_flush(); ?> after running this code, everything is corrected. But before running the code, to correct this problem i have added session_start() into whole my php pages. Previous Comments: ------------------------------------------------------------------------ [2004-06-28 10:40:30] reha at bilgiparki dot com I have realised that when i have included session_start() function into my code, it doesn't give me any error.. Code 1: ------- URL : http://www.bilgiparki.com/test.php <? echo "test"; ?> The result as: testPHP has encountered an Access Violation at 01907A6D Code 2: ------- URL : http://www.bilgiparki.com/test1.php <? session_start(); echo "test"; ?> The result as: test As you see that, when i have added session_start(), the problem seems to solved. ------------------------------------------------------------------------ [2004-06-28 10:21:52] reha at bilgiparki dot com Description: ------------ When calling a webpage, it says "PHP has encountered an Access Violation at 01907A6D" within anywhere of the page. Windows 2000 Server IIS5 PHP 4.3.7 Running as ISAPI module In my opinion, this type of fatal errors should be going to the Event Log instead of displaying to users. Reproduce code: --------------- <? echo "IP Adresiniz :" echo $_SERVER["REMOTE_ADDR"] ?> Expected result: ---------------- IP Adresiniz : 81.213.98.71PHP has encountered an Access Violation at 01907A6D ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28942&edit=1