14
I tried that hack and I'm still getting the error. I tried the browser_check and PASSED all tests.
I've even tried on the computer that XOOPS is loaded on...same thing.
This is getting annoying!
We're running this on Win2K (IIS 5). (( no gunshots please...it's for work ))
-- Matt
EDIT: Through some searching on the web I found the answer... although its not real secure, it's allowing me to get stuff done in the mean time.
It's similar to the hack above, but I just went a little further:
In your 'xoopssecurity' file find the 'checkReferer' function. Then, anything that says 'return false;' change to 'return true;'. So when you're done, it should look like this:
Quote:
function checkReferer($docheck=1)
{
if ($docheck == 0) {
return true;
}
$ref = xoops_getenv('HTTP_REFERER');
if ($ref == '') {
return true;
}
$pref = parse_url($ref);
if ( $pref['host'] != $_SERVER['HTTP_HOST'] ) {
return true;
}
return true;
}
NOW, if the hack in the previous post (2 or 3 above this one) works, I strongly suggest you use it. Basically, following my direction turns off ALL referring checks.
I don't know much about PHP, so I can't decipher what all of the variables are, and where they are coming from. But, if someone wants to take this idea and run with it, and figure out WHY the referer check is so strict that it's causing a bunch of people problems, go for it!