Help - Search - Members - Calendar
Full Version: Ftp Permissions Help
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
sah25
Hi, I'm new here and I have uploaded my site and everything works great except the page where I allow the users to upload pictures. I get an error that I believe is telling me I don't have permission to do so. I can upload anything with the FTP, but other users that log into my site cannot. I fairly certain the code is correct. Here is the error:
Warning: move_uploaded_file(./Media/Tatl.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /www/zzl.org/c/r/e/creativeminds/htdocs/Upload.php on line 74

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/www/zzl.org/c/r/e/creativeminds/htdocs/phpWLldve' to './Media/Tatl.jpg' in /www/zzl.org/c/r/e/creativeminds/htdocs/Upload.php on line 74

Also, the file manager of the Zymic site is down and I can't change permissions without it. Any idea what I should do? How long will the file manager be down? Thanks for any help!
ssfdre38
for the file manager use ftp client for now there is no eta on when its going to be back
sah25
QUOTE(ssfdre38 @ Sep 30 2010, 10:54 PM) *
for the file manager use ftp client for now there is no eta on when its going to be back


Any idea on how to deal with fixing the users of my site upload problem? Thanks.
ssfdre38
use ftp to upload your sites
sah25
QUOTE(ssfdre38 @ Oct 1 2010, 05:33 AM) *
use ftp to upload your sites

I already do that. I made page for my website for other users to upload their art to. They cannot do so because they don't have permission. It's the same type of upload as the attachment for this forum. I have an upload button and the users upload a picture. Look at one of my previous post to see the error. I don't know how to fix this. The code is correct because I made this site in college and it worked there, but it does not work here. In fact, I have had to change several things for this site to work here such as the headers (they take the user back to another page). Is there anything I can do to allow the users of my site to upload or attach pictures to display them on my site? Thanks.
DroNix
QUOTE(sah25 @ Oct 1 2010, 10:56 AM) *
I already do that. I made page for my website for other users to upload their art to. They cannot do so because they don't have permission. It's the same type of upload as the attachment for this forum. I have an upload button and the users upload a picture. Look at one of my previous post to see the error. I don't know how to fix this. The code is correct because I made this site in college and it worked there, but it does not work here. In fact, I have had to change several things for this site to work here such as the headers (they take the user back to another page). Is there anything I can do to allow the users of my site to upload or attach pictures to display them on my site? Thanks.


Check line 74 of your Upload.php file and set write permissions (755) to the file/folder its specifying.
sah25
QUOTE(DroNix @ Oct 3 2010, 12:02 AM) *
Check line 74 of your Upload.php file and set write permissions (755) to the file/folder its specifying.

Could you point me to a tutorial that can tell me how to do that? I did not know you could write permissions in your code. Thanks!
sah25
QUOTE(sah25 @ Oct 3 2010, 01:51 AM) *
Could you point me to a tutorial that can tell me how to do that? I did not know you could write permissions in your code. Thanks!

I figured it out. Thanks for your help! You can close this topic.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.