WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't access admin control panel - help! (5 posts)

  1. kimwatt78
    Member
    Posted 1 year ago #

    I recently installed magic members software, which was all working brilliantly, until I managed to somehow turn myself into a member instead of an admin! Now I can't access anything on the dashboard except my profile and members content. I have uninstalled magic members through ftp, I have re-installed a backup of the site from before I managed to demote myself, and I've even tried deleting everything from the ftp but wp-content and wp-config.php and re-installing the rest of the files. Nothing so far has worked and I'm completely stumped. I even thought I might have been hacked, but all scans are clear and my server host says it's all fine their end.

    Help!

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    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";}

  3. kimwatt78
    Member
    Posted 1 year ago #

    Thank you so much Esmi! You saved not just my website (which is supposed to be fully functional by Thurs) but my computer from being flung out the window... All working now and won't be making THAT mistake again... others, maybe...

    Thanks again!

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Glad I could help :-)

  5. drumz
    Member
    Posted 7 months ago #

    Thanks esmi!!!!

Topic Closed

This topic has been closed to new replies.

About this Topic