Forums

sufficient permissions (21 posts)

  1. robbierzz
    Member
    Posted 5 years ago #

    I'm new to the WordPress blog-tool. I have installed WordPress now for my first time, the install went without any problems, logging in in the wp-admin isn't any problem, but when i want to edit my profile, add content or whatever i click in the wp-admin page, i get the following error on my screen:

    You do not have sufficient permissions to access this page.

    Safe mode is off, PHP runs in CGI-mode on this server. register_globals is off aswell..

    I also have tried to reinstall WP 2 times now, without any success.

    You can see the error on: http://www.textbased.net/wordpress/wp-admin
    admin / c4ff5f

  2. Samuel B
    moderator
    Posted 5 years ago #

    I didn't get an error - I got into your admin section. It looks like a newly set up blog with the Mr. Wp stuff and all.
    Maybe clear your browser cache and do a hard refresh on your browser - Ctrl + F5

  3. robbierzz
    Member
    Posted 5 years ago #

    the login goes fine, but click on one of the links there.. for example change password.. then that error occurs..

  4. imaginecreative
    Member
    Posted 5 years ago #

    I'm having the same problem. Everything starts out fine and then each time I try to access a page within admin for the first time after login I get 403 Forbidden. I have now been blocked from seeing all PHP pages on the site, whether part of WP or not. Once permission goes on one browser, it seems to affect all browsers on the same machine.

    Here's the really strange part: I go to another machine (first one Mac, second one PC) to test it and everything is fine! But if I login to admin the same thing starts all over again until no browsers on that machine can access a php page on that site either.

    I've tried clearing cache and rebooting the computer.

    I've been in touch with my hosting provider and they're baffled. They did help me discover that static html pages are not affected.

  5. Chris_K
    Member
    Posted 5 years ago #

    is your host running mod_security?

    Are the WP files set to be readable by whatever process Apache is running as?

  6. IndexArts
    Member
    Posted 5 years ago #

    as far as I can make out this whole 'write permissions' issue should be flagged up in huge letters, flashing on and off, on the wordpress front page. My ISP installed version of worpress for general use, and surprise surprise, doesn't allow new theme uploads or allow me to change permissions to alter files pertaining to the look of the site. My brother has been working in unix for 20 years, looked at the server requirements, and thought they were just a bit etraordinary. He seems to think that going around altering file permissions to 666 is madness unless you own your own server, which only you have access to. Which most people don't. Having been messing around with wordpress for a couple of weeks now, I still have yet to be abkle to upload any themes, or alter any page code as my ISP has put this all beyond my reach. I will persevere - but I really think that the basics of 'normal file permissions' as far as ISP's are concerned and the resultant limitations of creating your own look and feel to sites should be flagged upfront on this website.

  7. Chris_K
    Member
    Posted 5 years ago #

    Maybe this will help your brother?

    http://codex.wordpress.org/Changing_File_Permissions

    As a rule of thumb, the web hosts don't all configure their servers the exact same way, so we can only speak in generalities. I can assure you that *I* have nothing set to 666 or 777 on my install!

  8. robbierzz
    Member
    Posted 5 years ago #

    mod_security isnt enabled.

  9. Chris_K
    Member
    Posted 5 years ago #

    right. err, my last post was more along the "informative" lines with a link to be read.

  10. imaginecreative
    Member
    Posted 5 years ago #

    my isp says mod_security is enabled. Is that a good or bad thing?

  11. Chris_K
    Member
    Posted 5 years ago #

    Well, ideally it's a good thing. However, depending upon how it's configured, it can make things very difficult for WP to work properly.

    If you search the forums for "mod_security", you'll find a few posts with some work-arounds that you may want to try.

  12. robbierzz
    Member
    Posted 5 years ago #

    All php-files are 644 chmodded and all directory's are 755 chmodded.. that should be good enough?

  13. Chris_K
    Member
    Posted 5 years ago #

    In general yes, but that has nothing to do with mod_security.

  14. robbierzz
    Member
    Posted 5 years ago #

    Uh mod_security is disabled, so what should that do to my WP install? I've emailed my hoster about it, he installed it at his own website, everything works perfectly. So it's not the hoster.. it's more in my own install ? :)

  15. Chris_K
    Member
    Posted 5 years ago #

    heh, sorry. I didn't realize there were more than 1 person in this thread! I got confused.

    Back to basics: Are your WordPress files all set to be readable by your web server process? In most scenarios, that means chmod directories to 755 and files to 644.

    Changing_File_Permissions

  16. robbierzz
    Member
    Posted 5 years ago #

    Hehe, np :).. Yep all files are chmodded 644, and directories are 755.

  17. robbierzz
    Member
    Posted 5 years ago #

    but the problem is still there :(.. could anyone plz help me :)?

  18. AndrewBoyd
    Member
    Posted 5 years ago #

    Hi,
    I am also getting "You do not have sufficient permissions to access this page." any time I try to post. I'm using rackSpace as my hosting provider. I have apache 2.0 as my web server. I have a symbolic link from /var/www/html/blog to where I installed WordPress. I went ahead and changed the owner of wp-admin/*, wp-content/*, and wp-includes/* to be owned by apache. It didn't seem to make a difference.

    Is there any log anywhere that we might get some more info?

  19. AndrewBoyd
    Member
    Posted 5 years ago #

    I just made apache own everything that is wordpress on my server and I'm still getting "You do not have sufficient permissions to access this page."

  20. AndrewBoyd
    Member
    Posted 5 years ago #

    I removed my wordpress installation and installed the latest multi-user version and that seemed to fix my problem. Hope it helps someone else.

    Andrew

  21. robbierzz
    Member
    Posted 5 years ago #

    Together with my hostingprovider we have tracked the problem, my webhosting had set magic_quotes_runtime on, but because of the way WP is coded it couldn't write anything to the folders or whatsoever, so when this setting was put on off, it worked :)..

Topic Closed

This topic has been closed to new replies.

About this Topic