forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ryback on March 23, 2010, 03:44:40 am
-
Hi,
I saw forum http://forum.coppermine-gallery.net/index.php/topic,45445.0.html
but it doesn't work for me in version 1.4.26 :'(
There is error message>
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 151806465 bytes) in /var/www/include/makers/olympus.php on line 168
I changed line 168 from
$data = fread($seek, $bytesofdata);
to
$data = 200;
and it works. But I have no idea what should be the correct value of $data >:(
Does anybody know "correct" solution?
Image has size of 115 kB
Thanks
-
Correct solution is to RTFM: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#ErrorAllowedMemorySize
In other words: processing the file in question is consuming too much memory. Reduce the size of your images (resolution-wise) on your client before uploading. The file-size doesn't matter - the resolution matters.
If you think that http://forum.coppermine-gallery.net/index.php/topic,45445.0.html applies, you should have done as suggested there: you haven't provided the needed test image, nor did you upgrade your gallery: http://www.fotecka.net/ is outdated (cpg1.4.18 instead of cpg1.4.26). Upgrade (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14)!
-
Hi,
image size is 119 kB, resolution 800x569.
I "RTFM" and there is: 800 x 600 - 1.37 MB
My PHP.ini
max_execution_time = 30 ;
max_input_time = 60 ;
memory_limit = 128M ;
Gallery I'm talking about is version 1.4.26 (http://www.hlavacovi.cz)
I've got Canon cameras only, so I have no problem on my gallery (www.fotecka.net). But thanks, I'm going to do upgrade.