Help: Locked out of Wordpress Admin

Discussion in 'aMember Pro v.4' started by konnichiwawa, May 31, 2013.

  1. konnichiwawa

    konnichiwawa Guest

    Hi,

    I added a product to one of our protected folders, it wrote to the htaccess file, and I chose to "rebuild Db."

    Now I can not access the Wordpress Admin. Error says "You do not have sufficient permissions to access this page."

    I really need help and can not wait for the help desk to come back from the weekend.

    Thank you,
    Aaron
  2. konnichiwawa

    konnichiwawa Guest

    Update:

    I was able to fix the problem. Here's what you can do if this happens to you..

    1.) go to WHM -- Login with your root user and password

    2.) Go to the side search bar and type in phpmyadmin -> Click it.

    3.) Go to the Wordpress database

    4.) Go to the table wp_users and find the user id you want, then go to the user_id column, and remember that user id

    5.) Go to the table wp_usermeta, click the user id column to sort by user ID -- Scroll to the user ID in question and find the row labeled wp_capabilities with that user_id.

    6.) Change the meta_value column on that row to a:1:{s:13:"administrator";b:1;} (It keeps defaulting to a:0:{} , which is 'suspended' which is what's causing this issue -- the afforementioned tells wordpress that the user is an administrator and has the powers attached)

Share This Page