#28942 [Opn]: PHP has encountered an Access Violation
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:
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.
Previous Comments:
------------------------------------------------------------------------
[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
Thread (4 messages)