WordPress.org

Support

Support » How-To and Troubleshooting » Sudden You do not have sufficient permissions to access this page error

Sudden You do not have sufficient permissions to access this page error

  • I have been using wordpress 2.7 on 6 blogs since early December. Suddenly I am getting a You do not have sufficient permissions to access this page on the plugin install page for one of the six blogs.
    I am logged in as admin.
    This is the only page with this error, I can carry out all other admin functions including upgrades.
    I have tried deleting and reinstalling the entire wp-admin directory but the problem persists.
    I have done a search on You do not have sufficient permissions to access this page but the other posts are after a new upgrade and/or about lack of admin access site wide. I can’t find information on access being prohibited on a single page.
    Any ideas?

Viewing 15 replies - 1 through 15 (of 28 total)
  • I have followed all of the steps outlined in the codex, http://codex.wordpress.org/Login_Trouble. I changed the lines in the files as instructed, repaired the database, and have done fresh installs of the wp-config and wp-login file
    I have tried setting up another user with admin privileges but they still get the You do not have sufficient permissions to access this page error. Its been several weeks now and I still can’t seem to find a way to bring back admin privileges on this blog.
    Any assistance is most appreciated!

    I finally was able to remedy the problem by forcing a database upgrade. The force db plugin did not work, I had to do this manually by reseting the db_version in the wp_options table to 8204. I logged out and then back into wp-admin. I clicked the upgrade database button and all admin privileges were restored.

    Can you do a more step by step for this? I believe I have the same issue.

    What is the force db plugin? where can I get it. My searches are not finding it.

    Ah that worked for me too! After much fussing around I worked out what you meant.

    I went to wp-admin/options.php

    Changed the db version to the last (8204)

    It then forced a database upgrade and fixed the problem!

    Thank God for this post! I had the same issue. I also tried the force_upgrade.php script but it did not work.

    Going into phpmyadmin and fixing wp-admin/options.php and then db_version to 8204 worked for me!!

    VERY sadly, it didnt work for me !

    I went through phpmyadmin and changed db_version from 9872 to 8204 and tried to login, and I got message telling that I need to upgrade.

    I upgraded the DB, and tried to login again using my two different admin accounts, but I still get the same insufficient permissions message !!

    I am suffering not having this problem only, but GOd knows what :

    “Crazy admin panel and a blank index” http://wordpress.org/support/topic/244158?replies=4

    http://www.al-rasid.com

    can’t find any db version in admin/options.php

    any idea where it is – can’t even find the db version in phpmyadmin

    found the table and forced the upgrade a couple of times – no go.

    Tried with the default permalinks as well as a custom – no go

    this is a BUG!

    I too am having this problem. I went into phpmyadmin and changed the db_version back to 8204, then went back to the admin and performed the upgrade, but I still get the

    You do not have sufficient permissions to access this page.

    error. I am at a loss for what to do at this point. @noise what do you mean when you say “tried with the default permalinks as well as a custom”?

    Hi to alls,

    By a week my blog (storiaduepuntozero.freehostia.com) is refusing to access at control panel, wp-admin ecc., and tell me:
    “You do not have sufficient permissions to access this page”.

    The blog works for visitors, can view posts and pages ecc.

    After I’ve read this thread I tried accessing in wp-admin/options.php, WordPress tell me like “you think to be smart?” and refuse to allow access.

    After, tried to change db_version from 9872 to 8204, then login: WP told me “Need a database upgrade”, ok, but after nothing changed, same error message about permissions.

    Kjetterman, what about “wp-admin/options.php fixing”? I don’t understand…

    Previous attempts, alls failed:

    – Verification of permissions of alls files & folders (755, 644): all was in right place;

    – Delete of .htaccess file;

    – Renaming “plugins” folder: blank screen;

    – Renaming each plugin folder, one by one: nothing happen, but renaming plugin “wp-supercache” result is blank screen.

    What can I do to solve the problem?

    Sigh, I have the same problem too.

    I have similar problems after moving my blog to a different server.

    The blog works just fine for visitors, but when I’m trying to login as Admin, I get “You do not have sufficient permissions to access this page”.

    Updating the database or modifying .htaccess or deleting plugins doesn’t help.

    I got one step further.In wp-admin/includes/plugin.php in the function user_can_access_admin_page if you change the lines

    if ( empty( $parent) ) {
                    if ( isset( $_wp_menu_nopriv[$pagenow] ) )

    to

    if ( empty( $parent) ) {
    unset($_wp_menu_nopriv[$pagenow]);
                    if ( isset( $_wp_menu_nopriv[$pagenow] ) )

    then you’re able to login … but you have no permissions to do anything.

    Any help appreciated.

    In my case the problem was that I had renamed my tables and changed the prefix in wp_config. Apparently I needed to change something else in addition to these things.

    Okay, found this. The first one would have done it.

    For table wp_new_options
    wp_user_roles becomes wp_new_user_roles

    For table wp_new_usermeta
    wp_capabilities becomes wp_new_capabilities

    wp_user_level becomes wp_new_user_level

    wp_autosave_draft_ids becomes wp_new_autosave_draft_ids

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘Sudden You do not have sufficient permissions to access this page error’ is closed to new replies.
Skip to toolbar