Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter j63

    (@j63)

    Bizarrely 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.

    Thread Starter j63

    (@j63)

    The define() and add_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 the wp_site table anymore. It’s definitely in the foo_bar_global database, though.

    I tried var_dump()ing the $db_servers and $db_ds_parts variables 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_servers is populated with two datasets, the global dataset containing exactly one entry (at $db_servers['global'][0][0]) and the foo_bar dataset containing one entry per non-global table, with incrementing part.

    $db_ds_parts assigns databases to partitions, with foo_bar_global being assigned to global_0 and the others to foo_bar_(incrementing number).

    Forum: Networking WordPress
    In reply to: Per-site users
    Thread Starter j63

    (@j63)

    Unfortunately 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…

    Thread Starter j63

    (@j63)

    Yes, that helped, thank you.

Viewing 4 replies - 1 through 4 (of 4 total)