coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Spicedogs on May 01, 2007, 09:46:45 PM

Title: Cannot decipher the uploading problem
Post by: Spicedogs on May 01, 2007, 09:46:45 PM
I upload a picture. It goes through the first phase. I press continue, but when I get to the phase wherein I put the photo in an album, I do not get a thumbprint of the photo on left-hand side. I get a thick horizontal line, which does not allow the photo to be placed in the album. Any suggestions?
Title: Re: Cannot decipher the uploading problem
Post by: Nibbler on May 01, 2007, 09:49:39 PM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Cannot decipher the uploading problem
Post by: Spicedogs on May 03, 2007, 08:04:30 AM
I am still having problems. I never had problems before. I took screencaps to show you what my uploads look like. I use either the browse my hard drive system or the url upload. (I have no FTP capabilities, only Filezila.) I made a screencap using explorer and firefox.

[edit GauGau] Replaced hotlinked images with attachments [/edit]


I have no idea what happened to my board.

http://michaelemerson.net/coppermine/
Title: Re: Cannot decipher the uploading problem
Post by: Joachim Müller on May 03, 2007, 08:07:55 AM
Do exactly as Nibbler suggested! Here's the part of the docs that Nibbler refered to, with the important bit (the stuff you failed to do) highlighted:
Quote4.11.4 Upload troubleshooting

If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages:

    * Go to your coppermine page and log in as admin
    * Go to the config screen
    * Scroll to the bottom of the page
    * Expand the "Maintenance settings" section by clicking on it
    * Enable debug mode for everyone
    * Leave display of notices switched off
    * Save the new settings by clicking on "Save new configuration"
    * Go to the "groups" panel
    * Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
    * Save your new settings

Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, search the support board for the error message you get.
When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!

Quote from: Spicedogs on May 03, 2007, 08:04:30 AM
I have no FTP capabilities, only Filezila.
That's nonsense. Filezilla is an FTP app.

Quote from: Spicedogs on May 03, 2007, 08:04:30 AM
I have no idea what happened to my board.
Coppermine is not a bulletin board system, but a web gallery.
Title: Re: Cannot decipher the uploading problem
Post by: Spicedogs on May 03, 2007, 08:15:32 AM
Here's the Debug Info:

USER:
------------------
Array
(
    [ID] => 20175e198e1cee85b3e7914249e366cd
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
Title: Re: Cannot decipher the uploading problem
Post by: Joachim Müller on May 03, 2007, 08:30:04 AM
Are you deliberately playing stupid?
Quote from: GauGau on May 03, 2007, 08:07:55 AMWhen asking for support on the coppermine forum, post [...] a test user account
Quote from: GauGau on May 03, 2007, 08:07:55 AMDo not post debug_output unless requested.




Anyway, the error message is quite clear:
Quote from: Spicedogs on May 03, 2007, 08:15:32 AM
and here's the error:

The file 'albums/userpics/10002/TheBrig_000.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127

Cmd line :
convert -quality 80 -antialias -geometry 100x56 'albums/userpics/10002/TheBrig_000.jpg' 'albums/userpics/10002/thumb_TheBrig_000.jpg'


The convert program said:


File: /usr/local/www/coppermine/db_input.php - Line: 402



The error message you got is very common, doing as suggested in the docs
Quote from: GauGau on May 03, 2007, 08:07:55 AMIf the error message doesn't mean anything to you, search the support board for the error message you get.
would have told you that you either don't have ImageMagick or that you have specified the wrong path to ImageMagick in the first place. As suggested in the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#install_screen_start) (again):
QuoteImageMagick
Coppermine can use the ImageMagick 'convert' program to create thumbnails. Quality of images produced by ImageMagick is superior to GD1 but equivalent to GD2.
If ImageMagick is installed on your system and you want to use it, you need to input the full path to the 'convert' program below. On Windows the path should look like 'c:/ImageMagick/' (use / not \ in the path) and should not contain any space, on Unix is it something like '/usr/bin/X11/'.
You can not fake an ImageMagick path, you have to know it. If you're not sure, leave this field empty - Coppermine will then try to use GD by default. You can edit the path later as well in the config screen. You can only install ImageMagick or GD if the server is yours to administer - if you're webhosted, you probably can't. The user of the webserver, who wishes to use ImageMagick, will need read/write/execute permissions in the folder where ImageMagick's convert executable resides in.
Bottom line: go to Coppermine's config, change "Method for resizing images" from "ImageMagick" to "GD2", save your changes, then try uploading once more.

In the future, make sure to have read the documentation before posting questions. Pay attention to supporter's suggestions!