(WPMU-MS) Page redirect loop on configuration

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

Re: Page redirect loop on configuration

Post by axew3 »

Yes, i've do a jump into.
It was necessary to add some code to get all working.
Ok fine, but now, before i lost more time with my bad eng, so i need to loose time on reading long explanations that i often not understand (i learn normally better looking behaviors, that's strange) , i see one thing.

If i register a new user, it is correctly added into phpBB now (so the user exist in phpBB and you have not loop: memo: loop = or the user not exist into phpBB or cookie aren't properly recognized/set onlogin: the loop happen because the main function not find out one of these two conditions).

Now the user is created but i see in mp msmu the user have no role when register and finish signup: so when it is added into some subsite you activate with a specific role. It is ever in this way the wp msmu work? Manually adding user and so to him is applied manually the role?

Better than this, maybe i will give you the code to test, so you can see what in case still not work and we can fix in short.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Page redirect loop on configuration

Post by axew3 »

Check if you can this code and follow please on this topic, we will try to fix things in short:
https://www.axew3.com/w3/index.php/foru ... wtopic=488
pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: (WPMU-MS) Page redirect loop on configuration

Post by pennymachines »

Thank you very much for trying to fix this.
Unfortunately, no luck so far.

I cut and pasted the code into the two files as instructed.
When I activate the plugin in one of the subsites, I am immediately logged out of admin and sent to the front page (index.php).
I can only get back into that subsite admin by removing or renaming the plugin.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: (WPMU-MS) Page redirect loop on configuration

Post by axew3 »

class.wp.w3all-phpbb.php and wp_w3all.php files has been patched to fix:
addition fail when site is created by admin. The created/related wp user isn’t created into phpBB also.

download here files
https://plugins.trac.wordpress.org/expo ... ion/trunk/

or re-download plugin and overwrite.
Let know!
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: (WPMU-MS) Page redirect loop on configuration

Post by axew3 »

pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: (WPMU-MS) Page redirect loop on configuration

Post by pennymachines »

Thank you so much for all your work on this - donation sent. 8-)
Post Reply