Support » Fixing WordPress » Admin Role lost Admin Privileges

  • Resolved mbolsinga


    I’m helping someone out, and got into the middle of their site move. It was already at 3.5. FTP’d all the WP files, imported the database. Everything seems to be in place. The only user, however, doesn’t seem to have admin privileges. When logged in, I can’t edit existing Pages, and don’t have access to the users tab (it’s not there). It appears that the user is only an author. However, in checking the database, it appears that the user has the correct capabilities, based on what I have in other site tables that are working:

    Since I can’t get in to the Users tab to change this user to an administrator, I’m at a loss as to what I can do. I tried creating another user using phpMyadmin, but since I was basically making it the same as the original one, it had the same results when logged in. Could there be something in the options table field wp_user_roles that is out of sync with the user meta table?

    Also, there may be a problem with the mySQL connection collation, which is messing up some of the html parsing. Could this also be affecting the data in the options table, such as the wp_user_roles field?

    Any help anyone can give would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • mbolsinga


    Resolved it myself. It ends up the wp_user_roles in the options table were incorrect. I copied the data out of another database (for a correctly working site), and resolved the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Admin Role lost Admin Privileges’ is closed to new replies.