JeroenEijkhof
JeroenEijkhof

Reputation: 2222

You do not have sufficient permissions to access this page

I recently set up a local copy of Wordpress, added some content and created a child theme. Then I moved it to my webserver, changed the config file, changed the "localhost" occurences in my SQL file to my online URL. I also changed my database prefix from what I had locally on all tables and in the config file.

Everything works well on the outside. But then as I log-in is get the:
You do not have sufficient permissions to access this page.

Update:
Even my local install of wordpress is giving me the same problem.


Upvotes: 1

Views: 1597

Answers (2)

markratledge
markratledge

Reputation: 17561

First thing to do is check your directory permissions. Generally, directories should be 755, files should be 644. See Changing File Permissions « WordPress Codex and Hardening WordPress « WordPress Codex.

Also, since you changed your DB table prefix, see this: How to solve ‘You do not have sufficient permissions to access this page.’ in WordPress.

Upvotes: 5

joanballester
joanballester

Reputation: 217

The most common cause is an upgrade that didn’t complete. Check it ;-)

Upvotes: 1

Related Questions