If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress. How to get rid of ‘Temporary Folder Missing’ error while uploading media

This tutorial will show you how to get rid of ‘Temporary Folder Missing’ error while uploading media files to WordPress:

WordPress. How to get rid of ‘Temporary Folder Missing’ error while uploading media

WordPress Temporary Folder Missing Error is thrown by php, when its unable to locate a temporary folder. This might be a server-side problem as they may have forgotten to set up temp dir for you, but can be treated by changing PHP settings using php.ini file:

WordPress_How_to_manage_Temporary_Folder_Missing_Error_while_uploading_media_img1

The first option is:

  1. Log into Hosting Cpanel of your server or use your FTP.

  2. Locate wp-config.php file in the root of your wordpress site.

  3. Download the file and open it in any text editor.

  4. Add following code after /* That’s all, stop editing! Happy blogging. */:

    define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/');
  5. Save the file and replace it on your server.

  6. Create a new folder temp in wp-content folder.

The second option is:

  1. Log into Hosting Cpanel of your server or use your FTP.

  2. Open public_html folder.

  3. Now create a file with a name php.ini.

  4. Place the following code inside the file:

     upload_tmp_dir= /home/username/public_html/temp/
  5. Save the file.

  6. Create a temp folder at the same location, i.e. inside public_html.

If the issue is not resolved, we strongly recommend you to contact your hosting provider as this is a server configuration problem.

Feel free to check the detailed video tutorial below:

WordPress. How to get rid of ‘Temporary Folder Missing’ error while uploading media