Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Cs-Cart Php Fatal Error Rate Topic   - - - - -

 

Posted 29 September 2016 - 03:52 AM #1

PHP Fatal Error Message

Allowed memory size of 402653184 bytes exhausted (tried to allocate 126157825 bytes)

Error at

app/lib/vendor/imagine/imagine/lib/Imagine/Gd/Imagine.php, line: 70

Backtrace

 

Posted 29 September 2016 - 04:47 AM #2

PHP Fatal Error Message

Allowed memory size of 402653184 bytes exhausted (tried to allocate 126157825 bytes)

Error at

app/lib/vendor/imagine/imagine/lib/Imagine/Gd/Imagine.php, line: 70

Backtrace

 

Any one can help??



 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3800 posts

Posted 29 September 2016 - 05:10 AM #3

Any one can help??

 

It looks like the images uploaded to products (or categories, etc.) are too big and GD library on your server fails to generate the thumbnails because of the lack of memory.

 

To resolve the issue you can increase the memory_limit directive value to at least 512MB. Please contact your server administrator about it. After this we recommend to upload optimized images anyway.

When the library processes the images, it requires a lot of resources and as a result, it faces the server limits. We recommend to optimize the images uploaded for products as in most cases images used in web are not required to have big resolution and size. So, you can easily decrease it.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation