Unable to create a temporary file in Unknown

I wrote a PHP script a few months back which basically acts as a simple image uploading service. It always worked fine, until I switched to DreamHost, so I’m guessing it’s something different with the configuration.

Basically, with this HTML form:

The PHP script does not work because the temporary file is not being created on the server. I get the following error message:
unable to create a temporary file in Unknown on line 0

Thanks in advance.

post the code for the php upload file if you want help. Help us help you by giving us all the information!!!

I didn’t post the PHP code since it’s not too important, considering that all it does is do checks on the file and move it from the temporary folder to the correct directory on the site. Anyways, now that I try today, it works fine. The server I was put on was apparently a new one and it seems like access to /tmp was not allowed. It is fixed now.

Thank you. :slight_smile:

Odly a common error on new servers with DH. This isn’t anything new to them.

yerba# rm -rf /etc