Title: Missing a temporary folder
Last modified: October 29, 2020

---

# Missing a temporary folder

 *  [ireallyreallyreallyneedhelp](https://wordpress.org/support/users/ireallyreallyreallyneedhelp/)
 * (@ireallyreallyreallyneedhelp)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder-40/)
 * I have read every previous post on this topic – when I try to upload an image
   it says “Missing a temporary folder” and this changed happened for no discernible
   reason – and done everything everyone says to do:
 * I went into the wp-config file and put in “define(‘WP_TEMP_DIR’, dirname(__FILE__).‘/
   wp-content/temp/‘);” where it said to, with no smart quotes, and made sure the
   temp folder existed at that location and had the folder permissions set correctly.
 * I updated to the highest PHP version available on the server (Current PHP version:
   7.0.30).
 * I also tried creating a file with a name php.ini, placing the following code 
   inside the file: “upload_tmp_dir= your/path/to/public_html/temp/“. And yes I 
   change the path to the correct path, saved the file, and created a temp folder
   at the same location, i.e. inside public_html.
 * No change!
 * If there is something I need to ask my host provider, I don’t know what it is.
 * Can anyone help me? I am totally befuddled.

Viewing 1 replies (of 1 total)

 *  [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * (@jnashhawkins)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder-40/#post-13599184)
 * You didn’t provide a working URL so I couldn’t take a look but…
 * If this is any flavor of Xnix hosting you’ll also need to make sure CHown is 
   set properly for that directory so WordPress can write to that directory.

Viewing 1 replies (of 1 total)

The topic ‘Missing a temporary folder’ is closed to new replies.

## Tags

 * [image upload not working](https://wordpress.org/support/topic-tag/image-upload-not-working/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder-40/#post-13599184)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
