'' The cart is empty '' help me please sir

  • Posts: 8
  • Thank you received: 0
8 years 9 months ago #230807

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.24
-- Browser(s) name and version -- : -
-- Error-message(debug-mod must be tuned on) -- : The cart is empty

Dear : sir
i fina err on hukashop. when online website.

I can't use Cart Shopping
1) When i use in localhost ( offline ) the cart system can work complete
2) but When i put website to hosting (online) cart system is not work system show Message '' The cart is empty ''
When Choose product Click > Add to cart > system show '' Message The cart is empty

i try to find my problum on goole and any where but i can't find.
can look my website is www.superlocks.co.th
picture as my attach file.

็Help me please sir
love hikashop.

Attachments:

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

  • Posts: 2143
  • Thank you received: 747
8 years 9 months ago #230813

Hi,

If your site's code and configuration is identical on localhost and hosted server but the cart doesn't work on-line, it's most likely due to caching. Make sure that there is no cache active on the hosted server, not in Joomla but also not on the server itself.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: Airbus747

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 9 months ago #230836

Hi,

It could also come from the user session system of your web server. You can try changing the "session handler" setting of the Joomla configuration.

The following user(s) said Thank You: Airbus747

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

  • Posts: 8
  • Thank you received: 0
8 years 9 months ago #231079

Thq sir for support i'm so gleeful.
i attach file for my configuration on cache please tell me sir how i should to do sir.

#sorry i'm new for hikashop.
Tnq

Attachments:

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

  • Posts: 2143
  • Thank you received: 747
8 years 9 months ago #231080

Well, you see in your screenshot that right now under "Cache Settings" your Joomla cache is "on".
So, change it to "off", save and close.
Then clear the cache: in the Joomla backend, go to -> System -> Clear Cache, check all boxes there and click the "Delete" button in the upper left.
Reload your frontend pages and see if you can add products to the cart.

If still not:
As said before, also make sure that the server does not use any cache. (Some hosting providers have a server cache active by default. If so, turn it off and clear it as well. Eventually ask your hosting provider.)

If still not:
Try following Nicolas' advice regarding session handler.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: Airbus747

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

  • Posts: 47
  • Thank you received: 4
8 years 8 months ago #231519

Does it mean that Hikashop cannot work normally, when cache is enable?
Our customers complained from time to time about problems during checkout process, so we disabled cache entirely.

The following user(s) said Thank You: Airbus747

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 8 months ago #231526

Hi,

Caching is a vast subject.
If you cache whole pages, when you add something to the cart, the cache has to be cleared, otherwise, you won't see the changes on the page.
HikaShop (and other ecommerce solutions for Joomla work in the same way when they support caching), is rendered compatible with the page caching of Joomla by clearing the cache each time something changes on the page.
If your website is a shop, everyone has something different in their cart and thus the pages will be different for everyone. In that case, there is actually no reason to have caching on your website since the cache is common to everyone and will be erased all the time. It's even more efficient to keep it turned off.
Also, if you have other kind of caching, modules, JS, CSS, third party extensions, HikaShop might not support them based on how they are done and configured. So you might get issues during the checkout or other parts of the website.

What I can say is that we have other merchants using HikaShop and the joomla cache at the same time on their website and it works fine for them. But we also had other merchants with caching or user session (that's a different subject, but the resulting problems can sometimes look similar) issues, which is why we recommend to change these options and and see if that helps.

The following user(s) said Thank You: Airbus747

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

  • Posts: 8
  • Thank you received: 0
8 years 8 months ago #231757

for all support
Sorry for dely

i try make everything as you teach sir.
all day and all night i try find my problem.
but i don't know how to make it

dear sir . nicolas
i gave my username & password to you on inbox
Help me please sir.


and i ask to my hosting he said he not run reverse proxy vs nginx proxy .

Last edit: 8 years 8 months ago by Airbus747.

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 8 months ago #231766

Hi,

Well, I've checked your settings and tried a few things, but there is nothing wrong in the website.
And it's to be expected since, as you said it yourself, it's working on your local computer.
So I can only think of something on the server side.
What if you tried switching to a different hosting maybe ?

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

Time to create page: 0.095 seconds
Powered by Kunena Forum