Categories

Featured templates

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

Vicki Hayes April 15, 2016
Rating: 5.0/5. From 3 votes.
Please wait...

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
Coolest Wordpress Themes
This entry was posted in WordPress Tutorials and tagged error, uploading media, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket