error 404 on infinite scroll product listing after uptdate to 4.1

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
3 months 5 days ago #307735

-- url of the page with the problem -- : aketo.kz
-- HikaShop version -- : 4.1.0
-- Joomla version -- : 3.9.5
-- PHP version -- : 7
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : /index.php?option=com_hikashop&ctrl=product&task=listing&cid=1534&limitstart=48&Itemid=1971&tmpl=raw:1 Failed to load resource: the server responded with a status of 404 ()

If to unpublish category and to enable infinit scroll feature
it began show category not found
aketo.kz/irz/routers/r0
in previous versions it was ok

how to fix ?

aketo.kz/irz/routers/r0

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

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
3 months 4 days ago #307743

Hi,

Thank you for your feedback.
This only happens because the category is actually selected as main category of the menu item. Otherwise, you don't see the category on the listings and thus its normal you can't access it.
The issue is that the infinite scroll system shouldn't pass the cid parameter in the URL if the category being displayed is the one selected in the main category setting of the menu item. That should solve the problem.

I've added a patch on our end for that. Download the install package on our website and install it on yours and that should fix that problem.

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

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
3 months 4 days ago #307772

now it works.
gracias

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

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
2 months 2 weeks ago #308403

Hi,
I noticed that only 48 products were displayed on the page, despite the fact that the infinite scrolling is enabled. Previously, this was not. In the product settings, I have a 4x12 grid. But in some categories I have more than 120 products, but only the first 48 are displayed. How to check? Here is one of the pages aketo.kz/datchiki/beskontaktnye/inductive (4x12 grid) , aketo.kz/iek-group/category/iek-indicators (4х3 grid)

If you change the grid, it will only display the first page. I wanted to see the logs, but did not find anything unusual there.

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

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
2 months 2 weeks ago #308406

Hi,

Download again the install package on our website and install it on yours and that should help.

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

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
2 months 2 weeks ago #308416

nicolas wrote: Hi,

Download again the install package on our website and install it on yours and that should help.


i installed new package, but in first page it still do not work
in second it began to work ?

in the first case there is a Joomla menu for the category, in the second there isn’t, can it affect the patch?

p.s. it is, if through the menu to make a category, it does not work.

Last edit: 2 months 2 weeks ago by Bender.

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

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
2 months 1 week ago #308421

Hi,

All this comes from the fact that we've added some checks so that it's possible to access unpublished categories via the parameters in the URL. It's now only possible to access an unpublished category if it's selected as main category of a menu item.
This created some issues with the infinite scroll system as it was passing the id of the category via the URL instead of letting the server side get it from the current menu item. So we made a patch to allow for that.
On my end, when I test on my test website, it works fine with the latest patch.
If you still have an issue on some listings, I'm afraid we'll need a backend and FTP access to the website in order to analyse the situation and modify the patch as we might be missing a specifc case.
Please provide that along with a link to this website via our contact form:
www.hikashop.com/support/contact-us.html

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

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
2 months 1 week ago #308460

ok.

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

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
2 months 1 week ago #308488

Hi,

I've added a patch on your website which seems to fix the issue.
Please check your website and report if you find any issue or if it's all good.
We'll add the patch to the next release if it's all good.

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

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
2 months 1 week ago #308504

nicolas wrote: Hi,

I've added a patch on your website which seems to fix the issue.
Please check your website and report if you find any issue or if it's all good.
We'll add the patch to the next release if it's all good.


scrolling began to work in the place where it did not work, but now it works incorrectly, after loading the goods, it loads goods from other categories of which it should not.

An example can be seen here.

aketo.kz/owen/regulyatory/trm1

there is a 4x12 grid and only 21 products in the category, but when the page is scrolls, it starts loading products from other categories.
and if there are more products than 48 in the category and the grid size is 4x12, then when loading the following products it does not display the remaining products from the categories, but again displays the products from other categories, see here

aketo.kz/datchiki/temperatury/termosoprotivleniya

As you can see after scroll the same product are loaded in different categories

Last edit: 2 months 1 week ago by Bender.

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

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
2 months 1 week ago #308528

I got the difference:

If the joomla menu type is product listing your patch works, but if joomla meny type is category listing patch not work correct it will
display firtst page and after scroll next page load the products from wrong categories

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

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
2 months 1 week ago #308536

Hi,

Thanks for the details, that helped a lot.
The patch was missing a bit to make sure that the current menu item was a category listing or a product listing.
I've added a second patch and it seems to be all good now on your different links. Let me know.

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

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
2 months 1 week ago #308546

Thank you very much. Now it works fine.

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

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
1 month 2 weeks ago #309616

nicolas wrote: Hi,

Thanks for the details, that helped a lot.
The patch was missing a bit to make sure that the current menu item was a category listing or a product listing.
I've added a second patch and it seems to be all good now on your different links. Let me know.


Hi,
the same error ocurre again on my hikashop if joomla menu type is hikashop category listing .
Did you included both patches in 421 update (for product listing and for category listing ) ?
Only product listing works

aketo.kz/iek-group/asynchronous-motors/air-im1081 this url is category listing - not works (show only first of 48 products from category)
aketo.kz/iek-group/asynchronous-motors/air-im2081 this url is product listing category - works

Last edit: 1 month 2 weeks ago by Bender.

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

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
1 month 2 weeks ago #309626

Hi,

Yes, both patchs are included. So it must come from something else. I'm afraid we'll have to debug again on your website. Could you provide accesses again ?

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

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
1 month 1 week ago #309757

nicolas wrote: Hi,

Yes, both patchs are included. So it must come from something else. I'm afraid we'll have to debug again on your website. Could you provide accesses again ?


sure. i sent you email with theme "error 404 on infinite scroll product listing after uptdate to 4.1"

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

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
1 month 1 week ago #309787

Hi,

I got the email. I'll try to look at the issue during the week if I have time but I might have to postpone that as I'm currently in holidays and will be back next week. Sorry for the delay in advance.

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

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
1 month 4 days ago #309973

nicolas wrote: Hi,

I got the email. I'll try to look at the issue during the week if I have time but I might have to postpone that as I'm currently in holidays and will be back next week. Sorry for the delay in advance.


ok. awaiting.

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

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
1 month 2 days ago #310046

Hi,

I'm back to it.
I wanted to look into it just now but I couldn't connect to your FTP server:

Status:	Connecting to 185.120.78.239:21...
Status:	Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error:	Could not connect to server
Could you check that we can connect to it ?

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

  • Posts: 146
  • Thank you received: 1
  • Hikashop Business
2 weeks 6 days ago #310489

21 port is closed on server, please use 22 port instead

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

Time to create page: 0.104 seconds
Powered by Kunena Forum