Page 2 of 2
Re: Uploading file does not work for me!!!
Posted: Tue Sep 02, 2008 2:56 pm
by dauzy
so i made the directory but it still gives me error 6 wtf is that..also i checked if the /tmp folder was there by making it again and it says that /tmp is already there
Re: Uploading file does not work for me!!!
Posted: Thu Sep 04, 2008 2:53 pm
by andyhoneycutt
I would say your next course of action would be to find out where PHP running on Mac OS X stores it's temp files.
-Andy
Re: Uploading file does not work for me!!!
Posted: Thu Sep 04, 2008 7:55 pm
by paperplate
I had the exact same problem on a server that wasn't mine. Also got error 6.
First you wanna see what php thinks your temp upload directory is.
- Do a phpinfo(); function call and look for "upload_tmp_dir". Note this value.
- Make sure "file_uploads" is On.
Secondly you need to make sure the value specified for "upload_tmp_dir" physically exists.
- If it doesn't create it (mkdir [value])
Thirdly, make sure the permissions are set correctly. I think whatever user is running the web server needs write access. You can mess with the owner of the directory or just give it the end-all chmod code (777)
- chmod 777 [value]
After that, everything worked for me. Good luck.