coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: KryptonSite on July 04, 2008, 11:15:00 PM

Title: [Solved]: Uploading error
Post by: KryptonSite on July 04, 2008, 11:15:00 PM
I'm getting an error that I'm seeing mentioned on many forums but am still unable to find a valid fix. To my knowledge I have followed the instructions in the Coppermine documentation on how to fix this.

This is the error message I get:

"Critical error
The file 'albums/userpics/10001/ad-heroes.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /chroot/home/herosite/herosite.net/html/gallery/db_input.php - Line: 402"

The debug file I get has this:

USER:
------------------
Array
(
    [ID] => 552cac8c8451caa9b6585e2388e000f6
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
           
Title: Re: Uploading error
Post by: KryptonSite on July 04, 2008, 11:16:17 PM
I should also add, I checked chmod permissions and it's 777 in all of the relevant directories.
Title: Re: Uploading error
Post by: Nibbler on July 04, 2008, 11:46:18 PM
You had your setting for 'Max width or height of an intermediate picture/video' at 1 pixel. I set it to 400 and it works now. Update your gallery so this does not happen again.
Title: Re: Uploading error
Post by: KryptonSite on July 04, 2008, 11:48:22 PM
This issue had been bugging me for months and you were able to answer so quickly. Thank you very much!
Title: Re: [Solved]: Uploading error
Post by: Joachim Müller on July 05, 2008, 08:36:42 AM
http://forum.coppermine-gallery.net/index.php/topic,51927.0.html