AbanteCart Community
Shopping Cart Operations => Support => Topic started by: PFreeman008 on May 29, 2020, 12:13:12 PM
-
I think this is more of a bug report, but if someone clicks on the thumbnail of something on my store, it takes them to either a blank page or an error 500 page & not the product. Not sure if there is anything I can do to fix it.
-
How is this a bug? What makes you think that? Most likely you have file permission. Anything in the logs?
-
There must be an error in the log file.
Post short extract from the log. Get it right after you get an error.
Here is how you get the error log:
http://forum.abantecart.com/index.php?topic=834.0
-
The log says this over and over again for pretty much every image. These are all images and products I've not touched since updating the AbanteCart Cart, so if AbanteCart Cart changed something to break them, its a bug & not something I did.
2020-06-01 23:34:17 - App Warning: AbanteCart core v.1.2.16 Error: Cannot load image {root removed}/public_html/store/resources/image/18/7d/8.jpg. Unable to create internal image from file {root removed}/public_html/store/resources/image/18/7d/8.jpg. Try to decrease original image size 1024x300px or reduce file size or increase memory limit for PHP. in {root removed}/public_html/store/core/lib/image.php on line 73
The images show up fine, you just can't click on them to take you to the product page.
peter
-
Looks like one of you images public_html/store/resources/image/18/7d/8.jpg. is very large and PHP can not process it.
Try to increase the memory limit for PHP
To increase PHP memory limit setting, edit your PHP.ini file. Simply increase the value of the PHP memory limit line in php.ini.
Example:
memory_limit = 512M
Alternatively, you can edit your .htaccess file
php_value memory_limit 512M
-
Hi.
You have php directive "memory_limit 1G" in the php.ini.
Try to replace with 1024M