[Solved]: Upload conection error [Solved]: Upload conection error
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Upload conection error

Started by jami23, April 09, 2009, 03:56:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jami23

Hello,
Im using v. 1.4.19 and when i try upload pictures as admin or user, than im sometime getting connection server error. It usually happen when i try upload bigger pictures. For example 400kb but limit is set to 2048kb. Sometime it works fine but sometime dont.
I try set permission 755 and also 777...Also try set it just on 'Single uploads only'...Debug is on too, but it show me just server error not any php error.

My gallery http://www.blogland.cz/galerie/index.php

user name: test
password: test

Please help

Joachim Müller

Quote from: jami23 on April 09, 2009, 03:56:25 AM
Im using v. 1.4.19
Then upgrade! Most recent stable release currently is cpg1.4.21

Quote from: jami23 on April 09, 2009, 03:56:25 AM
Also try set it just on 'Single uploads only'...
You haven't done so properly: the number of file upload fields is set to one (that's OK), but the number of URI upload fields is set to one as well - that's wrong, should be zero.

jami23

I have done as you said but still doesn't work.

Fabricio Ferrero

No, you don't. (See attach)

Please, read this http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble very carefully and do as suggested there. If you failed to do it, you're post will be ignored.
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

jami23

Oh sorry I just forget set it for users. Now is it for users too, but still sometime doesn't work.

Fabricio Ferrero

The uploading feature works as expected. See: http://www.blogland.cz/galerie/displayimage.php?pos=-3805 (medium picture)
And: http://www.blogland.cz/galerie/displayimage.php?album=29&pos=0 (Large Image)

Work like a charm. But the large image when resized get a weird opaque color. If you are using Image Magick I suggest to change in config panel the image procesor to GD.

Trying to upload what image did you get an error? Please, attach it to your next post.


P.S. Don't forget to delete those images from your gallery as you didn't provide an test album I uploaded to the bottom of the list.
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

The strange colors are a result of selecting the wrong image library. You have GD2 on your server, but you chose GD1. GD1 has only a limited color depth of 256 colors, that's why the colors of your uploads look distorted. Switch "method for resizing images" in coppermine's config back from "GD1" to "GD2".

If some of your users get timeouts, then they probably have tried to upload pics with too big dimensions or filesize, or on limited bandwidth connections. They subsequently get a timeout. Nothing you could possibly do against that.

jami23

I been trying to set image magick and GD1 if there is any problem. So i have no worries about it.
For example I have problem with uploading picture named "okraje" (attach). But as I said sometime it go fine but sometime I get error (see attach)....db_input.php is unavailable?
Please try upload this "okraje" picture and you can see. Try it upload more time if it be uploaded fine at first test. Both size are ok, dimension and filesize is set to 2048. But this "okraje" picture have 1920 x 1200 and 384KB.
Thanks for yours time anyway.
P.S. could be problem just on my site? Because I ask my friend for try and for him it works fine...

Fabricio Ferrero

Quote from: jami23 on April 11, 2009, 02:39:01 PM
I been trying to set image magick and GD1 if there is any problem. So i have no worries about it.
Set GD2 as suggested.

Quote from: jami23 on April 11, 2009, 02:39:01 PM
For example I have problem with uploading picture named "okraje" (attach).
I'm not, see: http://www.blogland.cz/galerie/displayimage.php?pos=-3810

Quote from: jami23 on April 11, 2009, 02:39:01 PM
Try it upload more time if it be uploaded fine at first test.

Okraje2: http://www.blogland.cz/galerie/displayimage.php?pos=-3811
Okraje3: http://www.blogland.cz/galerie/displayimage.php?pos=-3812
Okraje3: Sensless. Your galllery work fine.


Regards,
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

jami23

Ok than it works for others :) but not for me. I think that the problem is in my browser. Im usually using Opera. So I tried upload in Mozilla Firefox and there is it ok.

Joachim Müller

Please do not bother us with questions related to individual client applications. We can not tell you what browser you should use and how to fix problems with the browsers you have on your local machine. This is the coppermine support board, not the opera support board.
Issue solved, marking thread accordingly.