New user sign in keeps reloading

vandiesel
User w
User w
Posts: 6
Joined: Fri May 29, 2020 5:26 am

New user sign in keeps reloading

Post by vandiesel »

Hi, i worked with the tool but when I register as new user the page keeps reloading.

Have studied several topics but without any luck.

Any help is much appreciated

https://kitesurfpro.nl/kiteforum
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: New user sign in keeps reloading

Post by axew3 »

Hello. I've just registered an user in phpBB, and ok all works fine.
Except if i login in phpBB, iframed, then loop start.
This because i see that last fix i added to avoid this problem, seem to still not work for some reason.

If i stop browser reload, after phpBB login in iframe, then i go to wp side, i result logged in in wp, then if i return in phBB all works fine. No reload.
THEN, the problem is that when page reload, after a login in phpBB via iframe, still the user is NOT logged for some reason in WP. SOmething in the flow goes wrong.
Try to login WP, and go to iframe, the reload do not happen. Try to login in phpBB, then navigate to wp and return into https://kitesurfpro.nl/kiteforum/ , the reload do not happen.

Seem you done all right, let me check the problem i will return here asap. This do not happen here in this example, very strange
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: New user sign in keeps reloading

Post by axew3 »

Ok, i see this (that's strange and at moment i have no explain why this happen).
I see that when i login into your phpBB, at
https://www.kitesurfpro.nl/forum/
when login happen, and phpBB cookies setup, also wordpress cookies setup. That do not depend by the plugin, that run into wp side only, so it is strange that even if you're at phpBB real url, not iframed, it setup onlogin in phpBB the wordpress cookie.

Beside this, that's very strange, can you please, or are you able to, open file

/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php

with a text editor, and where these two lines:

Code: Select all

header("Refresh:0");
     return;
change into

Code: Select all

//header("Refresh:0");
     //return;
and let know what happen?
vandiesel
User w
User w
Posts: 6
Joined: Fri May 29, 2020 5:26 am

Re: New user sign in keeps reloading

Post by vandiesel »

Hi, just changed the codes as asked for. However no success yet.

With my first setup admin account it looks like this works well now.

But with another useraccount eg 'redactie' I am not able to logon wordpress and when I log on to https://kitesurfpro.nl/kiteforum/ it looks like this goes well but it push me to https://kitesurfpro.nl/kiteforum/?w3=YX ... Fzc3dvcmQ= were i see a double hearder without any forum and I am not logged in to wordpress (see attachement)
Screenshot_2020-05-29 kiteforum KitesurfPro.png
Screenshot_2020-05-29 kiteforum KitesurfPro.png (366.61 KiB) Viewed 3579 times
.

When i then go back to https://kitesurfpro.nl/kiteforum i see i am logged in but it keeps reloading again. When i go then to https://kitesurfpro.nl/forum/ then a screen is stable and i am logged in the forum as 'redactie'. Going back to wordpress I am still not logged in.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: New user sign in keeps reloading

Post by axew3 »

it do not happened nor to axew3 right now, just tested seem to work
So obscure at moment .... let know if something come out, i will follow some while to check, when something with sense while doing something else, come out in mind ...

the comment to the code i asked you to edit, still in place?
the code is how i asked you to be changed?
vandiesel
User w
User w
Posts: 6
Joined: Fri May 29, 2020 5:26 am

Re: New user sign in keeps reloading

Post by vandiesel »

axew3 wrote: Fri May 29, 2020 7:55 pm it do not happened nor to axew3 right now, just tested seem to work
So obscure at moment .... let know if something come out, i will follow some while to check, when something with sense while doing something else, come out in mind ...

the comment to the code i asked you to edit, still in place?
the code is how i asked you to be changed?
Hi, thx so far. Yes, the code you asked me to change is still in place. I will play a bit more but carefully with all the options.
Post Reply