News:

AbanteCart v1.4.2 is released.

Main Menu

Thumbnails do not link to product page

Started by PFreeman008, May 29, 2020, 12:13:12 PM

Previous topic - Next topic

PFreeman008

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.

maxter

How is this a bug? What makes you think that? Most likely you have file permission. Anything in the logs?

eCommerce Core

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
"If you're in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent."
― Warren Buffett

PFreeman008

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.
Quote2020-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

maxter

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

abolabo

Hi.
You have php directive   "memory_limit   1G"  in the php.ini.
Try to replace with 1024M
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -