Title: &#8220;Missing Temporary Folder&#8221; and other missing folder problems
Last modified: January 18, 2022

---

# “Missing Temporary Folder” and other missing folder problems

 *  [afbsandbox](https://wordpress.org/support/users/afbsandbox/)
 * (@afbsandbox)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/missing-temporary-folder-and-other-missing-folder-problems/)
 * Hello,
 * I get “Missing Temporary Folder” error whenever I try to upload a new image to
   Media Library. I also cannot download new plugins, and get Installation failed:
   The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing archive
   file ‘/tmp/. . .” error whenever I try. This problem started a couple of days
   ago after the last WordPress update. Not sure if it is related to that though.
 * I tried adding a line to wp-config and creating a temp folder in wp-content. 
   I also tried every possible change in folder permissions and nothing worked. 
   I tried manually adding some images to “uploads” file on cPanel, and the images
   I added didn’t show up in Media Library on WordPress, although they seem to be
   successfully uploaded in the “uploads” file.
 * I contacted my host and they said they have never seen anything like this and
   have no idea how to fix it. They tried a lot of different things as well but 
   couldn’t seem to figure out what causes this problem. They also did a malware
   scan to ensure that everything’s ok. So, everything seems to be working fine 
   on the server side.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmissing-temporary-folder-and-other-missing-folder-problems%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [afbsandbox](https://wordpress.org/support/users/afbsandbox/)
 * (@afbsandbox)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/missing-temporary-folder-and-other-missing-folder-problems/#post-15263231)
 * Update: The image uploading issue persists, but I fixed the plugin issue by adding
 * define(‘WP_TEMP_DIR’, ABSPATH . ‘wp-content/TEMP’);
 * at the end of wp-config file.

Viewing 1 replies (of 1 total)

The topic ‘“Missing Temporary Folder” and other missing folder problems’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [afbsandbox](https://wordpress.org/support/users/afbsandbox/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/missing-temporary-folder-and-other-missing-folder-problems/#post-15263231)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
