Uploading file does not work for me!!!
Moderator: General Moderators
Re: Uploading file does not work for me!!!
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
- andyhoneycutt
- Forum Contributor
- Posts: 468
- Joined: Wed Aug 27, 2008 10:02 am
- Location: Idaho Falls
Re: Uploading file does not work for me!!!
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
-Andy
-
paperplate
- Forum Newbie
- Posts: 16
- Joined: Thu Sep 04, 2008 12:15 pm
Re: Uploading file does not work for me!!!
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.
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.