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?

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

Who is online

In total there are 10 users online :: 0 registered, 0 hidden and 10 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 10 guests