View Single Post
Old October 12th, 2006, 02:36 PM   #1 (permalink)
Fortissimo
Member
Verified Customer
 
Fortissimo's Avatar
 
Join Date: Oct 2005
Posts: 446
image-inc.php Error

We upgraded on 10/8. There were no issues until today.

When you try to upload you get the following error:

Warning: copy(/home/site/public_html/gallery/data/502/thumbs/061806_02.jpg): failed to open stream: Permission denied in /home/site/public_html/gallery/image-inc.php on line 302

Error creating thumbnail! Error code: 1

Command:

"/usr/bin/mogrify" +profile "*" -size 100x100 -quality 70 -geometry 100x100 -unsharp 10 '/home/site/public_html/gallery/data/502/thumbs/061806_02.jpg'

---
So I start looking around and see that everything needs to be set at 777 in the data area.

I go look and many of the folders are set to 755 (I'm using Smart FtP by the way)

Question #1: Yesterday it was working fine, today it's not. What would have caused it to stop working overnight? I didn't change chmods

So.. I go in and look at data/500. First I try to chmod it to 777.. trying to apply to folders, subdirectories and files. I get the following error:

[14:33:04] 550 Could not change perms on 0012.jpg: Bad file descriptor

I start looking around... and notice that I can't visually see the data/500/mini, medium or thumbs folder. I try to view via shell and can find them, but I don't know how to really use shell to chmod...

I chmod as many directories as I can 777. I get a lot of Bad file descriptors though.

I'm at a loss. Do you have any ideas of what I can do at this point?
Fortissimo is offline   Reply With Quote