Login Loop

Tolodine
Posts: 3
Joined: Wed Oct 23, 2019 2:18 am

Login Loop

Post by Tolodine » Wed Oct 23, 2019 2:24 am

I have read all of the instructions provided before activating the plugin but as soon as I put in the absolute path to the phpbb config.php file, I get into a login loop. What I mean is I can log into the site but then it redirects me to back to the main page of my site and logs me right back out. Does the same thing when I go to my wp-admin page. I try to log in and it redirects me back to my main page and logs me right back out. I have a user with the same username and email and even the same password on the phpbb forums as the one I am installing the plugin with. Any suggestions would be helpful.

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

Re: Login Loop

Post by axew3 » Wed Oct 23, 2019 1:38 pm

CLEAN UP ALL COOKIES on browser if not already done, or click into phpBB bottom link and delete all board cookie.
Then try to re-login.
Still in trouble?

Tolodine
Posts: 3
Joined: Wed Oct 23, 2019 2:18 am

Re: Login Loop

Post by Tolodine » Wed Oct 23, 2019 8:20 pm

Unfortunately not. I have playing with it for about 2 days trying different things. As I said, I followed all of the instructions. Only thing I can think of is it might be Jetpack doing it but not really sure. Luckily I know how to modify the tables and break the plugin so I can get back into my admin panel.

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

Re: Login Loop

Post by axew3 » Wed Oct 23, 2019 10:24 pm

happen for several reasons, but the plugin work fine into sites with any plugin installed i can assure, even if i not tested jetpack from long time...
did you setup as https both phpBB and wp, if on https, and http if http?
Is the site online?

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

Re: Login Loop

Post by axew3 » Wed Oct 23, 2019 10:34 pm

read post above and ...
p.s about login to your wp-admin:
READ NO PANIC INSTRUCTIONS:
viewtopic.php?f=13&t=679

Tolodine
Posts: 3
Joined: Wed Oct 23, 2019 2:18 am

Re: Login Loop

Post by Tolodine » Fri Oct 25, 2019 7:01 pm

Both forums and wordpress are https. The forums are just in a sub directory off the root. Wordpress is in the root. Only difference in the 2 is that phpbb uses a different database from wordpress. After playing with it for a few days I kind of gave up on it. I wish I could get it to work.

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

Re: Login Loop

Post by axew3 » Sat Oct 26, 2019 2:53 pm

the fact that the database is different, do not change nothing, your problem is, a cookie problem. Substantially any problem with this plugin about logins, are +- ever cookie problems. Here some common solutions you can follow check to be up and running


Did you setup cookie in phpBB to be available over all the domain?

On ACP, cookie setting:
You need to setup as localhost if on localhost and as
.mydomain.com
if online on some site. Be careful on setting up these settings or you'll not be able to re-login into your board until this setting not ok.
If changed, logout and CLEAN COOKIES on browser (may click into bottom phpBB link "Delete cookie" (that will delete all board's cookies))

Check also that this setting in ACP, on
Server configuration -> Security settings
the setting -> Allow "Remember Me" logins:
set it as Yes

and
Remember Me" login key expiration length (in days):
Number of days -> 0 (zero)

We should have cover all common possibilities here, then i hope you'll be up and running soon!

Post Reply