Support » Networking WordPress » Missing wp_posts etc in a WPMU -> WP3.x upgrade

  • nibb


    Hi folks,
    I have come across this issue whilst trying to sort out missing user roles in the various places within the admin that you can change the roles (the drop down list contains only wiki-editor as a role, no subscriber, editor etc), which we had put down to an incompatibility with Wiki Editor plugin.

    In an attempt to see whether the DB was fragged or the file structure, I installed a virginal copy of 3.01, then swapped our DB for the one thats created by default.

    Reloading causes a DB connection problem, going into wp-admin produces the prompt to repair the db, doing so shows that wp-posts through to wp-taxonomy etc are missing.

    Anyone with any knowledge of WPMU pre to its amalgamation in WP 3.0 series be able to tell me if I’m correct here; but – given our original installation was pure WPMU – the default blog/site is wp_1 isn’t it? Not wp_?

    To test the theory, I copied over all the wp_blah tables into the DB for our install ( a copy) and WP kicked in no fuss, well, a bit of whinging about certain tables not being closed by users.

    However of course, there isn’t a wp_ in our site installation, so the default blog is blank.

    All the user roles are back in again! Just not sure this is a neat way of fixing this.

    Andrea and Co – any ideas?

    best wishes and thanks in advance

    Steve / Nibb

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    Yeah, the db structure is slightly different on the main blog between an upgraded wpmu and a 3.x network install. Don’t mix them. 😉

    And the wp-config file checks to see which one.

    the user role issue was also reported in this thread:
    (hang on while I find it)



    Thanks Andrea,
    suspected that might the case. User role issue might have been me, spent a bit of time going loopy between ourselves and the plugin writers for the Wiki plugin. I’d rather not have to try and export the whole lot and import it somehow into a virginal install.

    thanks for having a look



    Did you find it Andrea 🙂
    Still hanging, fingers getting sore 😉

    Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    took me a bit as I know the user under two names, so it’s harder to remember (if I could search visually by gravatar, that’d be awesome 😀 )

    See if that gets you in the right direction.



    Well, not sure if its a related issue, but I hadn’t thought of looking in the wp_x_options! lookee see what I found:

    a:1:{s:11:”wiki_editor”;a:2:{s:4:”name”;s:11:”Wiki Editor”;s:12:”capabilities”;a:7:{s:4:”read”;b:1;s:10:”edit_posts”;b:1;s:17:”edit_others_posts”;b:1;s:20:”edit_published_posts”;b:1;s:9:”edit_wiki”;b:1;s:10:”edit_pages”;b:1;s:9:”edit_post”;b:1;}}}

    Which could be conflicting with or even overwriting default roles potentially I guess.

    Thanks Andrea, flabber tired rather than gasted this time 🙂 Will see what else I can find with a prod and a poke and a vicious mysql drop command



    Yoiks, the proper content from a virginal wp_options is (and I think we have the nub of the crux of the fiddly bit of the matter:


    Gonna try replacing one with the other 🙂



    Solution found, and tested
    Thanks Andrea for the hint, I have done a basic cut and paste of the virginal wp_options value for wp_user_roles, all the roles are now back in.

    Odd prob though, think it has to have been the plugin overwriting the values, but why?

    Odds Bodkins eh!

    Cheers all


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Missing wp_posts etc in a WPMU -> WP3.x upgrade’ is closed to new replies.