• mongrel

    (@mongrel)


    Hi, all!

    I’ve been running WP sites forever and have never encountered this. I can log in to my site with the admin credentials, but have zero admin control. The only item in the dashboard is a link to Content Aware Sidebars, but I’m “not authorized” to view that plugin.

    This site is one I built for a client, and lives on a server I don’t control. It would seem that the client shared admin credential with her host (a local homegrown hosting company) and gave the guy the admin password and username, and he decided to lock me out, or…

    Somehow the site has been hacked. None of the content has changed, as far as I can tell, but that may be on the horizon if I can’t regain control.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 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 your hosting account’s control panel, and you will need access to that in order to do anything), 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;}

    If you don’t have access to your hosting account’s control panel, you’ll need to either get access to that or ask another admin on the site (hopefully there still is one) to promote your account again.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.