(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 »

so, before 1.6.6 i've try out a MU WP install.
I mean a subfolder MU mode, not Network.

These the result:
on main Admin site, the integration work.
but if you activate also for subsites the plugin, this happen

Code: Select all

WordPress database error Table 'w3test.wp_2_users' doesn't exist for query UPDATE
reason:
on a WP MU install, wordpress clone/create all wp tables, for each new site which run using these separated tables, EXCEPT the wp users table, which remain the default one i see. Queries are performed into correct tables except for this that lead to a mysql error of course.
So, a switch for the code about this table, when the code is executed on a subsite MU, is necessary to not lead to this behavior, just searching for user table with main prefix and not MU prefix.
Another thing that had me lead on test to a loop, is the fact that i have test to create a new test subsite, and i see in this case, that a default admin user for this site, named as the site created (like i have create site subsite1, and an user subsite1 also, admin of this site has been created). I've try to access admin of the subsite with admin on the main and a loop start. This until i have not add admin user to the subsite manually.

These two problems i've found, i need little time more to check all and fix. I guess that the joke about wp user table prefix will get all working fine at once. We will see. By the way, it will result impossible to link different forums on subsites, if you let users register also in phpBB. I think (but i need to check) that will be impossible to link a phpBB into main, and another phpBB install into another sub, because if the WP db users table is one only, this lead to a not correct users additions into the same WP users main db table by two different phpBB
Sorry for some delay in these (for me) bad days due to some health problem that i need to resolve before the summer come! Of course, together maybe with a working WP MU integration working on sub sites!
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 »

p.s to better say here: it is possible to integrate various phpBB, one for each MU subsite, but allowing only registrations for users only in WP side, and NOT allowing registrations on phpBB.
so the above has been edited.
And it is intended when on next versions will be updated to fix things about this.
pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: Page redirect loop on configuration

Post by pennymachines »

Hi
Thanks for your reply and above all - get well soon!

I didn't really understand all you said - too complicated for me!

Currently I use aMember Pro to handle my user database. It clones all changes to the phpBB user database, so they remain synchronised. So effectively users are handled by phpBB, not Wordpress. The plan is to have all my WP multi-sites and phpBB share the same members.

I'm not sure if you think this will be possible with W3all. I will wait and see.
pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: Page redirect loop on configuration

Post by pennymachines »

I re-read your replies and think I now understand what you said.

I have only one instance of phpBB (and will not need more).
So one phpBB membership database integrated with several sub-sites of a Wordpress multisite installation is the aim.

I move from phpBB 3.1 to 3.2 shortly.
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 »

i need to take a dive in into MU a second to see/resolve many questions on air ...
pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: Page redirect loop on configuration

Post by pennymachines »

OK, now on phpBB 3.2.0 so I gave this another try.

Unfortunately, the result was the same. I get "Wp w3all miss phpBB configuration file (or you have the phpBB config.php not well configured)."
Logging in gets stuck in a loop, so I have to rename or remove the plugin.
Post Reply