You are here:  » Clicking a product name displays nothing and Empty search results when searched


Clicking a product name displays nothing and Empty search results when searched

Submitted by marxam on Wed, 2019-08-28 12:55 in

Hi,

I completed set up of PriceTapestry on a new and clean Joomla installation. I followed each installation instruction step by step.

Joomla version is 3.9.11. PHP version is 7.2x.

Web address is: {link saved}

PriceTapestry installation: /pt/
Virtual BASEHREF: /shopping/

1- On running a search for "kindle", it returns no results although there are several products in the database with that keyword in title.

2- On clicking a featured product, nothing is displayed.

Please help.

Many thanks,
Mark

Submitted by support on Wed, 2019-08-28 13:11

Hello Mark and welcome to the forum!

I will prepare a test installation with the same version levels but it should just be a case of removing the deprecated /e modifier from the regular expressions used for normalisation and decimalisation. If you could edit the file:

plugins/system/plg_pto_system/pto_common.php

...and look for the following code at line 20:

  $text = preg_replace('/[^A-Za-z0-9'.$allow.' ]/e','',$text);

...and REPLACE with:

  $text = preg_replace('/[^A-Za-z0-9'.$allow.' ]/','',$text);

And then the following code at line 31:

  $price = preg_replace('/[^0-9\.]/e','',$price);

...and REPLACE with:

  $price = preg_replace('/[^0-9\.]/','',$price);

Apologies for the inconvenience, I'll update the PriceTapestry.org for Joomla distribution for PHP version 7+ after pushing updates equivalent to PriceTapestry.org for WordPress version 3.

Cheers,
David.
--
PriceTapestry.com

Submitted by marxam on Wed, 2019-08-28 13:21

Hi David,

Thanks so much for such a speedy response. I made the changes per your advice and it is now working.

However, search results do not show product images alhough the products have valid image URLs.

Additionally, I clicked on ont of the featured products. It didn't display product discription or product images etc.

Clicking "Compare Prices" did nothing.

URL: {link saved}

Many thanks again!

Best,
Mark

P.S. I can provide admin access as well as FTP access to this installation if needed. Please let me know and I'll set it all up and email the details.

Submitted by support on Wed, 2019-08-28 13:32

Hello Mark,

I notice that images for search results are showing but are tiny which is probably a function of the css / interaction with your theme - i'll check that for you.

If you could set-up temporary FTP access that would be great, I'll make sure everything is working at your version levels - please complete the Get It Installed from on the PriceTapestry.org website and that will give me all the information I need (even though it's already installed!)...

https://www.pricetapestry.com/installed

Thanks,
David.
--
PriceTapestry.com

Submitted by marxam on Wed, 2019-08-28 15:49

Hi David,

Thanks again.

I have set everything up and submitted the form as advised. Please let me know if you need anything else from me.

Best,
Mark

Submitted by support on Wed, 2019-08-28 16:06

Hi Mark,

All received - will check this out first thing tomorrow as soon as I am back online properly as I have been working mobile today and will follow up by email...

Cheers,
David.
--
PriceTapestry.com

Submitted by marxam on Sat, 2019-08-31 12:07

Hi David,

I just wanted to say a BIG thank you for all your super fast and super reliable support!

So far, it has undoubtedly been the best experience by a mile (and a half) I've had involving software purchases.

Best wishes,
Mark

Submitted by support on Sat, 2019-08-31 13:35

You're welcome and thank you for your comments!

Cheers,
David.
--
PriceTapestry.com