Fix “Missing a temporary folder” in WordPress 2.7

As I was writing my article about the installation process of Openfire, I’ve tried to upload a file but got an error message instead of my file :(

Because I wasn’t able to upload a file, I’ve done a quick google search and found this blog entry
.

The problem was easy to fix: the upload_tmp_dir is not set in php.ini.

After adding

1
php_admin_value upload_tmp_dir /var/www/domain/php/upload

to my Apache Vhost-configuration and doing a reload, everything worked as expected.

Thanks, Dwight Jack!

  • Marc

    Hello,

    That post from Dwight Jack is no longer online and your explanation is a little… ‘concise’?

    Could you post some more step-by-step info about how to fix this error. I’m using WP 2.8 on Mac OS X Xampp.

    • http://steffenzieger.de saz

      Hello Marc,

      Create a folder in your home directory and give permissions (read and write) to everyone. Then you’ll have to set “upload_tmp_dir” to the folder created before in your php.ini (I can’t tell you, where this file is located in Xampp on Mac OS X, sorry). The value for upload_tmp_dir must be an absolute path. And don’t forget to remove the ‘;’ in front of upload_tmp_dir.

      HTH & HAND
      Steffen