Unable to Login after Integration

tjonas331
User w
User w
Posts: 9
Joined: Fri May 08, 2020 10:27 pm

Unable to Login after Integration

Post by tjonas331 »

Hey,
I went through the steps int your guide https://www.axew3.com/w3/cms-plugins-sc ... InstallFAQ
When it says Done i activated the integration after that I got logged out and I am unable to login into my wordpress.
I am able to login into phpbb but still unable to login into wordpress.
I even tried to reset my password in wordpress without success.
But when I disable the plugin and reset my wordpress password again, everything works fine.
Do you know what I did wrong?

Thanks in advance

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

Re: Unable to Login after Integration

Post by axew3 »

The cookie setting.
If the problem is the cookie, note that you have to setup phpBB cookies to be available overall the domain.

Note also that the if the admin user in WP that you're logged in with, is not the default one with that installed wp (uid1), the same user need to exists with same username and email in phpBB. If the user is the default wp installer with uid 1, note that need to exist in phpBB, the installer phpBB uid2, and it is associated with him, despite may crated with different usernames.

if you are in trouble while testing, do not forget No Panic instructions:
viewtopic.php?p=2703#p2703

may try to create an admin in wp, then a correspondent user in phpBB will be created. And test things. If do not work, the problem should be the cookie setting i assume. Let know

tjonas331
User w
User w
Posts: 9
Joined: Fri May 08, 2020 10:27 pm

Re: Unable to Login after Integration

Post by tjonas331 »

So my website is available under https://www.seven-ig.de
and my forum is available under https://www.seven-ig.de/phpBB3/

I have to activate force server url settings and activate https as the server protocol
and my cookie name has to be .seven-ig.de
is that correct?
Thanks in advance for your help

tjonas331
User w
User w
Posts: 9
Joined: Fri May 08, 2020 10:27 pm

Re: Unable to Login after Integration

Post by tjonas331 »

Ok, so my main problem ist, that as that when I deactivate the plugin, deinstall it, and reinstalll it to make a fresh clean install.
As soon as I activate the plugin I get logged out and I am unable to login even after resetting the password.

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

Re: Unable to Login after Integration

Post by axew3 »

Can you please try to deactivate (there is no need to uninstall or reinstall) the plugin, login wp admin, create an user and make him admin.
Then use this user to check if all works?
It is strange the you can't successfully reset pass.
There is some user sharing same email in phpBB, with different username?
You use a frontend plugin page to reset password, or the default wp flow/page?

tjonas331
User w
User w
Posts: 9
Joined: Fri May 08, 2020 10:27 pm

Re: Unable to Login after Integration

Post by tjonas331 »

So I created a new user on both sites with the same password, email and username.
The user is on both sites logged in as an admin.
When I activate the plugin I get logged out.
But I am only able to log into phpBB.
In wordpress I am unable to login.

P.S.
I was able to deactivate the plugin

tjonas331
User w
User w
Posts: 9
Joined: Fri May 08, 2020 10:27 pm

Re: Unable to Login after Integration

Post by tjonas331 »

I used /wp-admin to reset password (sometimes it does not say password wrong, I get just redirected home the startpage without beeing logged in)

What is also strange, that now my forum is not saving my login and I always have to login again.
Do you know a solution?

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

Re: Unable to Login after Integration

Post by axew3 »

phpBB do not save cookies, and using just session, i assume because the cookie setting into your phpBB is wrong?
OR did you setup the option in phpBB ACP
Allow Remember Me option need to be set to YES and set remember me time maybe to 365 gg.
One of two above mentioned, should be the problem.
Which is the url?
if the url of your site is
mydomain.com
the cookie domain setting need to be .mydomain.com
if it is mysite.co.uk will be .mysite.co.uk
while the cookie path setting need to be a single slash /
if you change these settings, then logout and clean cookies by clicking into Delete cookies link, on the right link on phpBB bottom pages. Re-login

tjonas331
User w
User w
Posts: 9
Joined: Fri May 08, 2020 10:27 pm

Re: Unable to Login after Integration

Post by tjonas331 »

So my Wordpres Site is available under https://www.seven-ig.de
and my PHPBB Site is available under https://www.seven-ig.de/phpBB3/
I attached a screenshot of my cookie and the plugin settings.
Maybe you can see a mistake.
Attachments
W3ALL Settings.png
W3ALL Settings.png (116.18 KiB) Viewed 479 times
Cookie Settings.png
Cookie Settings.png (40.25 KiB) Viewed 479 times

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

Re: Unable to Login after Integration

Post by axew3 »

It seem ok about cookies, but i can't create an account test may because i do not understand the language, it return me error when i try to reg in phpBB, could you create an account to test via wp?
Send me via pm details please.

Post Reply