forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: sc204 on August 06, 2009, 02:06:51 am

Title: Upload stopped working
Post by: sc204 on August 06, 2009, 02:06:51 am
My galllery home
http://www.flyingeaglesrc.com/coppermine/index.php

I was on version 1.4.19 which had been working fine.  At some point uploads stopped working. 
Upgraded to 1.4.25 as per the directions seemed to upgrade OK.  On the version check screen anycontent.php is on version 1.4.10.  The rest of the check seems fine
uploading a file seems to work but I get this message when reaching the add to folder step

"The previous file could not be placed.

You have successfully placed all the files. "

I have switched to one file upload at a time all appropriate folders are 755 permissions.

I am getting the same error with version .25 as I did with .19

Any suggestions on how to track this down?
Thank you,
Stuart
Title: Re: Upload stopped working
Post by: sc204 on August 06, 2009, 02:25:26 am
Enabling Debug mode gives me the following critical error
The file 'albums/userpics/10001/right_front~4.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127


Cmd line :
/usr/bin/convert -quality 75 -antialias -geometry 150x105 'albums/userpics/10001/right_front~4.jpg' 'albums/userpics/10001/thumb_right_front~4.jpg'



The convert program said:



File: /home/flyingea/public_html/coppermine/db_input.php - Line: 402

Hopefully that will help to tell what the problem is.

Title: Re: Upload stopped working
Post by: sc204 on August 06, 2009, 02:40:13 am
From the debug info the problem seemed to be Image Magick.  I switched from that to GD and uploads work again.  I thought that we were using IM in the past and have no idea how the setting could have been switched to it if we were not.
Is IM pretty standard?

Stuart
Title: Re: Upload stopped working
Post by: Joachim Müller on August 06, 2009, 07:38:10 am
No, GD2 is much more common (standard if you want). However, that doesn't help: you need to know if you have a particular image library: just guessing and assuming standards doesn't help in that case. If you were in hospital, you wouldn't want to receive the wrong blood group just because it was the most common, standard blood group ;).
Anyway, you were able to fix your issues on your own, so why bother. Case closed.