forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: altenae on November 03, 2011, 06:04:00 pm
-
Hi,
There are some pictures in my gallery which cannot be displayed with the following error:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 331732859 bytes) in /customers/aviationphotos.org/aviationphotos.org/httpd.www/gallery/include/makers/gps.php on line 241
I have tried some solutions I have found about "Allowed memory size" but they all fail.
This is what is on line 241 (gps.php)
$data = fread($seek, $bytesofdata);
Is there a solution ?
The picture involved seems oke when displaying info with an exif reader.
Edward
-
One of the image which has this problems....
When I upload this picture to my other gallery I have the same error.
Attached the image....
Seems nothing wrong with the image..
Edward
-
Could it be a problem with exposure time ?
I see this :Exposure Time: 1395864320/1073741824 sec
After that the Allowed memory message comes.
When displaying this image in an exif viewer I seer 1/3200...
I hope someone can help me.
I have over 7000 pictures online and some are not working, because of this error.
Edward
-
Oke one last info.
I have also uploaded this picture to:
coppermine 1.3 => No Problems
coppermine 1.4 => Fatal error Allowed memory size when displaying
coppermine 1.5 => Fatal error Allowed memory size when displaying
Well this is what I have found so far.
Edward
-
Your server has a too small memory limit to perform that operation (read some data from the file). If your files don't have GPS information, we could remove/disable that feature for your gallery. Alternatively increase the PHP memory limit.
-
I would like to disable the gps feature
-
Open include/exif.php, find
parseGPS($data,$result,$formated_data,$seek,$globalOffset);
and replace with
//parseGPS($data,$result,$formated_data,$seek,$globalOffset);
-
Yes it works now.
Thanks