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

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.

×
1 answer

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

Submit an Answer