Category overview is disappearing in Chrome

  • Posts: 40
  • Thank you received: 2
4 years 3 months ago #326118

-- url of the page with the problem -- : www.poelierdijkshoorn.nl/index.php/hikas...gory/96-kip-in-delen
-- HikaShop version -- : 4.4.0

Since today the overview of my categories is disappearing in Chrome (desktop) after going into a category.

So, if you arrive in the webshop it's there, but as soon as you click on a category it's gone.

In Edge it stays where it's supposed to stay.

edit: Just noticed it works in incognito mode in Chrome. So I thought it would be a Cache problem. Just deleted cache and other files from the last 24h, but it's still broken. Any suggestions?

Last edit: 4 years 3 months ago by Dijkshoorn.

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

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 3 months ago #326129

Hi,

I checked that URL and the categories listing and the products listing pages on your website on both Chrome and Edge on my computer and didn't see any difference.
Could you provide some screenshots of the issue ?

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

  • Posts: 40
  • Thank you received: 2
4 years 3 months ago #326443

I thought it would be a cache issue since it worked in edge and it worked on my home pc using chrome, but now I replicated the error.

I placed a test order on my own website and after ordering it was broken again. I added screenshots

Attachments:

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

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 3 months ago #326462

Hi,

I don't see anything broken there.
When you click on a category, the categories listing area will display the sub categories of the category you selected.
And since you don't have any sub categories, it doesn't display anything in the categories listing.
There is no mechanism to keep displaying the main categories when you go in subcategories of a categories listing.
You could try to go around that by create a categories listing module of your main category's sub categories and configure it to display on the products listing.

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

  • Posts: 40
  • Thank you received: 2
4 years 3 months ago #326486

Thank you for having a look. I'm now able to replicate the issue in Edge. I'll click "Kip & Ander Vlees", then "Kant & Klaar". The category module on the left disappears and doesn't come back anymore. Also, when i go back to the "Kip & Ander Vlees" subcategory overview I only have 3 categories left when there should be almost 25.

Can I send you a link via your contact form again? Christmas is coming up, and I was really hoping to let people order through the webshop this year.

Edit: I can't replicate it in incognito mode in chrome...

If I close Edge, and start it again, the category menu is back. It disappears again after clicking on a product. In Chrome it doesn't come back anymore. Except for incognito mode, there I can't even replicate the error. Very strange.

Edit 2: It seems to reset itself relatively quickly. Now I opened the website again after a while and the category menu was back. I made a video so you can see what happens. Note that a lot of sub categories disappear as well.

www.awesomescreenshot.com/video/1860396

Last edit: 4 years 3 months ago by Dijkshoorn.

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

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 3 months ago #326498

Hi,

So if I understand correctly, your issue is that the left categories module is disappearing when going in the products listing or the product details page, but only in some cases.
This looks like a caching issue.
Do you have the Joomla caching activated, or the template caching activated ? Or some other extension doing caching ?
Try deactivating all that.
Also, make sure that the "synchronize" setting of that left module is set to "no".

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

  • Posts: 40
  • Thank you received: 2
4 years 3 months ago #326569

I tried all your suggestions, but none worked. It's strange, it seemed to go well on my home PC. But after working on the website for a while, the menu still disappeared.

It stays in Chrome incognito mode, it disappears directly in Edge as well as in Edge incognito mode...

I don't know if it has anything to do with cache anymore (I know it seems like it). It started happening a day after I worked on making the webshop look a little better through hikashop settings, but I really can't think of a setting that could've caused this.

In the source code, I can see that the entire code for module 254 disappears from the sidebar 1 position when the category menu disappears.

Do you have any other suggestions? This is really bad just before christmas.

Edit: I see the link I posted to the video of the problem is no good. This one should work:
www.awesomescreenshot.com/video/1873543?...3a66c4cedd411ed7922c

[Moderator :] Please, don't edit your message a long time after had posted it.
This mess up our ticket system, and this may delay the speed of our responses.
Thanks for your attention.

Last edit: 4 years 3 months ago by Philip.

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

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 3 months ago #326572

Hi,

Well, I don't know. I'm not even able to reproduce the problem. For me it works just fine.
You say that it happens with Chrome when not in incognito mode, but I also use Chrome on my end and I don't see the problem.
I browsed many pages of your website with Chrome in normal mode and I always had the menu on the left side.
So I'm suspecting maybe it's something related to the extensions on your Chrome or your computer.
Can you try on another computer ?
If you're able to reproduce. What are the exact steps ?

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

  • Posts: 40
  • Thank you received: 2
4 years 3 months ago #326619

Sorry for the late edits and thank you for your patience.

I can reproduce the issue with my home PC. When I started working on it on my home PC I thought it was good, but after a while the menu still disappeared. With Chrome incognito mode it stays. Just like on the work pc.

Chrome on the work pc and home pc is not logged into the same account and I don't have the same plugins running except for adblock. I tried turning that off at home, but that doesn't work.

Now I'm going mad clicking away on chrome on my laptop because it doesn't seem to disappear on that machine..

There isn't really a specific blue print to reproduce the problem. When I haven't been on the website for a few hours with my home or work pc on Chrome I can maybe make 20 to 50 clicks before it breaks again. After that I have to wait maybe 15 minutes before the menu reappears. After that happens it only takes two clicks (as you see in the video) to make the menu disappear again.

I also posted on https://forum.joomla.org because I thought it maybe more a joomla problem then a Hikashop problem. There is someone there who took a look. He couldn't reproduce the problem with Chrome, but he eventually could with Edge.

Last edit: 4 years 3 months ago by Dijkshoorn.

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

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 3 months ago #326635

Hi,

I was able to reproduce it today with Edge, strangely.
I looked at the debug data (with the "debug mode" setting of the Joomla configuration) and I found this MySQL query:
monosnap.com/file/AhCnnizGdhOObxluTdgaK9n4IpsXSt
That's the MySQL query loading the categories directly under the main category.
As you can see, it says "Regels teruggegeven: 0".
So MySQL doesn't find any category entry being a child of the main product category, published and with an access set to "all".
However, if I run a mass action on your backend to load the same data, it's properly there:
monosnap.com/file/NSWoxssnbdtNxJNy2KDZqmxFjzPKas
So maybe there is a problem with the database in some cases. But it's strange because if it was a problem in the database, it should be the same on all the pages.
One other thing I noticed is that if I clear the cookies of the browser, the module reappears.

The following user(s) said Thank You: Dijkshoorn

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

  • Posts: 40
  • Thank you received: 2
4 years 3 months ago #327416

Thank you for looking in to it. You've already gone much further with it than I ever could, so I'm afraid it's somewhat of a dead end for me.

Would you know anyone who could potentially solve this problem? Maybe I can pay someone to do it.

Last edit: 4 years 3 months ago by Dijkshoorn.

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

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 3 months ago #327417

Hi,

Well, since it seems to be something between either the database or the user session, one thing to do would be to try copying the website on another hosting and see if you still have the same issue (maybe try on a local web server?).
And also try using another template, or disabling extensions to see if anything is causing the problem.
Once identified, you can switch to something else or report the problem.
So it doesn't really require a specialist to find the issue for now, but I think it would be better to swap different elements to understand which one is causing the problem. If it's the hosting, you can just change the hosting and problem solved.
If it's an extension, maybe there is an alternative ?
And if not, then you can check with a developer specialized in the subject.

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

Time to create page: 0.073 seconds
Powered by Kunena Forum