Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Unable to upload images after webhost migration  (Read 3542 times)

0 Members and 1 Guest are viewing this topic.

johnner

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Unable to upload images after webhost migration
« 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.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Unable to upload images after webhost migration
« Reply #1 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

johnner

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Unable to upload images after webhost migration
« Reply #2 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

Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Unable to upload images after webhost migration
« Reply #3 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

johnner

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Unable to upload images after webhost migration
« Reply #4 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!!!
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Unable to upload images after webhost migration
« Reply #5 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.