Wordpress error: Cannot write style-custom.css file

December 26, 2013 5.9k views
I upgraded to WordPress 3.8 and looking around I opened "Apearance --> Customize" and then hit "Close" without making any changes. Now my website is down and I can’t access wp-admin. When I try either I get; {"success":"-1","alert":"Cannot write style-custom.css file, you may try setting the style-custom.css file permission to 755 or 777 to solved this. ( If file does not exists, you have to create it yourself )"} I found that I have four themes listed in; /var/www/wp-content/themes 1) bluediamond-v 1_05 (This is the only one that has the "style-custom.css" file 2) twentyfourteen 3) twentythirteen 4) twentytwelve I changed the existing “style-custom.css” file permissions to 755. I still can't access wp-admin or the website - I continue to get the same alert. Any help is very much appreciated
edited by aha
3 Answers
Try rebooting your server via SSH. If that doesn't resolve the issue: Are you able to access WP if you switch to one of the other themes?

I have the same problem as @manorris111. I have tried with permissions and creating new style-custom.css but nothing works., I cant access my web page or wordpress. Only by renaming or deleting my theme folder with winscp could help getting into wordpess but applying my theme again shows the same error. Can you help me please?

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!