This plugin has saved my life!
I was getting the following errors when upgrading automatically to WordPress 3.1.2:
- Could not create file.: /public_html/
- Could not copy file.: /public_html/wp-admin/css/theme-editor.dev.css
Firstly I received the error could not create file.: /public_html/, so did some searching and tried the following suggestion from the WordPress forum post Automatic Upgrade Not Working:
The best solution I have found to automatic update issues like this is fixing the ownership/permissions on the upgrade folder.
To do: delete the upgrade folder in wp-content.
Recreate the folder and reset permissions to 777
After doing this and uploading my backup local files, I tried the automatic update again. This time I received the error message Could not copy file.: /public_html/wp-admin/css/theme-editor.dev.css. I was starting to get a little frustrated by now as I have never encountered a problem with the automatic updates before.
I could do a manual upgrade, but I really wanted to get the automatic process working, so I went searching again for a solution, and I found it!
The WordPress plugin FTP Upgrade Fix saved the day!
I again uploaded my local backup files and uploaded the FTP Upgrade Fix plugin. Upon activating the plugin, I tried the automatic update again and success! I am very thankful to the author aldenta, you have saved the day 🙂