WordPress is giving error: "Missing a temporary folder" while uploading image/media ?

WordPress is giving error on image upload : "image.jpg” has failed to upload due to an error "Missing a temporary folder."

If you are receiving this error please follow these simple  instructions below:

1. Create a "tmp" folder in your WordPress root directory with 777 permissions. This can be done by your FTP program.

2. Also create a "php.ini" file in same location.

3. Add the following in php.ini file:

upload_max_filesize = 16M
upload_tmp_dir = on
upload_tmp_dir = /home/username/public_html/wordpressDir/tmp

Please make sure to replace username with your hosting username, and wordpressDir with the directory name of your WordPress install.
If you have installed WordPress on your homepage then the path will be like: upload_tmp_dir = /home/username/public_html/tmp

4. Copy the same php.ini file to your wp_admin folder.

That's it.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

404 Errors after clicking Wordpress links

This is a common issue when a blogs rewrite rules have been altered. You will notice this when...

Admin login for WordPress and other programs

I know the admin password, and simply want to change it. Simply login to your admin panel (for...

How to Install a WordPress Theme

WordPress does allow you to download and use custom themes for your blog. If you would like to...

Optimizing Wordpress on Shared Hosting

Wordpress blogs can be extremely resource intensive if you happen to experience a surge in...

Remove the “WordPress logo” from the WordPress Toolbar

A quick tip on how to remove the first menu in the admin bar, or the all-new nickname widely...