Upload stopped working Upload stopped working
 

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]

Main Menu

Upload stopped working

Started by sc204, August 06, 2009, 02:06:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sc204

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

sc204

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.


sc204

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

Joachim Müller

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.