Error in the administration to add images
4 posts
• Page 1 of 1
Error in the administration to add images
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?
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?
- marillion
- Posts: 9
- Joined: Tue Jan 27, 2009 11:48 am
Re: Error in the administration to add images
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.
- bruce
- Posts: 1094
- Joined: Wed Dec 12, 2007 6:26 am
Re: Error in the administration to add images
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.
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.
-

hm2k - Global Moderator
- Posts: 583
- Joined: Tue Mar 11, 2008 1:06 am
- Location: UK
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest













