Hi there!!!
J : 3.4.5
Virtuemart : 3.0.12
PHP : 5.4.45
MySQL : 5.5.47
A few days before my client's website was working as expected. Virtuemart is not adding up the products to cart. I console it and found this error:
GET https://www.healthydogtreats.com.au/healthy-dog-treats/components/com_virtuemart/assets/js/chosen.jquery.min.js
Cache is disabled, did SSL settings, tried different combinations of VM config. Tried disabling different components, If those conflicting with VM cart. Read almost every topic related to it and tried to solve accordingly. But all in vain!! I'm messing up with issue from last few days.
Pls help... Any help would be appreciated!!
Thanks and regards,
Bhoomika
Your Joomla version is known to have critical security issues, and should have been updated in early December - current version is J3.4.8. http://virtuemart.net/news/latest-news/475-critical-security-leak-in-all-joomla-versions-please-update-immediatly
I cannot see a js error, so suggest you switch to Protostar template to check if you have an issue with your template overrides - assuming that your site has not been hacked yet.
the error is that chosen.js is missing
404 Not Found - https://www.healthydogtreats.com.au/healthy-dog-treats/components/com_virtuemart/assets/js/chosen.jquery.min.js"
If you check this line in the header the file is loaded and is present: <script src="components/com_virtuemart/assets/js/chosen.jquery.min.js" type="text/javascript"></script>
??
that call is wrong.. it is sef'd.. there is no folder /healthy-dog-treats/
https://www.healthydogtreats.com.au/healthy-dog-treats/components/com_virtuemart/assets/js/chosen.jquery.min.js is a 404
https://www.healthydogtreats.com.au/components/com_virtuemart/assets/js/chosen.jquery.min.js is there
Surely a full url should not be used?
yes but I didn't customize any js urls. Its adding up product name alias in js url, that's y shopping cart isn't working.. I agree with it.. But on home page its not adding up any additional aliases in url.. I don't see any other cause of returning shopping cart empty..
Please suggest me something, How will it work?
Many thanks.
@jenkinhill Yes tried with switching the template to protostar but issue remains the same. I don't see any major error from which I can conclude the cause of it. :(
You state elsewhere that it is not just VM that has stopped working, so I suggest you check carefully for evidence of hacking. http://forum.joomla.org/viewtopic.php?f=714&t=904114
Yeah but those are fixed now. Vm cart is working on chrome only not in any other browser. And If I check on other devices its not working yet. Its only working on my PC. Can it be cache issue? My cache settings are off. And still when I navigate to clear cache I can see 3 - 4 blocks of vm cache files. If I dont want to store virtuemart cache, How can I achieve that?
vm ALWAYS caches the category view only (and rss if enabled) .. the rest not
I'm getting this error when i console it FF:
{"stat":"2","msg":"Continue Shopping<\/a>
Error while adding product in cart: no product ids<\/div>
\n\r"}