Yoriel79 Posted May 15, 2011 Share Posted May 15, 2011 Hello.I hope that someone can help me.In my Backoffice I have enabled "the previous page" in the field "Re-direction after adding product to cart:".The problem is that this happens when I add the first article, when I add the second my store go to the cart summary.This only happens if I have the SSL option enabled.Can anybody help me please. I really need to solve this as son as possible.This is my website. click here Link to comment Share on other sites More sharing options...
uddhava Posted May 15, 2011 Share Posted May 15, 2011 I get a ssl warning for unencrypted content when switching from the ssl cart to Continue shopping. Then when i add the same product (in ssl) then it is redirected to the cart. Annoying if you dont want that. But you should check if all your files are available in ssl mode (see error) and then turn force compile off and test again.If that all doesnt work then pls report a detailed bug report. Link to comment Share on other sites More sharing options...
Yoriel79 Posted May 15, 2011 Author Share Posted May 15, 2011 Thanks for your answer.Yes, I saw this matter, but I don't know how to check wich are the non-secure elements. I though that the problem was the top menu or the twitter module, but when I disabled both, the problem still there.Could you tell me how can I know wich are these non-secure elements.?Thanks. Link to comment Share on other sites More sharing options...
Yoriel79 Posted May 15, 2011 Author Share Posted May 15, 2011 Hello.I test it in a new installation of prestashop with the original theme and the problem still there.If you disable the "cart block", this happens again.Could someone help me? Link to comment Share on other sites More sharing options...
Roberto125 Posted May 16, 2011 Share Posted May 16, 2011 Good morning,uddhava, your SSL certificate is an auto-generated SSL certificate on your server. It is necessary to install a certificate issued by a Certificate Authority like:_ VeriSign_ GlobalSign_ Thawte_ GeoTrust_ RapidSSLhttps://www.networking4all.com/en/ssl+certificates/Yoriel79, what kind of SSL certificate do you have? Link to comment Share on other sites More sharing options...
Yoriel79 Posted May 16, 2011 Author Share Posted May 16, 2011 I have checked my store with the tool provided by your website, and my certificate seems to have some kind of irregularity, but if I check another sites as Apple.com, Symantec and also Verisign, they seems to have irregularitys in his certificates too. With the results I get from your site check tool, are you telling me that my website is more secure than Apple?Something here seems to have no sense.Could you explain me why this happens, please? Link to comment Share on other sites More sharing options...
Yoriel79 Posted May 16, 2011 Author Share Posted May 16, 2011 Returning to the matter...The problem seems to be the non-ajax cart verision. It fail under https.I have reported this bug to the developers of Prestashop.Sorry for my English.Cheers. Link to comment Share on other sites More sharing options...
Roberto125 Posted May 17, 2011 Share Posted May 17, 2011 Se chieres, podemos hablar en espanol.If you want, we can speak in Spanish.Try to install a FreeSSL: http://www.networking4all.com/fr/certificats+ssl/produits/par+type/Intenta instalar un FreeSSL: http://www.networking4all.com/en/ssl+certificates/products/by+type/A TrialSSL (FreeSSL) is for free.Un TrialSSL es gratis. Link to comment Share on other sites More sharing options...
Yoriel79 Posted May 18, 2011 Author Share Posted May 18, 2011 The solution for non-Ajax cart under https is...classes/Tools.php alrededor de la linea 56 replace: if (strpos($url, 'http://') === FALSE) to if (strpos($url, 'http://') === FALSE && strpos($url, 'https://') === FALSE) andcontrollers/CartController.php around line 230replace: (Tools::redirect($regs[3]); to Tools::redirect($_SERVER['HTTP_REFERER']) Bye. Link to comment Share on other sites More sharing options...
Recommended Posts