Once site goes SSL if you return shopping it stays, and cart button stop working

Started by pierre, September 28, 2013, 21:44:47 PM

Previous topic - Next topic

pierre

Hello. 

My issue is once you go to view your cart/checkout, it flips to SSL (as it should).  However if you go to continue shopping you never leave SSL, and then if you go an add more products the add to cart button does not function properly.  If you add a product to cart it takes you to a totally unstyled page, with a login box, and a fatal error:

Fatal error: Call to a member function createPriceDiv() on a non-object in /home/pawsgree/public_html/newsite/components/com_virtuemart/views/cart/tmpl/default_pricelist.php on line 161

If I manually change the url from https to http add to cart button works again.

PLEASE HELP!

pierre

I just wanted to add, that if nobody knows how to fix this in virtuemart, can anybody tell me how to make a htaccess rule that checks to see if the page is in https if the url contains the string "products" and if it is to redirect to the http version?

I am terrible at regexp

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

pierre

Virtuemart 2.0.22
Joomla 2.5.11
PHP 5.3.27

And yes I have tried searching to look for a resolution to my issue. :-[

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum