Author Topic: Thumbnails do not link to product page  (Read 2732 times)

Offline PFreeman008

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Thumbnails do not link to product page
« 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.

Offline maxter

  • Full Member
  • ***
  • Posts: 228
  • Karma: +64/-0
    • View Profile
Re: Thumbnails do not link to product page
« Reply #1 on: May 30, 2020, 09:44:26 PM »
How is this a bug? What makes you think that? Most likely you have file permission. Anything in the logs?

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Thumbnails do not link to product page
« Reply #2 on: May 31, 2020, 08:20:01 AM »
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

Offline PFreeman008

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Thumbnails do not link to product page
« Reply #3 on: June 02, 2020, 07:14:52 AM »
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.
Quote
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

Offline maxter

  • Full Member
  • ***
  • Posts: 228
  • Karma: +64/-0
    • View Profile
Re: Thumbnails do not link to product page
« Reply #4 on: June 02, 2020, 09:35:28 PM »
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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Thumbnails do not link to product page
« Reply #5 on: June 12, 2020, 03:01:02 AM »
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

 

Powered by SMFPacks Social Login Mod