5
i use windows (xp) firewall. i have turned it off and still have the problem. anhow, i use modified referer check function in file include/functions.php
function xoops_refcheck($docheck=1)
{
$ref = xoops_getenv('HTTP_REFERER');
if ($docheck == 0) {
return true;
}
if ($ref == '') {
return true;//the very original
//return true;//hacked code
}
if (strpos($ref, XOOPS_URL) !== 0 ) {
return false;
}
return true;
}
i can think of two things which could cause the problem:
1. the DB is on a different server then the web (so i had to change 'localhost' in mainfile.php to actual server name)
2. the site domain is not yet transfered/registered so i left blank variable XOOPS_URL in mainfile.php and i'm testing the web by putting my hostname to file windows/system/etc/hosts on my computer along with the webhoster's server IP adress