Logout issue
error 232
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Logout issue
error
OP
232
From: -
From: -
It works now. Thanks.
1 Re: Logout issue
Philipp Esselbach
From: -
Editor
0From: -
I think I found the problem. Please try it again with the updated class_uwrapper_ipb2.php in the attached zip file.
class_uwrapper_ipb2.zip
class_uwrapper_ipb2.zip
1 Re: Logout issue
error
OP
232
From: -
From: -
It doesn't help. Still can't logout
1 Re: Logout issue
Philipp Esselbach
From: -
Editor
0From: -
Sounds like a cookie path issue. Open class_uwrapper_ipb2.php in an editor and replace:
with:
and:
with:
Does this help?
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "member_id", $userid );
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "pass_hash", $pass_hash );
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "ct_theme", $theme );
with:
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "userid", $userid, mktime()+31536000, "/" );
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "password", md5( $password . $preferences[ 'website_uwrapper_customer' ] ), mktime()+31536000, "/" );
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "ct_theme", $theme, mktime()+31536000, "/" );
and:
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "userid", 0 );
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "password", 0 );
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "ct_theme", 0 );
with:
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "userid", 0, 0, "/" );
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "password", 0, 0, "/" );
setcookie( $preferences[ 'website_uwrapper_cookieprefix' ] . "ct_theme", 0, 0, "/" );
Does this help?
My test site is connected with forum database. When I try to logout on site I can't. No matter what I do. I need to logout in forum first then in CT. Same for login. First login in forum then in CT.