olympus.php error olympus.php 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

olympus.php error

Started by ryback, March 23, 2010, 03:44:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ryback

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
Casey
------------------------
http://www.fotecka.net
http://dino.saur.cz

Joachim Müller

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!

ryback

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.
Casey
------------------------
http://www.fotecka.net
http://dino.saur.cz