Product Category Keeps Disappearing

  • Posts: 31
  • Thank you received: 1
4 years 4 months ago #321734

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.4.0
-- Browser(s) name and version -- : Firefox Developer 78.ob8
-- Error-message(debug-mod must be tuned on) -- : Blank Page

I noticed that a product category on the front of the site was not displaying correctly, all 404 and 500 errors for page resources, but other product category pages were fine. See below.
Problem - Beer
No Problem - Soda
I temporarily fixed it by clearing the products and re importing them from scratch.
Today I look again and the problem is back.

I've searched throughout this forum and can not find a solution. This is fairly time sensitive since it is our primary product line. Thanks for your help!

Attachments:
Last edit: 4 years 4 months ago by nickk. Reason: Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 4096 bytes) in /.../.../public_html/libraries/joomla/database/driver/mysqli.php on line 891 Fatal error: All

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
4 years 4 months ago #321763

Hello,

we are sorry but we aren't able to understand your issue, we use your 2 link urls (Problem - Beer / No Problem - Soda) and we see exactly the same page... Expect the error message : "Warning Page not found : beer"

Can you details more through more explanation what is your issue and show us with screenshots (and annotation).
This will help us to better understand situation and better answer you.
Regards

Last edit: 4 years 4 months ago by Philip.

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

  • Posts: 31
  • Thank you received: 1
4 years 4 months ago #321770

Here is a category that is functioning properly: extonbeverage.com/shop-products/category/2345-soda.html
Here is the problem category: extonbeverage.com/shop-products/category/2123-beer.html

The first displays correctly, the second white screens. The error reads as provided above, 500 and 404s.

I've attempted to remove and add canonical urls, but there is no effect.

Attachments:

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

  • Posts: 31
  • Thank you received: 1
4 years 4 months ago #321771

I'm not sure if this is related, but looking at the db and the hikashop_product table, there are over 14,000,000 records. The cron is set to import from the POS every 5 minutes. Is it just adding new records rather than updating existing records and the website is timing out because it has to go through so many product records?

I cleared the products via sql, and reimported the latest product update file and the page works again. Which is what happened last time.

So I guess the question is: How do I keep the product update cron from adding new records, but instead just update products that are already in the db?

Last edit: 4 years 4 months ago by nickk.

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
4 years 4 months ago #321777

Hi,

The website is not timing out on my end, but the pages are sure loading slowly.
Having 14 millions products entries is indeed a problem and will considerably slow the page processing as MySQL will take more time retrieving the products.
So there must be a problem with the import. Maybe something has to be changed in the CSV or in the settings of the plugin.

Now regarding the URLs, it seems that the issue is that you've activated the "force canonical URLs on listing" setting in the HikaShop configuration and that you have invalid canonical URLs.
The simple solution in the short term so that it works fine is to turn off that setting. Then, you can clear the products you have in the hikashop_product table, fix the problem with the import, and then properly set the canonical URLs before activating the setting again.

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

  • Posts: 31
  • Thank you received: 1
4 years 4 months ago #321854

The problem appears to be that the Mass Actions I have set to update certain products characteristics and add in the variants, is the challenge. Every time it runs it adds in the new variants, the count is up to 16 per product needing the options, at 100+ products needing the options, that adds up quickly.

Is there a way to keep that mass action from running on products that already have the characteristic variants? Joomla errors when I attempt to add a filter for the characteristic, see screenshot.

Attachments:

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
4 years 4 months ago #321859

Hi,

This error is just for the refreshing of the number of elements matching the filter. I think you can ignore it.
But we've added a patch on our end for that.
Download again the install package of the latest version of HikaShop on our website and install it on yours and it will add the patch for that issue.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum