Closed GoogleCodeExporter closed 8 years ago
It's hard to catch each error message, but if I can determine a memory error ,
then it will be shown
Original comment by alex.cologne
on 6 Aug 2011 at 7:13
I have found the problem.
In lib/gd.thumbnail.inc.php @ line 235 you get the memory limit. However, if
-1 is specified, it fails.
http://www.php.net/manual/en/ini.core.php#ini.memory-limit
"This sets the maximum amount of memory in bytes that a script is allowed to
allocate. This helps prevent poorly written scripts for eating up all available
memory on a server. Note that to have no memory limit, set this directive to
-1."
When -1 is called, implementing memory_get_peak_usage
(http://www.php.net/manual/en/function.memory-get-peak-usage.php) would
probably be the best solution.
Hope this helps!
Original comment by phpmails...@gmail.com
on 22 Aug 2011 at 11:54
Original issue reported on code.google.com by
phpmails...@gmail.com
on 4 Aug 2011 at 9:05Attachments: