Shopping Cart no longer functions as expected

  • Posts: 3
  • Thank you received: 0
10 years 3 months ago #188826

-- url of the page with the problem -- : www.speedwayspares.net.au
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.35
-- Browser(s) name and version -- : Firefox 35.0.1, IE 11.0.15

When you start the cart there is a chance it will remain empty and sometimes it will add your item and if it does it may not update to any changes you make to it henceforth. However if I were to clear the cache in the backend of the website the cart can be updated once or twice before freezing again, the weird thing about that is I have disabled cache on the website and even removed the cache plugin.

Our website was working until 28th Jan which I spent most of the day on the forums trying fixes and such, I even restored an old backup from last October(HikaShop 2.2.2) which I know was working onto a different server and the interesting thing is the error is present on that website too. I know there has been no PHP or MySQL updates done in the last week as I run one of the servers myself, also no hacks to report either.

If you want to try it out goto www.speedwayspares.net.au

It's weird that for no aparent reason it just stopped working.

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

  • Posts: 83832
  • Thank you received: 13572
  • MODERATOR
10 years 3 months ago #188836

Hi,

It's clearly a problem of caching on your website/web server.
If you deactivate the caching system that you have, the cart will work.
Try for yourself:
1. Go on the page: speedwayspare.com/online-store/category/94-brake-kits
2. Add a product to the cart.
3. The add to cart popup displays and the cart module is refreshed in ajax with the product page.
4. Go to the page again: speedwayspare.com/online-store/category/94-brake-kits
5. The cart module says it is empty (indicating that the page is cached from the point 1)
6. Go to the page: speedwayspare.com/online-store/category/94-brake-kits?test
7. It's the same page, but with a fake parameter which doesn't do anything, but you can now see the product that you added in point 3 in the cart module. That again indicates a caching system which bases itself on the URL to cache the content of the pages on your website.

So it's not related to HikaShop stopping to work. It just means that you have activated some caching on your website/web server, creating the problem.

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

  • Posts: 3
  • Thank you received: 0
10 years 3 months ago #189194

Unfortunately I've disabled all caching systems to the point where I've removed the Joomla caching plugin files and no system changes have taken place on the server either. This is why I'm stumped, it seems like it's a caching issue but there is nowhere at all telling it how to cache nor telling it to do it, should cookies not override website caching anyway?

If you try your list out again a second or third time the new items don't appear even after refreshing the page or going to ?test .

Any suggestions on this at all?

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

  • Posts: 83832
  • Thank you received: 13572
  • MODERATOR
10 years 3 months ago #189197

Hi,

It's normal that the new items don't appear if you try again with the same URLs as they get cached. Change the parameter to something else like ?test2 or test3, etc and you'll get the new data displayed.
Unfortunately, I can't tell you what is caching the pages on your website/web server as I don't know. That's something you, your system administrator or your hosting company should know. If it's not the Joomla caching options/plugin then it's something else. Maybe something directly on the web server that cannot be changed in the backend of your website.

The following user(s) said Thank You: mors2657

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

Time to create page: 0.038 seconds
Powered by Kunena Forum