Admin tools blocks Hikashop's infinity scroll

  • Posts: 51
  • Thank you received: 1
  • Hikashop Business
6 years 4 months ago #284394

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.3
-- PHP version -- : 7.1.12

Hello,
I have Admin tools (ver 4.3.1) installed together with Hikashop cart component.
Hikashop's latest version has included infinite scroll as an alternative way to list products items.
But with admin tools enabled this feature is not working and it produces the following error:

Error message: 403 This request is blocked by Admin Tools. Please change this message in the components' options {RESCUEINFO]

So, I submitted a ticket to Admin tools' support and this is their answer:

"We had discussed this issue with Nicolas of HikaShop in April 2017. The problem is that he was doing AJAX requests using tmpl=ajax (or something like that) and a hard die in his code instead of just using format=raw and exiting the application gracefully. Have you update HikaShop? If you have, please contact HikaShop and aks them to finally fix this issue that was first reported to them in March 2017. I would say that a small change like that -which solves an architectural shortcoming in their software- needs far less than 9 months to be applied."

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
6 years 4 months ago #284408

Hi,

While we indeed discussed this 9 months ago, it was about the cart system and checkout system.
And as you can see, the cart and checkout systems have been modified so that they don't break with AdminTools.
You're the first one reporting the issue with the infinite scroll system.
We've added a fix for it. You can download again the install package on our website and install it on yours to get the patch.
Alternatively, you can also configure AdminTools to allow "ajax" for that tmpl parameter as it has a setting for that.

The following user(s) said Thank You: xatzopou

Please Log in or Create an account to join the conversation.

  • Posts: 51
  • Thank you received: 1
  • Hikashop Business
6 years 4 months ago #284464

Thank you, Nikolas.
Indeed the infinity scroll worked after reinstalled Hikashop's latest version.
The weird is that I had already the latest version.

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
6 years 4 months ago #284467

Hi,

Well, we've added the patch after reading your message.
We've directly added it to the current release package without doing a new release as it's a minor patch that most people won't need.
We're planning a new version next week which will also contain the patch.

The following user(s) said Thank You: xatzopou

Please Log in or Create an account to join the conversation.

  • Posts: 75
  • Thank you received: 1
6 years 2 months ago #287022

Hi Nicolas,

I'm getting this same problem on most layouts (e.g. ces-hire.com/shop/tools/cutting-tools ).
I have updated to latest Hikashop version but still getting the same issue. Can you suggest a solution?

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
-- PHP version -- : 7.1.13

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 2 months ago #287024

Hello,

Are you sure that you do not have a view override for the product listing which can force you to use the old content/url ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 75
  • Thank you received: 1
6 years 2 months ago #287064

Hi,

I have restored the template "listing_img_title" to default and am still getting the same problem. If I turn off 'Infinite Scroll' the problem stops.

Regards
Tim [/attachment]

Attachments:
Last edit: 6 years 2 months ago by spotstv.

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
6 years 2 months ago #287069

Hi,

It's not listing_img_title but 'listing_div'.
Please remove the override for that view file.

Please Log in or Create an account to join the conversation.

  • Posts: 75
  • Thank you received: 1
6 years 2 months ago #287167

All sorted - thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.102 seconds
Powered by Kunena Forum