Unable to upload images after webhost migration Unable to upload images after webhost migration
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Unable to upload images after webhost migration

Started by johnner, June 26, 2006, 05:17:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

johnner

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.

Sami

- 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
‍I don't answer to PM with support question
Please post your issue to related board

johnner

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


Sami

- yes it does :)
- try GD 2.0
- if you can't use GD then ask your host for correct path of ImageMagick
‍I don't answer to PM with support question
Please post your issue to related board

johnner

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!!!

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board