coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: neda on July 20, 2004, 11:13:36 PM

Title: corrupted jpg files uploaded and cant upload any other image type
Post by: neda on July 20, 2004, 11:13:36 PM
Hi,
I can upload jpeg files but they are corrupted and this error shows up:


Notice: Undefined variable: meta_keywords in /home/bannerlib/coppermine1.3.0/displayimage.php on line 633

Also when I try to upload filetypes other than jpeg it just fails with the error below, even though my configuration allows all file type uploades. I have already gone through the General Troubleshooting document and many of the postings.I would greatly appreciate any help.

CRITICAL ERROR:
The file 'albums/userpics/10001/one.png' can't be inserted in the album

Error executing ImageMagick - Return value: 1


Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 40x100 'albums/userpics/10001/one.png' 'albums/userpics/10001/thumb_one.png'



The convert program said:
convert: Corrupt image `albums/userpics/10001/one.png'.
convert: missing an image filename `albums/userpics/10001/thumb_one.png'.



File: /home/bannerlib/coppermine1.3.0/db_input.php - Line: 305


USER:
------------------
Array
(
    [ID] => fc17e9e51f226610ceb5cb9d61d5bdd5
    [am] => 1
    [liv] => Array
        (
           
Title: Re: corrupted jpg files uploaded and cant upload any other image type
Post by: Joachim Müller on July 21, 2004, 12:56:56 PM
Could it be you're using some watermark hack? If yes, undo it.
Please post a link to your coppermine gallery and a test user account (non-admin) with upload privileges.

GauGau
Title: Re: corrupted jpg files uploaded and cant upload any other image type
Post by: neda on July 21, 2004, 05:43:00 PM
Thanks for your reply Gau Gau,

I dont think I am using a watermark hack , however I am not sure how to double check...?

I created a test account with the following
Username : testUser   ~   Password: testPass

I am going to try and switch to GD instead of ImageMagick, maybe that will make a change.

Neda




Title: Re: corrupted jpg files uploaded and cant upload any other image type
Post by: Joachim Müller on July 21, 2004, 06:38:43 PM
urm, what? What image library do you actually have on your server?

GauGau
Title: Re: corrupted jpg files uploaded and cant upload any other image type
Post by: neda on July 21, 2004, 06:49:57 PM
I have both ImageMagick and GD. Now I switched to GD because I thougth there might be something wrong with my ImageMagick, but there is no difference between using either one.

Neda