AbanteCart Community

eCommerce construction => How-to questions => Topic started by: pavan on April 15, 2017, 02:26:48 AM

Title: How to fix App Error / Resize image error
Post by: pavan on April 15, 2017, 02:26:48 AM
At my Website home page product images are not displayed. The message is seen in my message box   that

App Error
Message status:
critical
Date:
04/14/2017 05:48:18 PM
Number of repetitions:
1
Resize image error. File: /home/conne71s/public_html/resources/image/18/7f/e.jpg in /home/conne71s/public_html/core/engine/resources.php on line 345

how can i fix this problemm
Title: Re: How to fix App Error / Resize image error
Post by: eCommerce Core on April 18, 2017, 10:23:51 PM
Most likely PHP memory limit is reached in image resizing operation on your server

Check this file size /home/conne71s/public_html/resources/image/18/7f/e.jpg

Try to increase PHP memory  or reduce this image file size
In php.ini file increase memory_limit setting.
Title: Re: How to fix App Error / Resize image error
Post by: hani on April 25, 2017, 08:54:52 AM
Hi

I have the same problem for some of the images see here

App Error: AbanteCart core v.1.2.10 Resize image error. File: /home/XXXXX/public_html/resources/image/18/79/f.jpg in /home/XXXXX/public_html/core/engine/resources.php on line 353

i checked the file resources/image/18/79/f.jpg it is working also i increased the memory limit in the php.ini but did not solve the problem

see the page here http://bethlehemcasting.com/dead-sea-cosmetics-and-skin-care

thanks in advance
Title: Re: How to fix App Error / Resize image error
Post by: hani on April 26, 2017, 12:26:45 AM
This is a bug in the template because if i change the template all images will upload and show correctly. i mean the original template that is associated with abantecart

how can i fix the problem???
Title: Re: How to fix App Error / Resize image error
Post by: Basara on April 26, 2017, 02:17:42 AM
Hi. Check what page you visit to replicate error in log. Than check what you have on this page. I mean what product or category image, or brand image may cause error. Try to disable some blocks on that page layout to catch where is it
Title: Re: How to fix App Error / Resize image error
Post by: hani on April 26, 2017, 03:55:06 AM
Hi

This problem happened when i upgraded from version 1.2.9 to 1.2.10

i tried also what you suggested but this problem is not in all categories mainly in http://bethlehemcasting.com/dead-sea-cosmetics-and-skin-care
Title: Re: How to fix App Error / Resize image error
Post by: hani on April 26, 2017, 12:12:33 PM
Hi
this error happens in the category page of some products for examples on this page there is no problem

http://bethlehemcasting.com/jesus-statues?sort=date_modified-DESC&page=1&limit=50

while on the following page there is

http://bethlehemcasting.com/dead-sea-cosmetics-and-skin-care?sort=date_modified-DESC&page=1&limit=50

if it works correct for some pages why for others it does not??
also i bought the Monnika template and with this template it works. i am not using the monnika template because i need make the correct arrangments

thanks in advance
Title: Re: How to fix App Error / Resize image error
Post by: hani on April 26, 2017, 03:10:15 PM
Hi

I reported to natani the developer of the SEO pack extension that i keep receiving a message to upgrade while i have the latest version that is for abantecart version 1.2.10 he / she informed me that this is an abantecart bug.

This is another bug in addition to the issue of the images error uploading it seems that the new version

Hani
Title: Re: How to fix App Error / Resize image error
Post by: eCommerce Core on April 26, 2017, 04:43:56 PM
Hi

I reported to natani the developer of the SEO pack extension that i keep receiving a message to upgrade while i have the latest version that is for abantecart version 1.2.10 he / she informed me that this is an abantecart bug.

This is another bug in addition to the issue of the images error uploading it seems that the new version

Hani
Can you or natani please report this bug in here:
https://github.com/abantecart/abantecart-src/issues

Please provide as many details as possible.

Thank you
Title: Re: How to fix App Error / Resize image error
Post by: Siri M. on April 27, 2017, 10:10:21 PM
I have the same app error image resize too. I also just upgraded to 1.2.10

Some images will resize normally on some product pages, while other pages will not.


Title: Re: How to fix App Error / Resize image error
Post by: hani on April 27, 2017, 11:05:27 PM
Hi

my problem is solved thanks to Basara and the developers team

Hani
Title: Re: How to fix App Error / Resize image error
Post by: Basara on April 28, 2017, 02:22:45 AM
I have the same app error image resize too. I also just upgraded to 1.2.10

Some images will resize normally on some product pages, while other pages will not.

We apply next fixes you can try

https://github.com/abantecart/abantecart-src/commit/beb2274e6dd981027d0d1b985013935d6a4e284f
Title: Re: How to fix App Error / Resize image error
Post by: Siri M. on April 28, 2017, 07:33:08 AM
Yes, that fixed it. Thanks very much!