coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: max302 on August 06, 2006, 02:58:42 AM

Title: Files could not be place.
Post by: max302 on August 06, 2006, 02:58:42 AM
This is getting on my nerves. I`ve installed reinstalled patched, double checked permissions  at least 7904834 times, and this still doesn't work. Image Magick is installed, so is GD, which stubbornly refuses to work(PHP says GD is supported, but CPG says it isn't, but thats another problem.), and of course the latest version of coppermine. This all runs on Apache server Running on linux, distro i don`t know.

When I upload a pic, CPG says that my photo was properly uploaded, which is true, because i see it on FTP. When I am prompted to enter the info on the pic, no preview is available, like in the pic that I included in this post. Then, on the next page, i get this message. "The previous file could not be placed.
You have successfully placed all the files."
Then, the photo isn`t visible on the category that I selected.

Any of you have an idea of whats going on?
Title: Re: Files could not be place.
Post by: Nibbler on August 06, 2006, 03:01:41 AM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Files could not be place.
Post by: max302 on August 06, 2006, 03:52:46 PM
I get this.

The file 'albums/userpics/10001/Band_1.jpg' can't be inserted in the album

--------------------------------------------------------------------------------------------------
Error executing ImageMagick - Return value: 1

Cmd line :
/usr/local/bin/convert -quality 80 -antialias -geometry 100x75 'albums/userpics/10001/Band_1.jpg' 'albums/userpics/10001/thumb_Band_1.jpg'


The convert program said:
convert: no decode delegate for this image format `albums/userpics/10001/Band_1.jpg'.
convert: missing an image filename `albums/userpics/10001/thumb_Band_1.jpg'.
---------------------------------------------------------------------------------------------------

The debug output is this:

---------------------------------------------------------------------------------------------------
USER:
------------------
Array
(
    [ID] => 3679fe82f975a9fc59abc97373fecc6d
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => max302
    [groups] => Array
        (
           
Title: Re: Files could not be place.
Post by: Joachim Müller on August 06, 2006, 03:55:29 PM
The uploading troubleshooting section Nibbler refered to clearly says not to post debug_output, read more carefully next time. The error message should be pretty self-explanatory. Try using GD. GD needs to be compiled with jpeg support, see FAQ.