Hi,
here are my specifications:
Joomla 2.5.27
Virtuemart 2.6.18
My website now has SSL and can run on http and https. When I click on the shoppingcart button the loader gif shows up, but nothing happens. The product is not added to the cart.
As no SSL is active and when I look at it with the Firefox Web-Console this error comes, when clicking on the shopping cart button: "Laden von gemischten aktiven Inhalten "http://www.domain.de/index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&quantity=1&quantity%5B%5D=1&option=com_virtuemart&view=cart&virtuemart_product_id%5B%5D=807&Itemid=239&_=1443695643334" wurde blockiert"
In englisch: "Load mixed active content has been blocked!"
When I activate ssl and try out the same thing it says something about "CORS-Kopfzeile 'Access-Control-Allow-Origin' fehlt"
In english: CORS-HEADER is missing.
What can I do now? When I deactivate SSL I can't add products to the cart, and when I activate SSL it's just the same.
Thanks,
Basti
I think we solved the problems with the mixed mode in vm3, but in anycase, you must check your layouts or css for links with http, just use always relative links and it should work.
Hi,
thanks for your answer.
Do you know in which file this call is produced?
http://www.domain.de/index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&quantity=1&quantity%5B%5D=1&option=com_virtuemart&view=cart&virtuemart_product_id%5B%5D=807&Itemid=239&_=1443695643334
maybe I should change some call in this file or elsewhere? I don't know where to start to change the http to https.
Perhaps one of these links help to solve your case:
http://forum.virtuemart.net/index.php?topic=128191.0 (http://forum.virtuemart.net/index.php?topic=128191.0)
https://www.flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/1605-addtocart-button-doesn-t-work-with-ssl (https://www.flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/1605-addtocart-button-doesn-t-work-with-ssl)