Use PHP memory limit
Setzler - July 28, 2008 - 15:34
| Project: | Click HeatMap |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | critical |
| Assigned: | boombatower |
| Status: | closed |
Description
At , I get the following:
<div id="pngDiv"><br>
<b>Warning</b>: imagepng() [<a href="function.imagepng">function.imagepng</a>]: Unable to open '/home/adam/public_html/bluebikemarketing.com/public/modules/click_heatmap/clickheat/cache/default,home-2008-07-27-d--1255-firefox-heat-0.png_temp' for writing: Permission denied in <b>/home/adam/public_html/bluebikemarketing.com/public/modules/click_heatmap/clickheat/classes/Heatmap.class.php</b> on line <b>155</b><br>
<div style="line-height: 20px;"><span class="error">::MEMORY_OVERFLOW::</span></div></div>| Attachment | Size |
|---|---|
| click_heatmap_overflow.png | 37.16 KB |

#1
At http://www.bluebikemarketing.com/modules/click_heatmap/clickheat/index.php
#2
Do you have access to the php.ini file? If so turn up the memory limit.
http://us.php.net/manual/en/ini.core.php#ini.memory-limit
#3
It sits at 64M. Should I need more?
#4
Will depend on the number of clicks. Once again I didn't write the library generating the clicks so I can't say for sure.
#5
The module will now configure ClickHeat to use the PHP memory limit instead of hardcoded 64M.
#6
Committed.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.