Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

You do not have sufficient permissions to access this page. WordPress

  • SOLVED

Recently I changed to another webhost with my WordPress website. I made a fresh install and replaced the wp-content folder and database with the existing ones. So far so good, everything is working fine except the 'login after signing up'. I made a screencast of this issue: http://www.screenr.com/nbc7

There will be a 'You do not have sufficient permissions to access this page.' notice. Only the dashboard is not reachable for new members, other pages are working fine within the WP-ADMIN environment.

I Googled and searched everywehere, but I am stuck. I tried to:

- Re-upload all original files, no fix.
- Checked the database prefix, no fix.
- All CHMOD settings are ok.
- Created an account through the admin panel, no fix.

I am really desperate and could use some help.
If someone can help me out with this problem, I would be really happy!

Thanks!

Answers (4)

2013-02-24

MDan answers:

Hello,

You can try these methods:
1. Turn on Debug Mode: Go into your wp-config.php file and search for ‘debug’ , you should find a line that has a variable of false.. Change that to true and see if you get anything more informative in terms of error messages that point you in the right direction to solve your problem
2. Delete all of your cookies and/or try to login from another browser.
3. Make sure the paths are the same. E.g. /home/hosting/example/domain/ with /path/to/site/on/another/server/(the server you are moving to).
4. Could be a problem woth wordpress use roles. You could try to manually fill wp_user_roles row with the default data:
Sorry, this is the link: http://wp-relief.com/2011/12/01/user-roles-in-the-wordpress-database/


Thanks,
Daniel


joel1980 comments:

Everything already tried!


joel1980 comments:

Daniel, you are the hero. The fourth option worked for me, all admin roles were messed due the membership plugins. I reverted them and it's working again! Thanks so much!

2013-02-24

Sébastien | French WordpressDesigner answers:

if you switch the theme, the problem exist ?


joel1980 comments:

Yes, changing of theme does not fix this issue.


Sébastien | French WordpressDesigner comments:

change the prefix of the table, to have a virgin base.
and verify if the problem exist

2013-02-24

Agus Setiawan answers:

do you change wp_ suffix ? if it yes, try this : http://beconfused.com/2007/how-to-solve-you-do-not-have-sufficient-permissions-to-access-this-page-in-wordpress/


joel1980 comments:

No, the database prefix is custom - and this is also set into the tables correctly.


Agus Setiawan comments:

ok, try this :

go to phpmyadmin
and make sure that "Value ID" on "wp_users" and "wp_capabilities" field on "wp-usermeta" are SAME.
if value ID on wp_users is 1, make sure value on wp_capabilites are 1 too.

2013-02-24

Rowela Alzona answers:

rename the folder "plugins" to something like "plugins1"

then try logging in again. if you are successful logging in, then the problem is within your plugins.

rename the folder of your plugins to its original then try renaming each plugin one by one . if you get what i mean.

Just then try to rename the folder of your plugin which you think has something to do with strict access, or password protect plugin, or any membership plugin that is activate.

Hope it helps.


joel1980 comments:

Ellah, all plugins have been removed during the tests. Issue still not solved.


Rowela Alzona comments:

ARe you able to login atleast any admin account? If yes try to check Dashboard > Settings > General
Scroll down a bit and check the "New User Default Role" , try to play around each role. Might something to do there.


Rowela Alzona comments:

also try getting inside your ftp find the file ".htaccess", open it using a notepad and check inside or replace it with these :


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


Rowela Alzona comments:

I just went in i tried 5 times i cant log in, then lastly i tried to click:

http://dj-lounge.com/wp-admin/install.php there was a rechecked that happened , and noted me a message "it was already installed, login here"

then i tried logging in - and i was able to login now. i think your problem is solved. Congrats.


joel1980 comments:

Thanks all for your answers! The problem has been fixed!