Everytime I use the import function to upload multiply photos, I get the following error:
Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 500 bytes) in /home/rsvanbaale/domains/crashservice.nl/public_html/projects/portfolio/lib/phpthumb/phpthumb.functions.php on line 255
In the file phpThumb.config.php I already removed the if-statement and set this variable:
$PHPTHUMB_CONFIG['max_source_pixels'] = 1997568;
My photos only have the dimensions of 1632x1224 pixels. I also tried to place this extra line of code in the top of phpThumb.config.php AND plog-import.php:
ini_set("memory_limit","20M");
To set the memory limit from 12MB to 20MB. But then I still got the same message.
How can I fix this? Later this day I will try to upload a newer version of phpThumb. If that works, I'll let y'all know.