[SOLVED]Red X when uploading [SOLVED]Red X when uploading
 

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

[SOLVED]Red X when uploading

Started by azPNG, June 12, 2004, 06:21:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

azPNG

I go through all the steps to uploading a file, selecting 1 file to upload and then browsing for the file (tried 3 different sizes).  When I get to the screen on where to place the file and type in information about it, where the picture should be there is a RED X.  I have tried many times and even tried it by going into User Mode. Nothing is helping.  Below is a screenshot of what it looks like.  I did check, recheck, and rerecheck the permissions on /albums, /albums/edit, and /albums/userpics.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.pngresource.com%2Fimages%2Fcp13upload.jpg&hash=ecaa40311a4a2010bbc4fe2efdf5bde51d27e774)

I just checked the FTP site and the userpics directory.  ALL images were uploaded and added to the folders, BUT do not show up in the gallery itself.

EDIT: This is what is says after you upload the pic:

The previous file could not be placed.

You have successfully placed all the files.

azPNG

#1
After activating debug mode and droping to 'Single uploads only', here is the error I got:

Critical error
The file 'albums/userpics/10001/thecrossonlinelogo~1.png' can't be inserted in the album

Error executing ImageMagick - Return value: 127


Cmd line :
/usr/bin/X11/convert -quality 80 -antialias -geometry 300x50 'albums/userpics/10001/thecrossonlinelogo~1.png' 'albums/userpics/10001/thumb_thecrossonlinelogo~1.png'



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



File: /home/azerch/public_html/gallery/db_input.php - Line: 305


hyperion

Well, it's telling you that you have the wrong path to IM's convert program.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

azPNG

Great....how do you suggest I find it.  Is there an easy way to find out?

hyperion

That depends.  If you are hosted, ask the server admin.  If you run the server, search for all programs named convert and find it by the process of elimination.

If you have GD2 available, you may use it in the interim.  GD1 will work, too, but it will have low pic quality.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

azPNG

Solved.  At least for now.

Mackelito

I have located the Convert file i 2 locations... bur none of them work...

/ImageMagick-6.0.5/utilities/
and
/usr/local/bin/

... but still I get the same error

"The previous file could not be placed.

You have successfully placed all the files."

What else can be wrong?

Joachim Müller

enable debug mode in coppermine config to see additional error messages.

GauGau

catog0811

Hello,
can anybody help me in german?? I have the  same trouble.
I have Version 1.3.2 and ImageMagick-6.0.6-Q16.
Thanks for help
catdog0811

Joachim Müller

no german support on this board - see http://coppermine.sourceforge.net/faq.php#nonEnglishPosting
Why don't you do what was recommended on tis thread already? Enable debug mode and post the actual error message you get.

Joachim

Posting a follow-up on a thread that has been marked as "solved" is not a very good idea...