Page 1 of 2

ERR_TOO_MANY_REDIRECTS

Posted: Fri Jan 20, 2017 5:25 pm
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

Re: ERR_TOO_MANY_REDIRECTS

Posted: Fri Jan 20, 2017 8:26 pm
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

Re: ERR_TOO_MANY_REDIRECTS

Posted: Fri Jan 20, 2017 9:33 pm
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.

Re: ERR_TOO_MANY_REDIRECTS

Posted: Sat Jan 21, 2017 3:28 pm
by mLgz0rn
Hey, thanks for the quick response.
I just tried using that file, cleared cookies before.
But it still happens

Re: ERR_TOO_MANY_REDIRECTS

Posted: Sat Jan 21, 2017 7:48 pm
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

Re: ERR_TOO_MANY_REDIRECTS

Posted: Mon Jan 23, 2017 10:40 am
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.