Page 1 of 1
PHP Access Violation
Posted: Mon Feb 27, 2006 10:08 am
by srikanta
I am getting this error PHP has encountered an Access Violation at 7C82FA21 when ever I am trying to access a php page. Please help.
Posted: Mon Feb 27, 2006 10:50 am
by feyd
Certain pages or all pages? Changing the code of the script affects it? Tried between CGI, CLI and module interfaces? Show your code?
PHP Access Violation
Posted: Mon Feb 27, 2006 11:43 am
by srikanta
This error doesn't show up all the time. Whenever it(error) shows up if I refresh then the page displays fine. So I don't think anything wrong with my php code.
here is the code i have for a file logout.php
session_start();
$_SESSION = array();
session_destroy();
echo '<script language="JavaScript"> document.location.href="./login.html" </script>';
sometimes when I click logout, i get that error PHP has encountered an Access Violation at 7C82FA21, on the page logout.php but after I refresh it rediects to login.html
Posted: Mon Feb 27, 2006 12:05 pm
by feyd
What version of PHP? What extensions are loaded and their version numbers?