forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: kinus on April 21, 2006, 07:24:17 pm

Title: 1 uploads were succesful ... but
Post by: kinus on April 21, 2006, 07:24:17 pm
As in some other cases I've already read, I receive the message: 1 uploads were succesful.
But the next step to choose the album, the message is: The previous file could not be placed.
I've already checked the permissios in each folder needed.
I don't send the bug report as you suggest in other topics.
PHP version in the server is 4.4.1
GD version 2.0.28 is installed in the server.
Upload is ON
Can you give me the solution?
Thanks a lot
You can try here: http://kioskarras.com/foto_gallery/
user: test
password: tester
kinus
Title: Re: 1 uploads were succesful ... but
Post by: Joachim Müller on April 21, 2006, 11:44:14 pm
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Single file upload!
Title: Re: 1 uploads were succesful ... but
Post by: kinus on April 22, 2006, 12:33:19 am
Thanks, I didn't know in Spanish how to configure the single post. That's all right now, but the actual message is ...

El fichero 'albums/userpics/10001/01~9.jpg' no puede ser dado de alta en el album

Incapaz de crear thumbnail o imagen de tamaño reducido.

Fichero: /home/lp2004/public_html/kioskarras/foto_gallery/db_input.php - Línea: 391

GD is installed. Any other solution?
Thanks again because I'm sure the answer is somewhere in the forum, but I can't find it.
Kinus
Title: Re: 1 uploads were succesful ... but
Post by: Nibbler on April 22, 2006, 12:40:38 am
http://forum.coppermine-gallery.net/index.php?topic=23342.0
Title: Re: 1 uploads were succesful ... but
Post by: kinus on April 22, 2006, 01:07:16 am
I,ve changed the line 244 replacing the code. No way, the same error message:

El fichero 'albums/userpics/10001/01~9.jpg' no puede ser dado de alta en el album
Incapaz de crear thumbnail o imagen de tamaño reducido.
Fichero: /home/lp2004/public_html/kioskarras/foto_gallery/db_input.php - Línea: 391

There are two identical lines (line 244 and 273) with the odd code:
imagejpeg($dst_img, $dest_file, $CONFIG['jpeg_qual']);

Should I change both or only one? Perhaps you think it's obvious, but for me it's chinese!
Thanks again
Kinus


Title: Re: 1 uploads were succesful ... but
Post by: kinus on April 22, 2006, 01:33:18 am
It already works!  : :D
Nibbler had the answer:
Go into config and ensure that 'Method for resizing images' is set to GD2
That was the secret.
Thanks again
Kinus  :)