• Hi there. I recently installed user role editor and somehow have managed to completely lockout any admin functions for the admin role, so now I have only read access to my site. The user role editor plugin forum suggested deleting the plugin folder via FTP, which I’ve done, but that’s made no difference. I have no access to edit or change my site.

    Any suggestions on how to restore a full admin login to the site?

    many thanks,
    louiseflora

Viewing 2 replies - 1 through 2 (of 2 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 louiseflora

    (@louiseflora)

    Thanks esmi, but that value is already set. The variables for this user_id are:

    1 1 first_name Buer
    2 1 last_name Sandbox
    3 1 nickname admin343#*43
    4 1 description
    5 1 rich_editing true
    6 1 comment_shortcuts false
    7 1 admin_color fresh
    8 1 use_ssl 0
    9 1 show_admin_bar_front true
    10 1 wp_capabilities a:1:{s:13:”administrator”;s:1:”1″;}
    11 1 wp_user_level 10
    12 1 dismissed_wp_pointers wp330_toolbar,wp330_media_uploader,wp330_saving_wi…
    13 1 show_welcome_panel 0
    14 1 wp_dashboard_quick_press_last_post_id 576

    See anything else kooky?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘admin account lockdown – user role editor’ is closed to new replies.