support

Author Topic: Critical app error - resize image error  (Read 7634 times)

Offline Geoffrey

  • Full Member
  • ***
  • Posts: 153
  • Karma: +28/-3
    • View Profile
Critical app error - resize image error
« on: September 14, 2017, 06:12:42 PM »
New error today, on local machine, editing site downloaded from server. 

After 3 days work with no problem, I changed seo-keyword for all categories, and saved each. 

My site has 15 categories, all on home page. 

My homepage works fine.  All categories on the home page have their proper image file displayed. 

Suddenly I get Message Manager Critical App error.  Resize image error.   root/resources/image/18/6f/9.

I go look to see what image that is.  It is the image for cases.

I click cases category on home page to go to product listing: no images show for product listing, only alt attributes.

I click each product in listing, no images show for product, only alt attributes. 

All other categories & listings & products pages are working fine. 

Only cases listing and product pages are broken. 

I found this:  https://github.com/abantecart/abantecart-src/issues/866

I am a beginner or not tech!!     

!

!

!

I do not understand the discourse on the github page.

Any idea what happened? 

How do i fix it? 

Can I hit it with a bat, or perhaps a skillet?!?!?! 

Car?!?! 

!

Thx. 

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5964
  • Karma: +284/-2
    • View Profile
Re: Critical app error - resize image error
« Reply #1 on: September 15, 2017, 01:45:40 AM »
Suddenly I get Message Manager Critical App error.  Resize image error.   root/resources/image/18/6f/9.

DO you really have/9.   or something like 9.jpg or 9.png?

Offline Geoffrey

  • Full Member
  • ***
  • Posts: 153
  • Karma: +28/-3
    • View Profile
Re: Critical app error - resize image error
« Reply #2 on: September 15, 2017, 03:15:23 PM »
Sorry. 

That was rather imprecise and careless of me.  My apologies.

The error:

Message status: critical
Date: 09/14/2017 02:00:23 PM
Number of repetitions: 46
Resize image error. File: C:/xampp/htdocs/sitename/resources/image/18/6f/9.jpg in C:\xampp\htdocs\sitename\core\engine\resources.php on line 345

The only changes I made to the site after downloading and loading my live site back into xampp local machine were:
- some small changes to css
- Sam's fix for breadcrumbs, to breadcrumbs.tpl
- relocated a free shipping badge png on product.tpl.
- change seo keys for all categories.

The error above has resulted in no image displayed on the product listing page for one the case category, and also on the product pages for each color of case.
 
On the product pages, I get "The image could not be loaded" pop-up error when hovering over the image viewer region of the page.   

The rest of the site works normally. 

14 other categories and their respective product lists and product pages all work normally. 

This is actually the first "corruption type" error I've ever encountered with AC. 

To be honest, the github conversation made it seem to me that you guys didn't fully understand it either, but I'm pretty non-tech so maybe my opinion is meritless. 

If it was a simply a matter of reclassifying an error type to non-critical, I could live with that.  But this actually broke my site.

Thanks for any solution you can provide. 

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5964
  • Karma: +284/-2
    • View Profile
Re: Critical app error - resize image error
« Reply #3 on: September 18, 2017, 01:50:20 AM »
So this image C:/xampp/htdocs/sitename/resources/image/18/6f/9.jpg
what is image dimensions? Can you open it in any image editor to make sure it is not broken?
Actually if image is not broken this mean you server (at least with configuration you have) can not resize image because of not enough memory.

AbanteCart just trying to help you and report this.

Offline Geoffrey

  • Full Member
  • ***
  • Posts: 153
  • Karma: +28/-3
    • View Profile
Re: Critical app error - resize image error
« Reply #4 on: September 18, 2017, 11:18:36 AM »
1024x1024
217kb optimized.

I can open it with any viewer or any image editor software I have, just by double-clicking it, or by right-clicking it.  Nothing wrong with the file. 

All site images are 1024x1024, optimized.  Average filesize is 180kb per image. 

I have 15 product categories. 

Some of my categories have many product list images and product images, whereas other categories have only 2 product list images and 2 product images. 

This problem only occurs with 1 product category that has only 2 product list images and 2 product images.  It is my "smallest" category in terms of images.   

It was working fine on localmachine and on live,
and it is still working fine on live server. 
It just suddenly stopped working on local. 

All other categories and product lists and product images work fine. 

This doesn't seem to be an image or memory problem.  It seems to be a Category problem. 



Offline Geoffrey

  • Full Member
  • ***
  • Posts: 153
  • Karma: +28/-3
    • View Profile
Re: Critical app error - resize image error
« Reply #5 on: September 18, 2017, 07:25:40 PM »
Still trying to figure out what the problem is. 

The image for the Case Category displays normally.

The 2 images for the case product list page will not display. 

The 2 images for the case product pages will not display. 

Every other image on the site is working. 

The case product image files are small. 1024x1024, less than 200 kb each. 

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5964
  • Karma: +284/-2
    • View Profile
Re: Critical app error - resize image error
« Reply #6 on: September 19, 2017, 01:41:47 AM »
Ok, clean AbanteCart cache then try again if same problem with same file please upload it to somewhere and share the link I will try

Offline Geoffrey

  • Full Member
  • ***
  • Posts: 153
  • Karma: +28/-3
    • View Profile
Re: Critical app error - resize image error
« Reply #7 on: October 18, 2017, 02:33:08 PM »
This error disappeared while i was working on other parts of the site.  I sort of forgot about it. 

Follow-up - my other site work required clearing cache.  The error disappeared.  Maybe cache was the solution.  Thx.

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 278
  • Karma: +43/-1
    • View Profile
Re: Critical app error - resize image error
« Reply #8 on: October 18, 2017, 02:44:32 PM »
I also sometimes get issue with cache. Is there way where you can set up clear AbanteCart cache everyday or twice a day without going to backend..

 

Powered by SMFPacks Social Login Mod