Page 1 of 1
Can not logout
Posted: Sun Jan 22, 2017 1:44 pm
by k3v1np
With the WordPress w3all phpBB integration set to active users can not log out of WP using the login-logout widget. The phpBB logout will work to logout of phpBB and WP. Any suggestions on resolving this?
Word Press Version 4.7.1
Re: Can not logout
Posted: Mon Jan 23, 2017 12:23 am
by axew3
already reported, as soon i can if nobody else come out ...
in the while ...
since i can't experience it on my tests, i had suggest to change:
open:
class.wp.w3all-phpbb.php
search for all lines that contain number 3600
replace all 3600 with:
31536000
this to exclude a possible problem between server/client different times.
In the other case seem this have not resolve, but the fact is that the
cookie of phpBB isn't properly removed by the related function w3all_wp_logout() into class.wp.w3all-phpbb.php, while the phpBB session in phpBB is removed before, so WP loop, because found a cookie, but related session in phpBB. It should be quite easy to resolve this and force all to work. As soon i can i will take a look.
it seem strange to me because, in the same way it is set and recognized, is used to remove ... the only one thing that should affect, apparently to me, is the time of the cookie.
But the fact that for some other reason the session in phpBB can be also not found, the code need to be patched about this as soon.
Re: Can not logout
Posted: Mon Jan 23, 2017 11:13 am
by axew3
look this post, it has been resolved finally as reported on topic in the way of the correct cookie setting,
BUT/also if, wp_w3all will be patched as soon also to resolve a thing that can come out and so that have come out in my mind, due to this reported behavior. Explained: in phpBB admin can also reset all sessions. If this happen, and users still have a presumable valid (but not more valid as there is no more same session on db) phpBB cookie session, WP will loop until cookies aren't correctly cleaned. This need to be prevented.
next 1.4.8 will resolve also this.
Look here to resolve in the while:
https://www.axew3.com/w3/index.php/foru ... wtopic=330