Report this

What is the reason for this report?

Missing a temporary folder

Posted on April 2, 2020

Hi,

while uploading images, i am getting following error

“Missing a temporary folder”,

i have changed in wp-config.php and created temp folder in wp-content but still problem is same.

could help me out from this error.

Regards, Raja



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

I am facing the same error. I’ve done all the instructions above but still got an error

did find the way to fix it please @rajviswas @KFSys Kindly advice

Hi @rajviswas,

Can you confirm you’ve followed these steps :

Copy paste the following code to the file before the line that says `That’s all, stop editing! Happy blogging’.

define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/tmp/');

Go to /wp-content/ folder.

cd /path/to/website/wp-content

Create a new folder named tmp:

cd /path/to/website/wp-content && touch tmp

If the solution mentioned above does not work for you, then you should check the directory permissions of your wp-content folder. That directory needs to have 755 permissions.

To change the permissions, you can run the following

chmod 755 /path/to/website/wp-content

Please remember to change ‘/path/to/website’ with the actual path on the server.

Regards, KDSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.