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: 1957
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: 1957
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 176 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: 1957
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.

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

Re: New user sign in keeps reloading

Post by axew3 »

tested that axew3 do not reload now, works fine, let know!

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

Re: New user sign in keeps reloading

Post by axew3 »

p.s while testing remember the must, if you create users in phpBB with no right options:

username/email pairs need to be unique, no same email for different usernames, no different usernames with same email address, that are possible options in phpBB BUT NOT in WP.

IF your installer in WP UID1 has been created with different username of the installer user in phpBB UID2, be sure that another user in phpBB, will NOT register or exists, with the username used as installer in WordPress. Put this name into excluded/reserved usernames, so you'll be sure it will not be registered.

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 tried to register a new user in WP and then go to the kiteforum, make a new post etc. That went all well. Super. Then I logged out via WP and went back to the kiteforum. Was logged out there as well. That was great.

Then I tried to login via the kiteforum (in iframe) but this was not possible via the fields under the kiteforum boards. Via the button above the kiteforumboards at the right, it was possible. However as soon I did this the page kept reloading again. If i go back to the homepage and then manually to the PHPBB forum board (without iframe) I am still logged in but in WP i am not logged in.

If you have ideas, please let me know. Much appreciated.

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, see met previous reply.

I just tested without the Iframe on a custom page. So directly were the forum itself is. Then it works fine. I looks like i am having issues with the Iframe but can't see what I am doing wrong. Any help is welcome.

Post Reply