• Site: https://www.tat.se

    Problem: “Couldn’t write to: /var/www/tatses/htdocs/wp-content/cache/wp-cache-6666cd76f96956469e7be39d750cc7d9.html
    Warning: fopen(/var/www/tatses/htdocs/wp-content/cache/wp-cache-6666cd76f96956469e7be39d750cc7d9.meta): failed to open stream: Permission denied in /var/www/tatses/htdocs/wp-content/plugins/wp-cache/wp-cache-phase2.php on line 223

    Warning: fputs(): supplied argument is not a valid stream resource in /var/www/tatses/htdocs/wp-content/plugins/wp-cache/wp-cache-phase2.php on line 224″

    I have tried checking out the wp-cache part in “Options” and it said this: Error: wp-content directory (/var/www/tatses/htdocs/wp-content) is not writable by the Web server.
    Check its permissions.
    Cannot continue… fix previous problems and retry.

    So I checked the file attributes of the folders and only one has a different setting than the rest, it has “write” enabled (making its settings a value of 777 when all the rest of the folders do not have “write enabled” and thus have a value of 555. Its in /var/www/tatses/htdocs/wp-content/ there’s a folder called ‘advanced-cache.php’ When I tried to change the settings, it says “550 Failed to Change Directory”

    So ANY info would be really really helpful as we’re really quite in need of having this site back up ASAP!!! (Just got picked up by Gizmodo and now it died ?? )

    Thank you,

    Vanessa

Viewing 1 replies (of 1 total)
  • Although I’m not using WP-Cache, make sure the folders wp-content, and cache have the correct permissions. I realize that on some servers the main directory and sub directory both have to be chmodded.

    Also you possibly got the 550 error because the file is now owned by the server. If your domain user needs to be the owner of the file what I usually do is move the file over to my computer and then delete the one on the server. I then move the one on my computer back over into the folder and then you’ll be able to chmod it.

    Other than this, if the script needs the server to be the owner (apache or nobody usually user 99 on cpanel) and you need to chmod it, the only other way is through SSH or setting up a script to chmod the file.

Viewing 1 replies (of 1 total)
  • The topic ‘Emergency Help! WP-Cache Permissions’ is closed to new replies.