News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Joomla 2.5.7 VM 2.0.12b SSL Problems

Started by trodat, October 18, 2012, 08:27:54 AM

Previous topic - Next topic

trodat

I'm using Joomla 2.5.7 with VM 2.0.12b. and Alatak's Offline Credit Card Processing module.

I have enabled SSL for sensitive areas (recommended). During checkout, on the editaddresscheckoutBT.html page (https://www.mysite.org/shop/user/editaddresscheckoutBT.html) the vmpanels.css uses an absolute/unsecured path (http://www.mysite.org/components/com_virtuemart/assets/css/vmpanels.css) causing a warning in the web browser. How do I get VM to use the relative path or force the use of SSL on this file or is this a conflict? I checked and this is the only file being called without SSL.

The add to cart button does not work on a product page when the URL is https. I have tried disabling 'Use external google jQuery library' as someone mentioned, but this did not fix my issue. Someone else suggested changing the $live_site in the configuration.php file to "https://" but this does not seem to be a fix as I do not want the entire site secure, only the shop.

Any feedback is greatly appreciated. Thanks!

tyrela

I updated to 2.12C this morning and I now get the "Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party." message on checkout when I go out of the shipping and payment areas and this did not happen before.

Any help??

tyrela

I turned off sef and that fixed it.  not sure why I had to do that but it fixed it.

trodat

If someone could help me on my issue. The more I look at this, I do not understand why enabling SSL on sensitive areas in the shop makes all the navigational links on my website secure as well. I understand that they are relative paths, but, I thought that by enabling SSL on sensitive areas, it would only force SSL on VM pages that request personal or payment information and not the entire website (including product pages).

Obviously, the vmpanels.css issue being unsecured on the editaddresscheckoutBT.html page is another story.

trodat

#4
For anyone interested, I fixed the reference to the unsecured vmpanels.css file by doing the following:

Edit file:
components/com_virtuemart/views/user/tmpl/edit_address.php

Line 23 change:
JHTML::stylesheet ('vmpanels.css', JURI::root ()
to
JHTML::stylesheet ('vmpanels.css', JURI::root (true)

Source Post:
http://www.rupostel.com/phpBB3/viewtopic.php?f=5&t=229

I am not a programmer, so I am not sure if this does anything bad to other VM functions, but it works...

trodat

For anyone interested, I also fixed the SSL issue on product pages by redirecting back to http://. Now, the add to cart button works. It seems like a dirty fix, but it works with SEF enabled:

In this file:
/htdocs/www/components/com_virtuemart/views/productdetails/tmpl/default.php

Add this code:
/* Back to http */
   $currentcheck = JURI::current();
         $comparethis = str_replace( 'https:', 'http:', $currentcheck );
      if ($comparethis !== $currentcheck){
       $app = JFactory::getApplication();
$app->redirect($comparethis, null, null, true, true);
       }

Source post: http://forum.virtuemart.net/index.php?topic=91426.15

tdoes

#6
I have a Joomla 2.5.8/VirtueMart 2.0.18 e-commerce site and just added SSL certificate to my domain and experienced this issue with the web site shopping cart afterwards! When I click confirm order I get this message!
Fatal error: Call to undefined method VirtueMartModelCustomfields::getProductCustomFieldCart() in /home/content/24/7601124/html/madmenunltd/administrator/components/com_virtuemart/models/orders.php on line 803

How can this be corrected?

Thanks