PDA

View Full Version : Errors when trying to upload


vegascoug
December 6th, 2005, 11:50 PM
I am getting these errors when trying to upload:

Warning: copy(/home/thescrap/public_html/gallery/data/500/december22.jpg): failed to open stream: Permission denied in /home/thescrap/public_html/gallery/uploadphoto.php on line 512

Warning: getimagesize(/home/thescrap/public_html/gallery/data/500/december22.jpg): failed to open stream: No such file or directory in /home/thescrap/public_html/gallery/image-inc.php on line 214

Warning: copy(/home/thescrap/public_html/gallery/data/500/december22.jpg): failed to open stream: No such file or directory in /home/thescrap/public_html/gallery/image-inc.php on line 241

Warning: getimagesize(/home/thescrap/public_html/gallery/data/500/december22.jpg): failed to open stream: No such file or directory in /home/thescrap/public_html/gallery/image-inc.php on line 412

Warning: getimagesize(/home/thescrap/public_html/gallery/data/500/december22.jpg): failed to open stream: No such file or directory in /home/thescrap/public_html/gallery/image-inc.php on line 612

Warning: filesize(): Stat failed for /home/thescrap/public_html/gallery/data/500/december22.jpg (errno=2 - No such file or directory) in /home/thescrap/public_html/gallery/image-inc.php on line 620

Warning: fread(): supplied argument is not a valid stream resource in /home/thescrap/public_html/gallery/image-inc.php on line 620

Unable to read the format of file: /home/thescrap/public_html/gallery/data/500/december22.jpg

thescrapbookstand.com/gallery/ is the link to this gallery

The site was working and the host had a major crash and had to restore the MySQL DB and site from an older backup, and it seems that something got corrupted when it was restored but I have no idea how to fix it.

Any help?

vegascoug
December 6th, 2005, 11:52 PM
Is this possibly a CHMOD thing? That directory is set to 755

Chuck S
December 7th, 2005, 11:07 AM
Yep all uploads and data directories as well as there children must be 777 ;)