PDA

View Full Version : Logout Issues


cap97
04 May 2005, 18:34
Just installed it and everything seems to work, except when I logout via the portal, I get a "an error has occured message", and it proceeds to log me out but takes me to the forum index, rather than the portal index. Logging in via the portal works just fine, however. Any ideas?

Also, any tutorials on how to make custom pages?

techhouse
17 May 2005, 09:53
same problem :(

T3MEDIA
17 May 2005, 10:24
I use something like this:
login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]
and I dont get that error anymore.
I place that where ever there is a logout (in the templates)

evss
06 Jun 2005, 16:42
in includes/init.php
This may solve the problem is your main domain:
www.domain.com is been redirected to your
forums.domain.com/vbindex.php


Find:

$http_host = preg_replace('#^www\.#i', '', $http_host);


Replace With:

$http_host = preg_replace('#^(forum|www)\.#i', '', $http_host);