Missing a temporary folder

Discussion in 'General' started by onastvar, Oct 8, 2017.

  1. onastvar

    onastvar Member

    All of a sudden, on one of the Wordpress sites, when I try to upload image I get the message:

    "Missing a temporary folder."

    Error log for the website shows:
    mod_fcgid: stderr: PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0, referer: http://mywebsite.com/wp-admin/media-new.php

    I tried this solution (didn't work)
    Also tried custom php.ini settings under webiste options (ISPConfig)

    upload_tmp_dir = /var/www/clients/client14/web27/tmp
    upload_tmp_dir = /tmp

    didn't work either.

    Any ideas how to handle this issue without compromising security of the server?
  2. onastvar

    onastvar Member

    Solved: fixed by

    chown -R web27:client14 /var/www/clients/client14/web27
    Jesse Norell likes this.

Share This Page