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

504 error - Are you sure you want to do this?

In wordpress if you receive either of the following errors when trying to upload a theme... 504...

JetPack says my website is offline

Sorry to hear that your website is offline. Here are some things you can do to troubleshoot the...

Wordpress Error Missing a temporary folder

The "Missing a temporary folder" error in WordPress is caused by incorrect PHP settings on your...

Install WordPress

Install WordPress with Ultra Web Hosting in Seconds   With Ultra Web Hosting, you can install...

The WordPress app doesn't work with my website

The WordPress app utilizes the xmlrpc.php file on your account put there by WordPress. However, a...