• I am the only admin on my blog (jesshaines.com/blog) and I was having some issues earlier this month. I’ve had to have my webhost (Yahoo) step in three times already to fix it. I finally figured out enough to find the scripts log and figure out which plug-in was causing the crashing, but now after restoring the database for the third time, when I try to access my WP dashboard (https://jesshaines.com/blog/wp-admin/) I get the following error:

    “You do not have sufficient permissions to access this page.”

    I’m going crazy trying to figure this out. How is it that I (the only admin) don’t have permission to access my own blog? Yahoo won’t fix it for me and I have no idea what to do. Please help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Using Phpmyadmin (or another MySQL management tool), first backup your database. Then navigate to your wp_usermeta table and locate the meta_key called “wp_capabilities” for your user_id. Change the meta-value for this record to:

    a:1:{s:13:"administrator";s:1:"1";}

    Thread Starter AmberDragon

    (@amberdragon)

    Thanks very much for the quick reply!

    I’m sorry, I’m very much a newb at this and I can’t find an option to use anything called Phpmyadmin (or anything like it) on Yahoo. I have been using Yahoo’s file manager, which lets me directly access and edit the PHP files, but I don’t see the wp_usermeta table. Do you happen to know which directory and/or file I can find that in? I’ve checked the wp-admin, wp-content and wp-includes folders but I don’t see a file called wp_usermeta.

    The database is separate from the file area.

    I don’t know which Yahoo hosting package you have. Their website says that their Advanced Plan and Premier Plan allow the use of phpMyAdmin as a free open-source add-on. So you will need to download and install it.

    This software will enable you to access and edit the database in accordance with @esmi’s suggestion.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Admin getting "you do not have permission to access this" on dashboard’ is closed to new replies.