Cannot stay logged in

benw
User w
User w
Posts: 8
Joined: Thu Feb 24, 2022 3:34 pm

Cannot stay logged in

Post by benw »

Hi,

I have migrated users from WP to PHPBB but the user integration is not working properly.

First I clear all cookies for the domain.
Then login to WordPress admin account - it works and I am logged into the WordPress admin. I can see the WP and PHPBB cookies have been set.
Now if I go to the PHPBB forum page - I am not logged into the forum (I can see that the phpbb cookies have been deleted!).
Then I try to go back to the WordPress admin, but I have been logged out there too (I can see that the WP cookies have been deleted).

Any ideas why this is happening?

EDIT:
If I login directly to PHPBB, then the login does seem to work - and I stay logged into WP.
Logging in from WordPress doesn't work.

Settings are:
phpBB hash password
Link phpBB and WordPress users

Thanks,
Ben

User avatar
axew3
w3all User
w3all User
Posts: 2497
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Cannot stay logged in

Post by axew3 »

Hello!
Did you setup the phpBB cookie and ALL others settings, as it is explained here:
https://www.axew3.com/w3/wordpress-phpb ... n-install/
where there are the phpBB side steps?

benw
User w
User w
Posts: 8
Joined: Thu Feb 24, 2022 3:34 pm

Re: Cannot stay logged in

Post by benw »

I had to set the 'Allow “Remember Me” logins' option to Yes within the PHPBB Security Settings.

After doing that it seems to be working. I didn't realise that was required for the integration to work.

By the way, does your plugin support phpBB version 3.3.7 ? Should I not update yet?

Thanks!

User avatar
axew3
w3all User
w3all User
Posts: 2497
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Cannot stay logged in

Post by axew3 »

Yes! this is 3.3.7
Always tested under last, but if any bug report soon!

Post Reply