You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
Rickard wrote:First of all, you really should consider disabling Norton Internet Security before disabling the referer check in PunBB. However, if you insist on disabling it, here's how.
Replace confirm_referer with the following piece of code:
function confirm_referer($script)
{
// Do nothing
}
Then, in admin_options.php, look for:
// Lazy referer check (in case base_url isn't correct)
if (!preg_match('#/admin_options\.php#i', $_SERVER['HTTP_REFERER']))
message($lang_common['Bad referer'].' <a href="mailto:'.$pun_config['o_admin_email'].'">'.$pun_config['o_admin_email'].'</a>.');
and remove it.
After doing this. I get this message When I try to delete a Category.
"http://starfus.free2host.net/php/forums/admin_categories.php"
""
Any help please
Bad HTTP_REFERER. You were referred to this page from an unauthorized source. Please go back and try again. If the problem persists please make sure that 'Base URL' is correctly set in Admin/Options and that you are visiting the forum by navigating to that URL.
Anyclue. I really need this.
Nevermind. The footer.php was missng
?>
at the end of the page, for some strange reason
Warning: main(): Unable to access ./footer.php in /home/starfus/public_html/php/forums/index.php on line 210
Warning: main(./footer.php): failed to open stream: Permission denied in /home/starfus/public_html/php/forums/index.php on line 210
Warning: main(): Unable to access ./footer.php in /home/starfus/public_html/php/forums/index.php on line 210
Warning: main(./footer.php): failed to open stream: Permission denied in /home/starfus/public_html/php/forums/index.php on line 210
Any help please
Posts found: 4