Wrong Referrer is a message you might see if you try to navigate to a page that checks to make sure that the user was navigating to the page from your site, and not from another site or manually entered into the address bar of your browser. We added this to greatly reduce the chances of an XSRF hack that someone might try to exploit.
To remove this error and remove the security check you can remove the following line of code from files that give you the "Wrong Referrer" message:
We advise against removing the security check, but it is understandable that not every site configuration will want to display a message when users directly access a common file such as submit.php
-------------------------------
I experienced this because I had "www" turned on in .htaccess when I should have disabled it.
You could experience this problem if you're switching between www and non-www.
To debug the problem, edit /libs/html1.php
Replace the function check_referrer() with .....
Code:
function check_referrer()
{
global $my_base_url, $my_pligg_base;
if (!strstr($_SERVER['HTTP_REFERER'],$my_base_url.$my_pligg_base)){
die($_SERVER['HTTP_REFERER'] . '=' . $my_base_url.$my_pligg_base . 'Wrong Referrer');
}
}