j63
Forum Replies Created
-
Forum: Plugins
In reply to: [SharDB] Database connection errorsBizarrely enough the problem now resolved itself despite me not touching anything. Perhaps some cache-related issue that ended up with my browser confusing WordPress. Waiting seems to have helped.
Still, thanks for the support.
Forum: Plugins
In reply to: [SharDB] Database connection errorsThe
define()andadd_db_server()calls turned out to be unchanged from the original file. The other settings were written below the comment block describing the variables.Changing
$shardb_dataset‘s value didn’t seem to help. I still get the same error except that I now also get a database error when opening blogs – WordPress now can’t find thewp_sitetable anymore. It’s definitely in thefoo_bar_globaldatabase, though.I tried
var_dump()ing the$db_serversand$db_ds_partsvariables at the end of db_settings.php but couldn’t find anything that seemed obviously wrong. Still I’ll describe it in case something is wrong and I’m not seeing it.$db_serversis populated with two datasets, theglobaldataset containing exactly one entry (at$db_servers['global'][0][0]) and thefoo_bardataset containing one entry per non-global table, with incrementingpart.$db_ds_partsassigns databases to partitions, withfoo_bar_globalbeing assigned toglobal_0and the others tofoo_bar_(incrementing number).Forum: Networking WordPress
In reply to: Per-site usersUnfortunately this makes the user namespace global. My question not about not being able to write, it’s about sharing usernames.
The sites in this network are completely independent of each other and use the User Access Manager plugin to have pages accessible only to logged-in users. The site owners expect to be able to use arbitrary usernames for their users – if their blog’s user list has no user called “smith” they expect to be able to create one.
With regular WordPress users they can only do so if no other blog has a user called “smith”. That is unacceptable; the blog owners expect to have no restrictions over what a single-site WordPress installation would give them.
If there is no elegant way of doing this in Multisite I’ll just port the code over. It’s not pretty (especially in how it still litters the global user table with dummy entries) but at least it gets the job done…
Yes, that helped, thank you.