forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: johnner on June 26, 2006, 05:17:46 pm

Title: Unable to upload images after webhost migration
Post by: johnner on June 26, 2006, 05:17:46 pm
My webhost recently migrated my account to a new platform, and since then I'm not able to upload any images to my albums either in bulk or 1 at a time.  I haven't received any error messages except for "The previous file could not be placed. You have successfully placed all the files."  I did a new install in another directory using their quick installer, and it seems to work fine.  Just curious what I could check to see where the problem might be?  Any help would be greatly appreciated.
Title: Re: Unable to upload images after webhost migration
Post by: Sami on June 26, 2006, 05:40:19 pm
- http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
- if you can't find answer before post a link here , check your "Method for resizing images"(admin mode=>config=>Files and thumbnails advanced settings=>Method for resizing images ), try to change it and check upload
Title: Re: Unable to upload images after webhost migration
Post by: johnner on June 26, 2006, 06:15:59 pm
Hi, no luck.  It looks like it works fine until you go to actually put it into an album.  I still don't see any errors except for the one above.  "The previous file could not be placed. You have successfully placed all the files."  Below is a link to the debug log.

http://www.johnner.com/copperminelog.txt

also, here is a test username and a url to try

testuser | testuser  http://www.johnner.com/gallery

Actually, I just created this account and tried it and got the below message.  Does this mean the path to imagemagik is wrong?

The file 'albums/userpics/10002/dilbert.gif' can't be inserted in the album

Error executing ImageMagick - Return value: 127

Cmd line :
/usr/local/bin/convert -quality 80 -antialias -geometry 292x100 'albums/userpics/10002/dilbert.gif' 'albums/userpics/10002/thumb_dilbert.gif'


The convert program said:
sh: line 1: /usr/local/bin/convert: No such file or directory


File: /hermes/web08/b168/pow.jdmerrit/htdocs/gallery/db_input.php - Line: 305

Title: Re: Unable to upload images after webhost migration
Post by: Sami on June 26, 2006, 06:19:48 pm
- yes it does :)
- try GD 2.0
- if you can't use GD then ask your host for correct path of ImageMagick
Title: Re: Unable to upload images after webhost migration
Post by: johnner on June 26, 2006, 06:30:25 pm
Yup that was it.  I changed it to GD 2 and it works now.  Any advantages/disadvantages to using one over the other?  Just curious.  Thanks for the quick reply, and getting me pointed in the right direction!!!
Title: Re: Unable to upload images after webhost migration
Post by: Sami on June 26, 2006, 07:55:51 pm
for coppermine both are equal (GD don't call external command may be it's advantage)
but in some cases (not in coppermine) Imagemagick is better
googling "gd vs imagemagick" would help you to get better idea