News:

Support the VirtueMart project and become a member

Main Menu

Error updating cart

Started by thefbi, December 19, 2016, 18:10:01 PM

Previous topic - Next topic

thefbi

Ok, I will try to investigate. I come back when further informations
Thank you

thefbi

#16
Hello,

when i try to do www => non www, i have now another error :

Mixed Content: The page at 'https://energie-sante.ch/accueil-boutique/consommables-argent-colloidal.html'; was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://energie-sante.ch/index.php?option=com_virtuemart&nosef=1&view=cart&t...255D=1&option=com_virtuemart&view=cart&virtuemart_product_id%255B%255D=208';. This request has been blocked; the content must be served over HTTPS.

But the first error not appear

EDIT : No, it because i have modify the url in the Google search console to define non www. But dosent work...

Jörgen

I think You should check that You don´t have this:
Quote

#Force non-www:
RewriteCond %{HTTP_HOST} ^www\.energie-sante\.ch [NC]
RewriteRule ^(.*)$ http://energie-sante.ch/$1 [L,R=301]

It should probably say https://....  :)

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

thefbi

Yes, i have see it after and try to modify, but the problem still here.

But the main problem is why it will call www on my cart button. It is this i have to find.... I have try with the Protostar template and the problem still here, so not a template problem.

thefbi

OK, i have make a new site and now it work when i am in non www. But it dosent work when in www, because error of mixed content...

I dont understand but have forced https and non www.

thefbi

EDIT : I have put only the https redirection and it seem to be ok now with and without www.

Can somebody make a test and tell me if he can add to cart with and without www please : https://www.energie-sante.ch/accueil-boutique/consommables-argent-colloidal

Thanks a lot by advance

GJC Web Design

Yes, can add on www and non www
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

thefbi