Trouble getting to wp-admin
-
I get the
“You do not have sufficient permissions to access this page.” error message when trying to access the back end of polarisnps.com hosted on DreamHost. A web designer created my site in WordPress and migrated it to my DreamHost domain. Now neither one of us can access the admin pages. I’ve looked at the documentation and the replies to similar problems, but I’m no programmer and this has me stumped.
-
It sounds like your account may have lost admin privileges for some reason.
Access your database via phpMyAdmin (most hosting providers offer this in their control panel), go to the
wp_users
table and find the row for youruser_login
. Note theID
of this row. Now, go to thewp_usermeta
table and find thewp_capabilities
row for youruser_id
. Set the value of this row toa:1:{s:13:"administrator";b:1;}
Thank you for responding, James. I made that change about 15 minutes ago and then restarted my computer, cleared the cache and tried again. Unfortunately, I got the same error message.
Hm, that’s very odd.
Try downloading WordPress again and delete then replace your copies of everything except the
wp-config.php
file and the/wp-content/
directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.If that doesn’t resolve the issue, try manually resetting your plugins. If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue either, access your server via FTP or SFTP, navigate to
/wp-content/themes/
and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.James, I will pass that along to our web designer. I barely managed the first fix you suggested and now I am way out of my depth. In retrospect, I probably should have gone with wp hosting but I had already secured the domains and bought the hosting service at dreamhost before we commissioned the website. I hope it will work out and not require constant tweaking. Tim
Have you considered contacting DreamHost too? They have some top-notch WordPress support in my experience.
That is a good idea; I’ll do it. Thank you for your help.
You’re welcome!
- The topic ‘Trouble getting to wp-admin’ is closed to new replies.