PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file

When you try to update WordPress or install plugins, the downloader / installer page pops up, the compressed file is downloaded to your server, but installation fails because of this error: PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file .. tmp’ SOLUTION You need to access the files on your server via FTP. or the File Manager section of your control panel.  On your server, navigate to the /wp-content folder. Create a new folder inside it called TEMP. Download and or Edit /wp-config.php from your server to your computer. Open it up in a text editor, and at the very bottom of the file add the line

define('WP_TEMP_DIR', ABSPATH . 'wp-content/TEMP');

then save wp-config.php. Upload it to your server again if necessary. Try updating WordPress or installing a plugin. It should work now.

 

  • 242 Users Found This Useful

Was this answer helpful?

Related Articles

Create Static Files with your WordPress Install

Reduce the processor and memory load of your site but publishing it into html files.Use the...

WordPress error "The uploaded file could not be moved to"

WordPress Upload Error If you're getting the error message "The uploaded file could not be moved...

JetPack server was unable to connect with your site

"Error Details: The Jetpack server was unable to communicate with your site...

Unable to create directory uploads/ Is its parent directory writable by the server?

Unable to create directory... Is its parent directory writable by the server? This error can be...

How to disable WordPress comments, pingbacks, and trackbacks

There are a few ways to disable comments, pingbacks and trackbacks in WordPress:   Go to...