forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: jo_dadday on December 29, 2005, 05:35:11 pm

Title: Garbled Images after user upload
Post by: jo_dadday on December 29, 2005, 05:35:11 pm
I'm running CPG 1.4.2 on a linux apache server, and i can upload files without a problem using the 'batch upload' utility.

When a registered user tries to upload a file, there are no errors, but in the gallery, both the thumbnail and the intermediate pics are garbled and the color is all messed up. when I click on the intermediate pic to see the original file, the color is fine.

I have contacted my hosting service, and have confirmed that GD2 is installed.
Any help with this issue would be greatly appreciated.

Here is what the intermediate pics look like (and yes, the original was full colour.)
Title: Re: Garbled Images after user upload
Post by: Joachim Müller on December 29, 2005, 05:36:32 pm
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Garbled Images after user upload
Post by: jo_dadday on December 29, 2005, 06:34:50 pm
ok, so this is kinda wierd. I followed the instructions, and using my admin account , both under user and admin mode, there was the error message "
The selected album/file does not exist !

File: /homepages/29/d143536431/htdocs/pictures/include/functions.inc.php - Line: 1308"

I tried a registered user account and same thing.

the picture does appear in the album tho. and the colors are messed.

here's the debug info:

Code: [Select]
USER:
------------------
Array
(
    [ID] => 4e22ba6ae60bcd2711e20d296db5abac
    [am] => 0
    [lang] => english
    [lap] => 2
    [liv] => Array
        (
        )
Title: Re: Garbled Images after user upload
Post by: kegobeer on December 29, 2005, 07:40:25 pm
http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php
Title: Re: Garbled Images after user upload
Post by: jo_dadday on December 30, 2005, 02:01:59 am
i already followed that troubleshooting thing. Oh, my bad, the testing username is "test" and password is "user"... :-\

the gallery is located at pictures.surreyyp.com