Quote:
Originally Posted by Murphinator
question...
i cant use the log in, it gives me this error
Code:
POST requests from foreign hosts are not allowed.
and also i tried to do the admincp/index.php change and it gave me an error 
|
I found a fix for the "POST" problem!
Im running vbIndex on "www .site.com" and my forum on "forum.site.com" and i had problems with the POST issue.
I found out that in the preg-replace they have hardcoded the "www" part and changeing it to "forum" solved it for me.
<init.php>
Before:
PHP Code:
$http_host = preg_replace('#^www\.#i', '', $http_host);
After:
PHP Code:
$http_host = preg_replace('#^forum\.#i', '', $http_host);