VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: mromrell on February 19, 2013, 05:21:05 AM

Title: SSL Either breaks "add to cart" or page is "Insecure"
Post by: mromrell on February 19, 2013, 05:21:05 AM
I'm Super Frustrated. After pouring through other posts (including this one: http://forum.virtuemart.net/index.php?topic=109967.0 (http://forum.virtuemart.net/index.php?topic=109967.0) ), I haven't been able to fix this:

After enabling SSL on the Checkout page of www.DetourJournal.com (http://www.detourjournal.com) it breaks my "add to cart" functionality. (I only want HTTPS on the Checkout page)
If I change $live_site in the Joomla config file from  https  to  http   then the "add to cart" functionailty is back but the Checkout page is no longer secure.

I tried to Debug it with Firebug, but I have no idea what it's trying to tell me.
I tried to turn off the VM jquery library under configuration>Templates but still nothing.
WhyNoPadlock.com Tells me my insecure content amounts to 11 files (3 images, 3 .CSS files and 5 .JS files) but I've done a search through all of those files (the whole site and database in fact) and replaced all "HTTP://" references with "HTTPS://"

Please Help me resolve this! If you do, I will give you a high-five!

Also, I'm using Yireo SSL Redirection plugin to only have HTTPS on the checkout page.
Joomla 2.5.8
VM 2.0.14
Title: Re: SSL Either breaks "add to cart" or page is "Insecure"
Post by: mromrell on February 20, 2013, 15:37:39 PM
SOLVED:  I found this trick here: http://stackoverflow.com/questions/3587021/facebook-like-button-breaks-https-ssl (http://stackoverflow.com/questions/3587021/facebook-like-button-breaks-https-ssl)

I changed the $live_site URL in the Config file from:
$live_site = 'http://www.detourjournal.com';
to
$live_site = '://www.detourjournal.com';

I had to leave the first colon in otherwise some of my admin pages were accessible. I'm not sure why, but this seemed to fix everything