Post by marillion » Fri Feb 06, 2009 5:18 pm

Hello from a few days ago giving me this error on the administration when it comes to adding images

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1890 bytes) in /var/www/vhost/berriak.es/home/html/library/image/image.php on line 59

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /var/www/vhost/berriak.es/home/html/library/database/database.php on line 38


I can help?

Newbie

Posts

Joined
Tue Jan 27, 2009 7:48 pm

Post by bruce » Fri Feb 06, 2009 6:02 pm

It is a limitation of the GD library. You must keep your original image size below about 500kb for the opencart built in image resizing to work for you.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by marillion » Fri Feb 06, 2009 6:57 pm

Thank You.

Newbie

Posts

Joined
Tue Jan 27, 2009 7:48 pm

Post by hm2k » Fri Feb 06, 2009 7:20 pm

I've actually already handled this issue better in 0.8, we do some smart memory checks to see if we have enough to process the error, if not, we get a nice little error explaining the issue.

Ultimately the solution is to increase PHP's memory if you can, or decrease the original size of the image before you upload it as bruce suggested.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK
Who is online

Users browsing this forum: No registered users and 4 guests