Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
I'm trying to build a portfolio site, and I plan on using several large images per portfolio page. I managed to increase my upload size limit by editing couch\includes\fileuploader\config.php. However when I try to save my page, I get this error:

Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 13230001 bytes) in C:\xampp\htdocs\portfolio_couch\couch\includes\timthumb.php on line 126

Any suggestions on how to fix this?
Hi,

In the file '\couch\includes\timthumb.php', please find the following line (line 49) -
Code: Select all
ini_set('memory_limit', "50M");

Try increasing the value from "50M" to "128M".

As an aside, if you are running out of memory even after allocating 50MB of it, the images you are uploading must seriously be large.
Perhaps, you could try and get them resized on your local system to a more moderate value before uploading. Just a thought :)

Please let me know if this helped.
It definitely did. Thanks!
3 posts Page 1 of 1