Page 1 of 2

Unable to Login after Integration

Posted: Fri May 08, 2020 10:34 pm
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

Re: Unable to Login after Integration

Posted: Sat May 09, 2020 4:16 pm
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

Re: Unable to Login after Integration

Posted: Sat May 09, 2020 4:40 pm
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

Re: Unable to Login after Integration

Posted: Sat May 09, 2020 4:57 pm
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.

Re: Unable to Login after Integration

Posted: Sat May 09, 2020 5:21 pm
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?

Re: Unable to Login after Integration

Posted: Sat May 09, 2020 5:57 pm
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

Re: Unable to Login after Integration

Posted: Sat May 09, 2020 6:14 pm
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?

Re: Unable to Login after Integration

Posted: Sun May 10, 2020 8:17 am
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

Re: Unable to Login after Integration

Posted: Sun May 10, 2020 1:19 pm
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.

Re: Unable to Login after Integration

Posted: Sun May 10, 2020 4:23 pm
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.