PHP Access Violation

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
srikanta
Forum Newbie
Posts: 2
Joined: Mon Feb 27, 2006 10:01 am

PHP Access Violation

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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?
srikanta
Forum Newbie
Posts: 2
Joined: Mon Feb 27, 2006 10:01 am

PHP Access Violation

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

What version of PHP? What extensions are loaded and their version numbers?
Post Reply