Hey all...
I've been using Coppermine for a while now, and have always used GD 1.X to create my thumbs. I finally took the plunge and had my host install ImageMagick so that I could have some higer quality thumbs.
I've been having trouble getting it working however. I keep getting the error 127. I've looked around the board and found quite a few posts on it.
I'm pretty sure that the path is correct. I confirmed it with my provider. Safe mode is enabled, but I don't know if that is the problem.
I turned on the debug mode, and got the following message when I try to upload a picture.
QuoteThe picture 'albums/userpics/020718_8.jpg' can't be inserted in the album
Error executing ImageMagick - Return value: 127
Cmd line :
/usr/X11R6/bin/convert -quality 90 -antialias -geometry 151x100 'albums/userpics/020718_8.jpg' 'albums/userpics/thumb_020718_8.jpg'
The convert program said:
File: /home/virtual/site---/fst/var/www/html/photos/db_input.php - Line: 289
Warning: Cannot execute using backquotes in safe mode in /home/virtual/site184/fst/var/www/html/photos/include/picmgmt.inc.php on line 138
Any ideas??
:?:
Ok...
I did a new install... the install says that it locates the imagemagick program, but can not execute it.
How can I fix this permissions problem?
Is it a safe mode problem?
if you're not allowed to run convert of ImageMagick you'll have to ask your webhost to fix this for you imo.
GauGau
a poblem with my imagemagick
QuoteThe picture 'albums/userpics/avatar.gif' can't be inserted in the album
Error executing ImageMagick - Return value: 1
?? wat does this mean and wat do i ahve ot do
I get this error now too. what do i do.
[list=1]
- switch on debug_mode to see what happened in detail
- simply don't use GIFs - although IM might support it, it doesn't support compression of GIfs for legal reasons, so your resized files will become huge[/list:o]Do a search on these issues, they have been discussed before...
GauGau
what does this mean. i think that im soooo close
The picture 'albums/userpics/10001/odlogo~2.jpg' can't be inserted in the album
Error executing ImageMagick - Return value: 127
Cmd line :
/usr/local/binconvert -quality 80 -antialias -geometry 168x100 'albums/userpics/10001/odlogo~2.jpg' 'albums/userpics/10001/thumb_odlogo~2.jpg'
The convert program said:
sh: /usr/local/binconvert: No such file or directory
File: /Library/WebServer/Documents/copper/db_input.php - Line: 289
ok that error was simple i forgot the / at the end.
but now what is this..
The picture 'albums/userpics/10001/people.jpeg' can't be inserted in the album
Error executing ImageMagick - Return value: 1
Cmd line :
/usr/local/bin/convert -quality 80 -antialias -geometry 132x100 'albums/userpics/10001/people.jpeg' 'albums/userpics/10001/thumb_people.jpeg'
The convert program said:
/usr/local/bin/convert: No decode delegate for this image format (albums/userpics/10001/people.jpeg).
File: /Library/WebServer/Documents/copper/db_input.php - Line: 289
does Image Magic have jpeg support enabled? If you're not sure, ask your webhost.
GauGau
i am my webhost. this is on a g3 400 mhz with 512mb ram and a 60gig hard drive.
it has the latest versionof php
mysql and all the developer tool's
Then it was you who installed Image Magick, so ask yourself: did you install Image Magick properly? Did you make/install it or did you use a rpm (package)?
I'm afraid this board is the wrong place to ask for help on "how to set up a server", there are only a few people around occasionally who know how to run a webserver at all. As I'm webhosted I can't tell you about details concerning IM (I'm using GD both on my webhosted personal site as well as at the job), but I'm sure this has already been covered on the board - please do a thorough search on it (and remember to search the old board (http://coppermine.sourceforge.net/oldboard/search.php) as well).
GauGau
I think Image Magick may be choking on the extension ".jpeg".
Image Magick uses the extension to determine file types, and the standard accepted extension for a JPEG type photo is ".jpg". Try renaming the extension and see if that works.
i can upload .gif but not jpeg or .jpg..
how can i make it eccept the other types that im tying to use.
Okay, it would appear that your Image Magick has not been built with JPEG enabled, as GauGau thought. You need to go to www.imagemagick.org and review their installation procedures. They also have a help board like this one. When you can modify JPEG images from the command line of your server, try Coppermine again.
I have no idea what to do! I searched the web, quite sure that I correctly intalled ImageMagick on windows, but still I receive this error:
QuoteThe picture 'albums/userpics/10001/overburn4.jpg' can't be inserted in the album
Error executing ImageMagick - Return value: 1
please help me, i'm frustrated
i'm running a apache web server on windows xp
You need to activate debug mode to get the full error message.