coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: azPNG on June 12, 2004, 06:21:28 PM

Title: [SOLVED]Red X when uploading
Post by: azPNG on June 12, 2004, 06:21:28 PM
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.
Title: Re: Red X when uploading
Post by: azPNG on June 12, 2004, 06:57:48 PM
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

Title: Re: Red X when uploading
Post by: hyperion on June 12, 2004, 07:06:06 PM
Well, it's telling you that you have the wrong path to IM's convert program.
Title: Re: Red X when uploading
Post by: azPNG on June 12, 2004, 07:08:53 PM
Great....how do you suggest I find it.  Is there an easy way to find out?
Title: Re: Red X when uploading
Post by: hyperion on June 12, 2004, 07:13:24 PM
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.
Title: Re: Red X when uploading
Post by: azPNG on June 12, 2004, 07:17:17 PM
Solved.  At least for now.
Title: Re: [SOLVED]Red X when uploading
Post by: Mackelito on August 18, 2004, 10:41:39 PM
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?
Title: Re: [SOLVED]Red X when uploading
Post by: Joachim Müller on August 19, 2004, 07:43:47 AM
enable debug mode in coppermine config to see additional error messages.

GauGau
Title: Re: [SOLVED]Red X when uploading
Post by: catog0811 on September 03, 2004, 02:01:15 AM
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
Title: Re: [SOLVED]Red X when uploading
Post by: Joachim Müller on September 03, 2004, 07:32:19 AM
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...