Title: Empty upload files in tmp folder
Last modified: February 27, 2018

---

# Empty upload files in tmp folder

 *  [florisffzz9](https://wordpress.org/support/users/florisffzz9/)
 * (@florisffzz9)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/empty-upload-files-in-tmp-folder/)
 * Hello,
 * I’m stuck and I hope this great community can help me.
 * I have a webshop running woocommmerce, which offers customers the option to upload
   an image upon checkout. Everything was functioning fine, until i updated wordpress,
   the theme and all plugins. The shop is functioning fine, however when an image
   is uploaded, the name of the image is visible in the back-end (attached to the
   order) as well as in the designated tmp folder. However, when you try to open
   the image the file is empty.
 * I have to following errors in my log:
 * PHP Warning: file_get_contents(/tmp/wcj556gs2): failed to open stream: No such
   file or directory in /home/vhosting/q/vhost0076349/domains/user/htdocs/www/wp-
   content/plugins/woocommerce-jetpack/includes/class-wcj-checkout-files-upload.
   php on line 227
 * I tried another upload plugin and that resulted in the following errors:
 * PHP Warning: file_get_contents(/tmp/alggqXhMk): failed to open stream: No such
   file or directory in /home/vhosting/q/vhost0076349/domains/user/htdocs/www/wp-
   content/plugins/checkout-files-upload-woocommerce/includes/class-alg-wc-checkout-
   files-upload.php on line 187
 * PHP Warning: unlink(/tmp/alggqXhMk): No such file or directory in /home/vhosting/
   q/vhost0076349/domains/user/htdocs/www/wp-content/plugins/checkout-files-upload-
   woocommerce/includes/class-alg-wc-checkout-files-upload.php on line 189
 * Note that i replaced the domain with “user” for privacy.
 * Hope somebody can help me,
 * Kind regards,
 * Floris

Viewing 1 replies (of 1 total)

 *  [necafasu](https://wordpress.org/support/users/necafasu/)
 * (@necafasu)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/empty-upload-files-in-tmp-folder/#post-10027123)
 * Create `tmp` folder with a permission of `755` or `777` on wp-content folder
    -  This reply was modified 8 years, 2 months ago by [necafasu](https://wordpress.org/support/users/necafasu/).

Viewing 1 replies (of 1 total)

The topic ‘Empty upload files in tmp folder’ is closed to new replies.

## Tags

 * [website](https://wordpress.org/support/topic-tag/website/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [necafasu](https://wordpress.org/support/users/necafasu/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/empty-upload-files-in-tmp-folder/#post-10027123)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
