• Resolved tigeress66

    (@tigeress66)


    I appear to have been locked out of my admin page as when I attempt to go to the site, https://anitagoodesignonline.com/wp-admin I get a response that says “you do not have sufficient permissions to view this page”. I feel I have exhausted most options. I tried deactivating my plug-ins from my blue host cpanel, I changed the theme, I updated the wp-login.php file, but nothing is letting me get beyond that particular error message. Is there something in a coding file that I must change or anything I could possibly do to get into my wordpress dashboard?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator James Huff

    (@macmanx)

    It sounds like your account may have lost admin privileges for some reason.

    If you are not using Multisite, access your database via phpMyAdmin (most hosting providers offer this in their control panel), go to the wp_users table and find the row for your user_login . Note the ID of this row. Now, go to the wp_usermeta table and find the wp_capabilities row for your user_id . Set the value of this row to:

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

    Thread Starter tigeress66

    (@tigeress66)

    Thank you James, I did as you instructed through my phpadmin (it’s blue host) and unfortunately nothing changed. Is there another thing I could try?

    Moderator James Huff

    (@macmanx)

    Hm, I wonder if a function might be conflicting.

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter tigeress66

    (@tigeress66)

    I tried all of those steps already with no resolve, but I went through and tried each method again that you just suggested and again, nothing. When I disable the plug-ins I receive the same error message and when I change the theme directory I still get the same message, plus the website appears blank and does not substitute anything with a default theme. The other method I tried was going through the myphpadmin and manually changing the theme name to twentyfourteen which resulted in the theme being changed on the website, however the wp-admin still directed me to a page that says I have insufficient permissions to access the page.

    Moderator James Huff

    (@macmanx)

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter tigeress66

    (@tigeress66)

    YES!!! Thank you, that fixed everything! <3 <3 <3

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP-admin insufficient permissions’ is closed to new replies.