Login problem

User avatar
floxshifu
User ww
User ww
Posts: 48
Joined: Sun Sep 18, 2016 6:14 pm

Login problem

Post by floxshifu »

Hi,

I still have a login problem on my website between WP and phpBB.

When I'm logging in through w3all widget on my WordPress side, i'm logged in on both (wp+phpbb) but, when i'm on the indew of my forum and I click on a forum or subforum or newly post, i'm directly disconnected...

Same thinf, if i try to login directly on phpBB side, i'm disconnected right after logged in, and redirected on login page of WordPress. It's a loop.

I have set all the settings, deleted my cookies... And i'ts still not working. I don't know why, but it's really boring... :(

Mayne I can precise one thing : it's happening very very often when I'm on my phone, but really less on pc. And, when I choose "use pc version" on my phone, it seems solve the problem... Can you check this??

my website is csct38.com and you alrrady have an account on it. ;)

User avatar
floxshifu
User ww
User ww
Posts: 48
Joined: Sun Sep 18, 2016 6:14 pm

Re: Login problem

Post by floxshifu »

Problem seems solved. I have disabled in ACP some security settings (ip validation, navigator validation, head X-forwarded-for) and forced securised cookies settings to yes, and it seems great for now...

I'll get a backup here later.

User avatar
floxshifu
User ww
User ww
Posts: 48
Joined: Sun Sep 18, 2016 6:14 pm

Re: Login problem

Post by floxshifu »

Hi there,

Login issue is still not solved. And I really don't know what is the problem.
The login can't be stable if I login directly on the forum.
I must be logged in through the login axew3 plugin in the wordpress side before accessing the forum... It's a bit boring... 😔

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

Re: Login problem

Post by axew3 »

Ok i tested the login and it work fine on phpBB side, and all cookies correctly released, they will expire on 2023.
So let see what will happen.
Would you test the new coming /class.wp.w3all-phpbb.php that resolve an aspect and that may will solve the problem you report, even if this way, we'll never know from where your problem was coming out.

PS 2.6.5 has been released!

User avatar
floxshifu
User ww
User ww
Posts: 48
Joined: Sun Sep 18, 2016 6:14 pm

Re: Login problem

Post by floxshifu »

Re,

I have updated the plugin, and deleted the forum cache+sessions let's see if the issue is solved. Fingers crossed.

User avatar
ale
User w
User w
Posts: 5
Joined: Sun Jul 22, 2018 9:43 pm

Re: Login problem

Post by ale »

Do you use some cache plugin in WP?

User avatar
floxshifu
User ww
User ww
Posts: 48
Joined: Sun Sep 18, 2016 6:14 pm

Re: Login problem

Post by floxshifu »

Yes, but the issue was here long ago before i add the wp cache plugin.

Since the update, it seems solved ... We'll see in next days!

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

Re: Login problem

Post by axew3 »

Ok, if you can please let me know what you use.
I will try to test the plugin with WP Super Cache to detect this issue beside it has been resolved or not with latest few lines of code added on last 2.5.6.

Normally you should setup Cache plugins to not run for connected users:
viewtopic.php?t=1664

By the way, i like to resolve this aspect that i assume affect many, so that will be not necessary to disable the cache for logged in users into Cache plugins admins.
It will be fixed asap and i will let u know also here
thank for your reports.

PS 2.5.6 resolved the problem under certain aspects because the code now, before to logout an user if no valid phpBB session found, restart/reset the phpBB session, if the user result to be logged in wordpress instead. And this resolved the problem i assume.
I will test a Wp super cache to check that all is working as expected, or a patch will be applied to cover and definitively fix this issue

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

Re: Login problem

Post by axew3 »

Ok just tested 2.6.5 with WP Super Cache, and all options enabled, also the not recommended (cache for logged in users) and all is fully working!

Let know if any trouble more ;)

User avatar
floxshifu
User ww
User ww
Posts: 48
Joined: Sun Sep 18, 2016 6:14 pm

Re: Login problem

Post by floxshifu »

Hi !

Everything is fine for me since the last update ! It's all good :D
Thank you for your support !

Post Reply