FIX for WordPress error: Download failed. Destination directory for file streaming does not exist or is not writable.
After upgrading to WordPress 3.5 you may get an error message:
Download failed. Destination directory for file streaming does not exist or is not writable.
In version 3.5 they introduced a new variable in the wp-config.php file called WP_TEMP_DIR. The resolution for this error is to add:
/* Setup a temporary folder for uploading and updating */
define( ‘WP_TEMP_DIR’, ABSPATH . ‘wp-content/tmp/’) ;
At the end of your wp-config.php file. You may have to create the tmp folder under the wp-content folder if your web server’s file permissions do not allow this.