• Resolved leisegang

    (@leisegang)


    I recently moved my site from a multisite install.

    I copied ALL of the tables from the database.

    Downloaded wordpress. Renamed the tables. and it worked. Sort of.
    Everything is fine except that i cant install themes and plugins.

    “You do not have enough privileges to access this page” when i try to open this link: domain.com/wp-admin/plugin-install.php

    I have reset the wp-config.php file and have a vanilla .htaccess.

    Any solutions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Gratuitous link: http://halfelf.org/2013/breaking-up-multisite/

    It’s probably the permissions/roles in wp_options:

    Either way you get to fuss even more. And don’t forget what I talked about in Recovering Your Cape: If your tables are named wp_x_ then you MUST have a field called wp_x_user_roles in wp_x_options, or no one will have any permissions at all. This almost makes it easier to think “Well I should just add in _x right?” You’d think, but then you’re stuck with this funny prefix you have to account for in your wp-config.php file, and you also have to consider what if hulksmashblog.com later wants to make itself a multisite. Be nice to the next guy. I would rename the tables, and then run a search/replace for wp_x_ and wp_ using wp-cli or that script.

    Thread Starter leisegang

    (@leisegang)

    Thanks for finding the problem.
    I installed User Role Editor

    Loaded the administrator. Pushed RESET and OK and it was fixed 😀

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when moving from multisite to single install’ is closed to new replies.