• 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 to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter afbsandbox

    (@afbsandbox)

    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.