VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Trucmuche on December 18, 2017, 11:47:25 AM

Title: Ajout au panier impossible
Post by: Trucmuche on December 18, 2017, 11:47:25 AM
Hello,
I have a concern since the 3.8.3 update of Joomla. All work perfectly, after the update, it does not work anymore. I upgraded VirtueMart to 3.2.8 and 3.2.10, but still it does not work. Can not add a product to the cart.
Help, please
Thank you
PHP Version 7.1

Bonjour,
J'ai un souci depuis la mise à jour 3.8.3 de Joomla. Tous fonctionner parfaitement, après la mise à jour, ça ne fonctionne plus. J'avais fait la mise à jour de VirtueMart en 3.2.8 puis 3.2.10, mais malgré cela cela ne fonctionne toujours pas. Impossible de rajouter un produit au panier.
Au secour, SVP
Merci
Version PHP 7.1
Title: Re: Ajout au panier impossible
Post by: alatak on December 18, 2017, 11:52:23 AM
Bonjour

Please note that there is a french forum for virtuemart http://www.virtuemart.fr/forum/index

Check in your console if you have a javascript problem.
Title: Re: Ajout au panier impossible
Post by: Trucmuche on December 18, 2017, 12:27:05 PM
Hello
Thank you for your prompt response.

Here is the message I had with the Javascript console
Title: Re: Ajout au panier impossible
Post by: jflash on December 18, 2017, 12:58:08 PM
What is version for this Gavick template?
Title: Re: Ajout au panier impossible
Post by: Trucmuche on December 18, 2017, 13:01:07 PM
Version 1.0
Title: Re: Ajout au panier impossible
Post by: jflash on December 18, 2017, 13:04:59 PM
Quote from: Trucmuche on December 18, 2017, 13:01:07 PM
Version 1.0
Its not real :) This template GK Musicstate was 3.21.3 before Gavick sold his company few months ago
Title: Re: Ajout au panier impossible
Post by: Trucmuche on December 18, 2017, 13:07:53 PM
Sorry for my mistake it's 3.17.1
Title: Re: Ajout au panier impossible
Post by: jflash on December 18, 2017, 13:16:12 PM
Try another template (beez3), if with it you can add products, then problem is in your Gavick template
Title: Re: Ajout au panier impossible
Post by: Trucmuche on December 18, 2017, 13:20:36 PM
I have aissayai (beez3) on your advice but these same thing
Title: Re: Ajout au panier impossible
Post by: jflash on December 18, 2017, 13:30:54 PM
Quote from: Trucmuche on December 18, 2017, 13:20:36 PM
I have aissayai (beez3) on your advice but these same thing
And what shows error-console?
Title: Re: Ajout au panier impossible
Post by: Trucmuche on December 18, 2017, 13:38:02 PM
Here is the message I had with the Javascript console
Title: Re: Ajout au panier impossible
Post by: alatak on December 18, 2017, 13:53:04 PM

Hello

You have a problem between hte HTTP and HTTPS.
I tested your website with https, and the add to cart id ok.
Title: Re: Ajout au panier impossible
Post by: Trucmuche on December 18, 2017, 14:09:58 PM
Yes indeed, I have just seen it and in your opinion what should I do?
Title: Re: Ajout au panier impossible
Post by: jenkinhill on December 18, 2017, 16:45:52 PM
I have seen three sites last week where add to cart did not work with http but did so with https. Luckily each of them already had a certificate in place so setting the whole site ran under SSL solved the problem. A one of these was an old VM2 site I guess the issue is browser related (I have Firefox 57.02).
Title: Re: Ajout au panier impossible
Post by: Trucmuche on December 18, 2017, 17:00:48 PM
Hello,
Yes indeed, the site works https, but the homepage, gives a message that says the site is not secure on chrome without padlock, and firefox too but with a padlock with a yellow triangle.
Thanks for your help
Title: Re: Ajout au panier impossible
Post by: Studio 42 on December 18, 2017, 23:18:18 PM
Check the console, and use the right https link.
Add a rewrite rule to only allow https in your .htaccess.
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]


You have a site that have security check about crosss domains.
So you need another rules to always use www or not. Eg.

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]


If you do this, then your site have the green cadena