Auto-Install Applications
Fix WordPress Download Failed Errors on Update or installing new plugins/themes
Auto-Install Applications > Wordpress
WordPress download Failed Errors on Update or installing new plugins/themes
Download failed.: Destination directory for file streaming does not exist or is not writable.
Installation Failed
Define a WP_TEMP_DIR in your wp-config.php file
If you've encountered the issues, you can simply follow the steps below to resolve them.
-
Open you wp-config.php file with
-
You should see this code towards the top of the file:
* @package WordPress */ // ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define('DB_NAME', 'dbname');Place this definition of define('WP_TEMP_DIR', ABSPATH . 'wp-content/'); in-between the lines mentioned above, so it ends up looking like this when you've completed it:
* @package WordPress */ define('WP_TEMP_DIR', ABSPATH . 'wp-content/'); // ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define('DB_NAME', 'dbname');Now Save your wp-config.php file.
-
Try to update WordPress, installing new plugins/themes again, if for some reason it is still failing, be sure to check file permissions on your wp-content folder, and ensure it's set to read and write so that the server can write to it.