ERR_TOO_MANY_REDIRECTS

mLgz0rn
User ww
User ww
Posts: 42
Joined: Fri Jan 20, 2017 5:23 pm

ERR_TOO_MANY_REDIRECTS

Post by mLgz0rn »

So I just started using your plugin, and so far it's working great.
Except when I press the "logout" button from the widget.

If I do that the page just starts loading, and end up showing a "ERR_TOO_MANY_REDIRECTS" error.

This is the page http://nm-inc.clanroyal.dk
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: ERR_TOO_MANY_REDIRECTS

Post by axew3 »

yes i see... your phpBB cookie isn't reset when logout is fired, but sessions in phpBB yes.
This lead to loop wp that get a cookie, but not a session. Will be resolved as soon and
I will return over this to fix, but int he while, this can happen also just due to wrong time setting between server/browser (since i do not experience it on my tests).

Can you try to change your class.wp.w3all-phpbb.php with this one in attach to see what happen?
class.wp.w3all-phpbb.zip
(12.95 KiB) Downloaded 216 times
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: ERR_TOO_MANY_REDIRECTS

Post by axew3 »

i've just reload the file please try this attached above, that has been changed seconds after from this post.
p.s also delete cookies on browser before test.
mLgz0rn
User ww
User ww
Posts: 42
Joined: Fri Jan 20, 2017 5:23 pm

Re: ERR_TOO_MANY_REDIRECTS

Post by mLgz0rn »

Hey, thanks for the quick response.
I just tried using that file, cleared cookies before.
But it still happens
mLgz0rn
User ww
User ww
Posts: 42
Joined: Fri Jan 20, 2017 5:23 pm

Re: ERR_TOO_MANY_REDIRECTS

Post by mLgz0rn »

I seem to have got it working now.

Changed the timezone of wordpress and phpbb to be the same as the webservers.
And changed the cookie domain to .clanroyal.dk instead of nm-inc.clanroyal.dk.


I do have another question though.
How do you link to a page/topic/forum within the embeded forum page? At the moment when I link something I goes to the phpbb board without being embeded.

[EDITED] to highlight
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: ERR_TOO_MANY_REDIRECTS

Post by axew3 »

ah nice! yeah this correct setting!

The template is a part separated, may when i write this you'll have already read these:

Help install:
https://www.axew3.com/w3/cms-plugins-sc ... tegration/

Template:
https://www.axew3.com/w3/2016/02/embed- ... esponsive/

p.s just to mention latest patch: look that file class.wp.w3all-phpbb.php of 1.5.7 has been updated on repo just this night, to fix a bug about avatar if setting in phpBB are active also for http: url avatars as option.

Update it if you use also url option as avatars in phpBB to get all work fine.
Locked