I've been quite impressed by coppermine, but have a
rather confusing problem.
It seems that all of the photos I took the other day (at
a tank ride - very important stuff :) ) managed to
upload except those above a certain size. The largest I
was able to upload was 506KB, and the next up would
have been 517KB which is the first that didn't work.
It's odd because yesterday I uploaded pics that were
800KB, and I haven't changed the settings...
I've attached a sample image (nothing very interesting,
but it doesn't upload).
When I hit the upload button, it gets to db_input.php,
and "The page cannot be displayed" comes up.
I'm using IE6. Yesterday when I was using firebird
(under linux) the 800KB image worked... Today, since
I'm in windows :( I tried firebird for the attached image,
and got "The document contains no data" warning on
hitting upload.
My client OS is winXP, though I don't know if that's
important.
Server is:
Gentoo 1.4 linux, apache2, php4 - default config of
apache with ssl and php enabled.
server only has 256MB ram, but it had over 20MB free
ram when I looked, and no swap space had been used...
Oh - I'm using coppermine 1.2.0 final (Downloaded 4th
Dec 03 if that matters)
I hope I've given enough info :)
The image that caused problems (AN image that caused the problem at least ;) ) can be found at:
http://203.219.169.198/IMG_2044.jpg
http://forum.coppermine-gallery.net/index.php?topic=2522
and
http://forum.coppermine-gallery.net/index.php?topic=2160
GauGau
It looks like the first is my problem :) thanks.
Question - what is an appropriate timeout?
The 2 I think need changing are
:max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
should I change both of these? What should be the values?
Thanks :)
Paul.
there's no "rule of thumb" or "best practise" - the time-outs entirely depend on your configuration, trafic, server load etc.
You'll have to experiment to find out the best values for you. sorry...
GauGau