Shopping Cart Operations > Support

Error log image issues

(1/1)

perplexed:
This is a fresh install of 1.4.2 and receiving multiple errors about webp images....we are not installing webp images....why are we getting this error messages?
We just lost our 1.4.1 version due to a corrupt database and restore did not work either....this is scary...

2025-06-29 23:36:36 - App Warning: AbanteCart core v.1.4.2 Error: Cannot load image /home/copperkf/garlicstore.copperkfarm.com/resources/image/18/71/2.webp. Unable to create internal image from file /home/copperkf/garlicstore.copperkfarm.com/resources/image/18/71/2.webp. Try to decrease original image size 866x203px or reduce file size or increase memory limit for PHP. in /home/copperkf/garlicstore.copperkfarm.com/core/lib/image.php on line 72

Basara:
Hello.
The image error you’re seeing is most likely related to the PHP GD library on your server. Specifically, older versions of GD don’t support WebP format, which can trigger those types of errors even if you’re not directly uploading WebP images yourself—AbanteCart or the browser might be trying to serve them automatically if supported.
The good news is that this is usually an easy fix. I recommend contacting your hosting provider and asking them to make sure the server has an up-to-date version of PHP with full GD and WebP support enabled.

When you say the database was “corrupt,” could you clarify what exactly made you think that? Were there specific errors or behaviors? Often, a proper backup restore should resolve most issues unless the backup itself was incomplete or taken while the database was in an unstable state. If you have any logs or symptoms you noticed before the crash, it might help narrow down the root cause.

perplexed:
Thank you for taking the time to respond and helping out. I will forward your information to our web-hosting IT staff and see if we can get this corrected. I thought for sure I had a screen shot of the errors, but was unable to find them. Anyways that's water over the damn now as we upgraded to 1.4.2 (fresh install) and now adding content into it. BYT Abantecart has really nice front end, and hopefully will get all our products in for the upcoming market season. Again Thank You for your time....

Basara:
Thank you for the kind words, glad to hear you’re enjoying AbanteCart’s front end! We appreciate your feedback and are happy to know the upgrade to 1.4.2 went smoothly.

In the meantime, while your hosting support looks into resolving the issue with WebP image handling, feel free to safely use standard image formats like JPG or PNG. These formats are fully supported and should work without any issues as you continue adding content.

perplexed:
Ok, I received this message from the IT team at our webhosting site. Not sure if backing down to PHP 8.3 would help, any comments would be appreciated. Thank You!"
"Hello there,

Thank you for reaching out to us and for trusting and using our services.

After checking, the GD library version installed on your cPanel hosting is 2.3.3, which is the most stable version currently supported by cPanel. You can also check the version by accessing the following  , this page will display the GD library version currently in use on your hosting.
In terms of compatibility, this version is supported on PHP versions 7.4.x through 8.3.x.

Since you are currently using PHP version 8.4, we recommend switching to PHP version 8.3 using the PHP Selector in your cPanel, as it may offer better compatibility with the GD library.

And perhaps , could you also kindly elaborate in more detail on how the error appears, especially if it's related to the WebP cannot loades issue. That way, we can investigate further from our side.


Regards,

Okbar Gumelar
Hosting.com Support Team"

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod