Roles and users disappeared
-
I am having a problem with roles and users on my WP network. If I look at “All users” I appear to have none. If I try to add an existing user, then I get a message “That user is already a member of this site”
The history of this blog is a bit complex. Originally, it was a WPMU installation, which I upgraded to WP3. This worked fine. However, we got hacked via timthumb. I restored into a vanilla WP3. This failed with a mysterious “Error Database connection” problem.
This turned out to be not a database connection issue per se, but stem from the change of table names for the default blog — wp_1_* to wp_*. I fixed this by renaming the wp_1_* tables to wp_*. Content has magically reappeared. Network users are in place. But the association with the user and the blog is broken. This only happens for the first blog (stored in wp_*) which is why I am pretty sure that it is the renaming that caused the issue.
It’s all a bit unfortunate really that the WPMU to WP3 update didn’t fix the table names at that point, rather than leaving the database in a half WPMU and half WP3 configuration. Still, aside from this, any pointers as to how I might fix this would be gratefully received.
The topic ‘Roles and users disappeared’ is closed to new replies.