Results 1 to 6 of 6
-
12-24-2007, 05:52 PM #1Junior Guru Wannabe
- Join Date
- Dec 2003
- Posts
- 92
Cannot create temporary file (image upload)
Hello,
I'm on a new server (CentOS) and I can't seem to do image uploads through php because it cannot create the temp file... my php.ini is set to use the default directory...
Does anyone know how I might be able to fix this?
-
12-24-2007, 09:44 PM #2Web Hosting Master
- Join Date
- Mar 2004
- Location
- USA
- Posts
- 4,345
What is the error you get?
Is your tmp directory writable, does it have the correct permissions.
Peace,Testing 1.. Testing 1..2.. Testing 1..2..3...
-
12-25-2007, 03:29 AM #3Junior Guru Wannabe
- Join Date
- Dec 2003
- Posts
- 92
The error I get is "Can't create the temporary file", I think it's a custom error message though, it also says cannot write to /tmp, and I chmod it to 777
-
12-25-2007, 03:01 PM #4Web Hosting Master
- Join Date
- Mar 2004
- Location
- USA
- Posts
- 4,345
Check the rights on the /tmp folder, the group/ownership should be set to root.
Peace,Testing 1.. Testing 1..2.. Testing 1..2..3...
-
12-25-2007, 11:59 PM #5Junior Guru Wannabe
- Join Date
- Dec 2003
- Posts
- 92
-
12-29-2007, 12:10 PM #6WHT Addict
- Join Date
- Jun 2004
- Location
- Ann Arbor, MI
- Posts
- 119