Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
maybe someone can help me.
I have installed Joomla 1.5.19 with the german language pack and the latest Phoca Gallery Pack.
When i am trying to create thumbnails i get this error message:
Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 10944 bytes) in /homepages/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
this is my Info Check:
I would be very happy if someone could give me an idea how to solve this problem.
Thanks
Last edited by Geforce on 18 Jul 2010, 03:07, edited 1 time in total.
I checked the value of memory limit now.
My PHP info says that i am allowed to use 40M.
But how can i change it.
The Support told me to create a php.ini in the directory where the script is working and to change to amount of allowed memory.
But i dont really know how to create such a file.
Maybe you can post me the code i need to put in this file.
This is more of a PHP-specific topic than Phoca Gallery related. Nonetheless, add a file named php.ini to your server in the directory where the script executes (or some higher-level directory - assuming there isn't a php.ini to override it in a lower directory...), and add the following text to the file:
there was two mistakes.
1. My Hoster had to set the memory_limit up to 128M and
2. i had to correct a line in the php script of phoca gallery. (imagemagic.php)
if ($memory < 50) {
ini_set('memory_limit', '128M'); <- I had to set this value on 128M and not limmited on 50M
$memoryLimitChanged = 1;