| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | Error Messages Just to start this off i know nothing whatsoever about PHP or how to program. I have a site where i upload images to online gallerys. When i upload a picture i get this error message everytime. Warning: copy(/home/chicks/public_html/images/dir/1.jpg): failed to open stream: Permission denied in /home/chicks/public_html/classes/imageupload.class.php on line 24 There was an issue Warning: imagejpeg(): Unable to open '/home/chicks/public_html/images/dir/thumbs/1.jpg' for writing in /home/chicks/public_html/classes/imageupload.class.php on line 57 |
| |
| | #8 (permalink) |
| NamePros Regular | I just changed all the permission like suggested to 777 and i'm still getting this error message Warning: copy(/home/chicks/public_html/images/dir/5.jpg): failed to open stream: Permission denied in /home/chicks/public_html/classes/imageupload.class.php on line 24 There was an issue Warning: imagejpeg(): Unable to open '/home/chicks/public_html/images/dir/thumbs/5.jpg' for writing in /home/chicks/public_html/classes/imageupload.class.php on line 57 Problem In resizing |
| |
| | #10 (permalink) |
| NamePros Legend | what's on line 24 and line 57 for imageupload.class.php ? pls. paste it here. chmod 777 also this one /classes/ and also where did you got the script or care to paste just the readme.txt or install.txt ? let us solve this together. im here to help |
| |
| | #13 (permalink) |
![]() | a1nerd, There could have been a small problem when chmodding the directories. If you did it in FTP, DON'T! Many ftp clients don't change the permissions at all (from experience), the best way to do it is using the CPanel file manager. SmartFTP is the main problem client, not sure why. Report back
__________________ <?php if(1===1){ $computer="fine."; }else{ $computer="broken."; } echo "Your computer is ".$computer; ?> |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |