Today we tried to update WP to 3.9 (from 3.8.1) and it said:
Below code is for Contactform 7 update, but the error of creating tmp fail is also when trying to update to 3.9)
Warning: touch() [function.touch]: Unable to create file /home/fotowgt67/domains/fotowijnands.com/public_html/wp-content/uploads/contact-form-7.tmp because No such file or directory in /home/fotowgt67/domains/fotowijnands.nl/public_html/wp-admin/includes/file.php on line 155
Warning: unlink(/home/fotowgt67/domains/fotowijnands.com/public_html/wp-content/uploads/contact-form-7.tmp) [function.unlink]: No such file or directory in /home/fotowgt67/domains/fotowijnands.nl/public_html/wp-admin/includes/file.php on line 500
It can’t create or write to the tmp files.
I already tried things like CHmod 777, and I also tried;
define( ‘WP_TEMP_DIR’, ABSPATH.’wp-content/tmp/’) ;
But this didn’t help. I contacted my host and they said they don’t help with script related issues.
What to do now?
- The topic ‘WP and Plugin updates – Can't create tmp file’ is closed to new replies.