tags:

views:

38

answers:

2

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.


+1  A: 

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

joanballester
i never upgraded anything though and everything else is working...
WmasterJ
+1  A: 

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.

songdogtech
Thanks you, the Be Confused post helped!
WmasterJ