WordPress.org

Ready to get started?Download WordPress

Forums

You do not have sufficient permissions to access this page. (31 posts)

  1. normad
    Member
    Posted 8 years ago #

    When trying to access my admin, I get this error: "You do not have sufficient permissions to access this page." http://www.kurtdamron.com The page looks fine, but I don't have an option to post. I do however see "logout" even though it says I don't have sufficient permissions to post and what not. Thanks in advance for any help you can offer.

  2. moshu
    Member
    Posted 8 years ago #

    Are you sure you are logged in as admin and not as some lower level user?

  3. normad
    Member
    Posted 8 years ago #

    yep...that's the only user name and password I have ever used...admin and my password. It's really weird.

  4. normad
    Member
    Posted 8 years ago #

    yep...that's the only user name and password I have ever used...admin and my password. It's really weird.

  5. corvy
    Member
    Posted 8 years ago #

    Hey, look at this, the same error I am getting:
    http://wordpress.org/support/topic/52522

  6. ergate
    Member
    Posted 8 years ago #

    Having similar problem. I can log into admin, but I cannot post or edit posts.

  7. ergate
    Member
    Posted 8 years ago #

    So far what I have done and with no results.
    I should state that this is an upgrade from 1.5.2. After the upgrade and I started recieving the error.

    I have rebuilt the .htacces (using the permalinks option under admin), I went through and double checked the the settings to make sure I still had the appropriate rights (administrator), I have created a new user and given that user admin rights and still no luck.

    I cannot create or edit posts. I cannot edit pages but I can create new ones. I cannot edit comments but comments can be made. I can edit and create links and categories. Create and edit users works with no problems.

  8. ergate
    Member
    Posted 8 years ago #

    I have upgraded to 2.0 non beta yadda yadda yadda. I still do not have sufficent priveldges to post edit etc.

    Should I look at the db tables and make any adjustements to the uesrs_meta and users tables? I dont know what to set them to and double check against.

    Aaron

  9. fcader
    Member
    Posted 8 years ago #

    I just re-ran upgrade.php and that seemed to fix it.

  10. phoenix522
    Member
    Posted 8 years ago #

    I'm trying to build this on a test site. I first built my 1.5 blog and database, made sure it worked and then followed the instructions as specified to upgrade it.

    The upgrade went well, tables built and populated as I'd expect but when I log in as admin, I get the same error about not having permissions. I can get to the dashboard but I only get a few options and none of the admin options. The other interesting thing is the user welcome in the upper right corner. I get "Hello, ." I'm guessing the . should be admin. I also signed out and requested my password. It sent me the email, I clicked the link and then it sent me a new password. I tried the password and it did not work so I tried my old password and that let me in.

    I wiped out the database and ran install.php and now I get a loop, it states I need to run install. I run install it tells me I've already installed it.

    Thoughts?

    http://wordpress2.rons-sandbox.com

    Ron Hagerman

  11. MichaelH
    Member
    Posted 8 years ago #

    phoenix522:
    Well since you wiped out your database why not start from the very beginning, including deleting all wordpress files (except for wp-config.php and any themes or plugins). Make sure you delete wp-content/cache.

    See:
    Installing WordPress

  12. phoenix522
    Member
    Posted 8 years ago #

    Yep, I did that as well. No luck. I've tried it both ways. With the clean install, I get the endless loop and with the upgrade, I get the other problem.

    I'm running on a Windows 2003 server (shared hosting through MDS-Host) and 1.5 works well.

  13. phoenix522
    Member
    Posted 8 years ago #

    After your post, I thought about it and did the upgrade which gave me the same error. I deleted wp-content/cache and now it works. It gave me an error stating my database was out of date and a link to upgrade. I ran the upgrade again and now all is well.

    This is now fixed!

    Thanks

    Ron

  14. lparra
    Member
    Posted 8 years ago #

    I ran into both the 403 Forbidden error and the one included as the topic of this post. The 403 error I fixed by adding the line:

    DirectoryIndex index.html index.php

    Witihin the VirtualHost defined in my local.conf (a.k.a httpd.conf) file for Apache. W/o it Apache didn't know to open up /wp-admin/index.php when wp-login.php redirected to /wp-admin/ upon logging in as the administrator.

    I fixed the "You do not have sufficient permissions to access this page." error by changing the following line in my PHP.ini:

    magic_quotes_runtime = Off

    It was set to "On", and was therefore escaping quotes from data taken from the database. The code for wordpress can probably be changed so this directive can remain "On" if you'd rather be more secure, I suppose. That's just a hunch.

    Anyways, these two small changes worked for me. Just thought I'd share.

  15. nicesunchaser
    Member
    Posted 8 years ago #

    hi,
    I've the same problem .. i've re-uploaded all the files excepted wp-congig, themes and plugins and re-run upgrade.php, deleted /wp-content/cache, but it doesn't work, i've always "You don't ..."

  16. lundholm
    Member
    Posted 8 years ago #

    I had the same problem, I deleted the cache-folder and that solved my problem.

    Running Wp2 om Win2k3 srv.

  17. kidd
    Member
    Posted 8 years ago #

    It seems to me strange that there are so many different fixes for the same problem. I have tried all the above and still get the same message when I try to do anything in the admin panel. In addition, everyone keeps mentioning the "cache" folder in the wp-includes folder, of which I do not have. I have a "cache" file, but no folder, and when I delete it, all I succeed in doing is getting a blank page instead of my admin panel.

    I realize this is completely run by volunteers, and as such understand why it is not a simple fix, and why it is difficult to get an answer. However, I have seen so many posts about this, and so few real fixes...

    Any ideas?

  18. kidd
    Member
    Posted 8 years ago #

    Ok, I'm an idiot, but still changes nothing apparently. I realize you meant the "cache" folder inside wp-content. I deleted that folder, and still get the permissions error.

  19. GunnarHansen
    Member
    Posted 8 years ago #

    I tried nearly all the suggestions provided in this tread. But nothing helped. But i finally managed to solve my problem by adding three lines in the wp-config.php:


    define('DISABLE_CACHE', true);
    set_magic_quotes_runtime('0');
    ini_set("magic_quotes_gpc","0");

    No everything i perfect.

  20. cwbrown
    Member
    Posted 8 years ago #

    That didnt work and I am still experiencing this problem, does any of the WordPress Technies know how to solve this one?

  21. jObo
    Member
    Posted 8 years ago #

    I have just experienced the same problem upgrading an 1.2 wordpress installation to 2.0.1.

    I noticed that the upgrade script failed to upgrade the scheme for the wp_users table.
    I didn't have much time to fully backtrace the problem (I guess it had something to do with database user UPDATE permissions).

    I made up the following quick solution:
    temporarily set a user with full permission for use in wp-confing.php
    changed the value to db_version record to something less than 3308 an greater than 2541. I randomly selected 3300.
    rerun tha upgrade script.

    Database schemas got updated and now everything works as expected.

    hope this helps somebody

  22. danzig
    Member
    Posted 8 years ago #

    jObo, can you please detail your solution?

    I'm having the same problem and can't figure out how to solve it.

    Thanks!

  23. Mark Jaquith
    WordPress Lead Dev
    Posted 8 years ago #

    #

    Someone wandered into WordPress with this problem. The usermeta table was created, but was empty.

    I wrote this script, and it fixed his problems:
    http://txfx.net/files/wordpress/force-upgrade.phps

    As the name implies, it forces an upgrade (the upgrade_160() for all the 1.5 => 2.0 stuff).

    It won't fix every situations, but it'll likely fix situations where people just need to force the upgrade.

    Click "download" and save as force-upgrade.php and place it in your root WP directory. Access it via a browser. Delete it after it has run.

  24. vkaryl
    Member
    Posted 8 years ago #

    That's great, markjaquith. Bookmarking your post. This seems to come up a lot!

  25. askegg
    Member
    Posted 8 years ago #

    Thanks GunnarHansen, that solved it for me!

  26. TEKKY
    Member
    Posted 8 years ago #

    I believe I may have found a solution. I looked in the MySql tables at the permissions and I found two entries for Capabilities. One was labeled wp_capabilities and the ther had my prefix and then capabilities. (IE - cfta_capabilities) I noticed that the CFTA one was set as a subscriber. So, I copied the WP permissions (as an Administrator) and pasted it into the cfta_capabilities location. I went back to the WP blog and refreshed.

  27. buffnerd
    Member
    Posted 8 years ago #

    i'm having a similar issue, but it seems to be caused by not being able to get the id of the currently logged in user from joomla

    see my post about this:

    http://wordpress.org/support/topic/78334?replies=3

  28. netslet
    Member
    Posted 8 years ago #

    i think the problem has to do with a bad database connection/table... its fixed in the newer versions. you could go and manualy change it but then again its too much work, better to start over w/ new version!

  29. allie12
    Member
    Posted 8 years ago #

    I am having the same problem. I have tried multiples fixes and it's still not working.

    I've also renamed my plugin folder, hoping that would help, but again, no go.

    I also deleted my cache folder and re-upgraded.

    I'm on version 2.0.3 and I was having this problem BEFORE upgrading. I upgraded hoping it would fix it.

    What else can I try?

  30. bradlaw
    Member
    Posted 7 years ago #

    TEKKY your solution appears to have worked for me so far.

Topic Closed

This topic has been closed to new replies.

About this Topic