stash2001
Member
Posted 3 years ago #
After upgrading to WP 2.7. in administration panel I saw that I become a simple user: no access to plugings, options, nothing. Just to writting new posts and editing comments to those posts.
I looked in phpMyAdmin and I saw that all users (including admin) have been resetet to user_status 0. Changed that, nothing happened! It seems I am still admin, but I cannot access anything except writing new posts. Any ideas?
Mayur Somani
Member
Posted 3 years ago #
Make sure your wp_usermeta record for that user has something like this:
meta_key=wp_capabilities
meta_value=a:1:{s:13:"administrator";b:1;}
Please note the wp_ portion of wp_capabilities must correspond to your $table_prefix value in wp-config.php.
Other resource:
http://wordpress.org/support/topic/209856?replies=5#post-874742
stash2001
Member
Posted 3 years ago #
Thnx! Doesn't really work for me. I looked in PHPmyAdmin and I have user_status set at 10 in wp_users. Also, in wp_usermeta I have wp_capabilities set at a:1:{s:13:"administrator";b:1;}
Michael, the last part of your advise "...the wp_ portion of wp_capabilities must correspond to your $table_prefix value in wp-config.php" is not clear for me. Should I do what exaclty to check on that?
Thank you all