Slade
07-18-2007, 02:07 PM
I don't know whether anyone else has struck this but I tried to upload a new drawing to my gallery in the Artist's Gallery and it isn't working. I've tried with numerous files and even linking it from Photobucket. The error that comes up is:
Error creating thumbnail! Error code: 127
Command:
"/usr/local/imagemagick/bin/mogrify" +profile "*" -size 96x100 -quality 70 -geometry 96x100 -unsharp 10 '/home/eyesonff/subdomain/fanart/data/500/thumbs/Poison-Ivy-Colour.jpg'
Which sounds as though there's something wrong at this end (EoFF).
It may be me and my stupidity but I'm sure I haven't done anything different than usual.
Anyhow, just thought I'd bring it to your attention :)
scrumpleberry
07-18-2007, 06:31 PM
Yeah, I got that as well :(
I tried to change one of my pictures, and then I tried to upload a new one, and it came up with that.
The piccy I tried to change is screwed up now :(
rubah
07-18-2007, 07:36 PM
I think it's the same thing that means I can't add pictures to the album. I asked one of the owners about it yesterday and he said he'd look into it.
Mogrify is Imagemagick's program to change the dimensions of an image.
As far as I know (actually, when I had the same problem :p) error code 127 either means that mogrify isn't in the path or Apache (or whatever sever) doesn't have write permissions to the directory it's trying to write to.
rubah
07-19-2007, 08:21 AM
a directory could lose the set permissions if it was moved to another box, couldn't it?
Baloki
07-19-2007, 10:24 AM
a directory could lose the set permissions if it was moved to another box, couldn't it?
A directory would lose it's permissions by default when you move to another box if I remember correctly...
Not necessarily. If the data was moved to a different filesystem either in transit to the new box or on the new box itself then it's possible. Likely, even. For example, if for some reason the data was on ext3 with permissions rwxr-xr-x (755), and was moved to NTFS then to ext3 again, the permissions would come out the other side as r-------- (400) meaning only root has read permission to read the file. Clearly it's a very silly idea to run Apache as root. :p
Another thing that could cause permission problems would be if Apache (or Imagemagick) is being run as a different user than it was before, one that is not in the right group or not the owner of the write directory.
rubah
07-19-2007, 07:23 PM
warren says he fixed it, so try again :D I know the album works now, so I guess fanart should to!
Samuraid
07-20-2007, 07:42 AM
Tell the current owners they need to install ImageMagick ( www.imagemagick.org ) if they haven't already.
It is the software that is used to generate thumbnails and it wouldn't have been transferred in the server move.
rubah
07-20-2007, 07:44 AM
if we didn't have imagemagick, we wouldn't have attachments and avatars xD Apparently the issue was it was looking for the plug in in a different folder or something? I'm not positive xD
Slade
07-20-2007, 10:28 AM
Yay, it's fixed. Thanks guys. I don't know what I'd do without the gallery! :D
Loony BoB
07-20-2007, 12:09 PM
Good to see people are still using it, I noticed the submissions were drying up.
Samuraid
07-20-2007, 08:52 PM
if we didn't have imagemagick, we wouldn't have attachments and avatars xD Apparently the issue was it was looking for the plug in in a different folder or something? I'm not positive xD
Actually, we would still have attachments and avatars. vBulletin uses the GD2 library (compiled with PHP) for attachment thumbnails. It also uses getimagesize() (http://www.php.net/getimagesize) for avatars which is built-in to PHP.