Author Topic: checkout changes look and looses drop down menu in ssl  (Read 3491 times)

Jamesbotanical

  • Beginner
  • *
  • Posts: 8
checkout changes look and looses drop down menu in ssl
« on: March 04, 2010, 00:50:23 am »
I have set up a store that works great on the server not using ssl.  It uses the greybox for checkout, mainly because it did not work at all without.  That is no problem I am good with the greybox, but....

When I switch over to the shared ssl and have account, checkout and shipping through ssl the checkout has some problems.  First of all there are menu items showing on the top of the checkout page that do not show up in non-ssl.  I would like these items to not show.

Then when I get to payment the drop down menu for credit card selection does not show and I can go no further because it indicates invalid credit card number.

It all works slick as can be in non- ssl mode and I really like it.

Thank you.

source code from non ssl checkout page that works well

 <link rel="stylesheet" href="/plugins/system/jceutilities/css/jceutilities.css?v=224" type="text/css" />
  <link rel="stylesheet" href="/plugins/system/jceutilities/themes/shadow/css/style.css?version=224" type="text/css" />
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="/plugins/system/jceutilities/js/mediaobject.js?v=224"></script>
  <script type="text/javascript" src="/plugins/system/jceutilities/js/jceutilities.js?v=224"></script>


Source code from ssl checkout page showing menu items I don't want to see


  <link rel="stylesheet" href="/plugins/system/jceutilities/css/jceutilities.css?v=224" type="text/css" />
  <link rel="stylesheet" href="/plugins/system/jceutilities/themes/shadow/css/style.css?version=224" type="text/css" />
  <link rel="stylesheet" href="/modules/mod_briaskISS/mod_briaskISS.css" type="text/css" />
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="/plugins/system/jceutilities/js/mediaobject.js?v=224"></script>
  <script type="text/javascript" src="/plugins/system/jceutilities/js/jceutilities.js?v=224"></script>
  <script type="text/javascript" src="/includes/js/joomla.javascript.js"></script>

  <script type="text/javascript" src="/modules/mod_briaskISS/mod_briaskISS.js"></script>



Forrest

  • Global Moderator
  • Hero Member
  • *
  • Posts: 1972
  • Me and my baby
    • Web Developer
Re: checkout changes look and looses drop down menu in ssl
« Reply #1 on: March 04, 2010, 01:29:08 am »
Does it look like you are loosing styling in https? Like maybe a css sheet isn't loading?

Have you tested your design, both http, https in other browsers.

My guess is, when it comes to links showing up in https, that they are actually there in http, but because of css being loaded correctly in http, they are either in a different location, or being hidden by another element, so you usually didn't see them, even though they are there. You can verify this in the source code.

Jamesbotanical

  • Beginner
  • *
  • Posts: 8
Re: checkout changes look and looses drop down menu in ssl
« Reply #2 on: March 06, 2010, 00:57:35 am »
Forrest,

Thank you for your reply.  Near as I can tell the source code is the same whether I am using the ssl or not.  It would appear that the site's css template is not loading when going through the ssl.

Any thoughts on why this might be and what I can do to change this.  I have also disabled the use of SEF to enable checkout without using the grey box.

Thank you

Jamesbotanical

  • Beginner
  • *
  • Posts: 8
Re: checkout changes look and looses drop down menu in ssl
« Reply #3 on: March 06, 2010, 03:46:52 am »
So maybe the question here is what are all the config files that need to know about ssl and what code should be in them.  For some reason when in checkout the joomla template is not being loaded when going through the ssl.

Forrest

  • Global Moderator
  • Hero Member
  • *
  • Posts: 1972
  • Me and my baby
    • Web Developer
Re: checkout changes look and looses drop down menu in ssl
« Reply #4 on: March 06, 2010, 03:53:16 am »
1. Are you getting an error asking you whether you want o view the secure and non-secure items when visiting https?

2. Did you turn off Cache settings in config and cache plugin.

3. Have you tried another template to see if the same problem exist in one of the default Joomla template?

4. Is GZip off for now?


Jamesbotanical

  • Beginner
  • *
  • Posts: 8
Re: checkout changes look and looses drop down menu in ssl
« Reply #5 on: March 09, 2010, 02:22:09 am »
No error message.
Cache set to no
Plugin  cache disabled
3 other templates show same
Gzip is off.

I am thinking that somewhere there is a config file that needs to know about the ssl but I am not sure where to look. 
Everything looks and works great when I do not run the checkout through the ssl.

Jamesbotanical

  • Beginner
  • *
  • Posts: 8
Re: checkout changes look and looses drop down menu in ssl
« Reply #6 on: March 09, 2010, 03:05:54 am »
Forrest,

Maybe the following will be of help to you.

When not routing through the ssl this is the url of the checkout cart
http://wildwoodbotanicals.net/index.php?page=checkout.index&option=com_virtuemart&Itemid=1&redirected=1&Itemid=1

When routing through ssl this is the url of checkout cart
https://secure-cart.net/~wildwood/index.php?page=checkout.index&option=com_virtuemart&Itemid=1&cartReset=N&redirected=1&Itemid=1

Thanks for your help

Forrest

  • Global Moderator
  • Hero Member
  • *
  • Posts: 1972
  • Me and my baby
    • Web Developer
Re: checkout changes look and looses drop down menu in ssl
« Reply #7 on: March 09, 2010, 06:58:13 am »
Easy, the secure URL you have specified in Virtumart admin config is wrong. Check it.

Jamesbotanical

  • Beginner
  • *
  • Posts: 8
Re: checkout changes look and looses drop down menu in ssl
« Reply #8 on: March 09, 2010, 19:39:26 pm »
I wish it was that easy.

The shared ssl server is
https://secure-cart.net/~wildwood/

This is what is set in the
/home/wildwood/public_html/administrator/components/com_virtuemart/virtuemart.cfg.php

If I change this name by say dropping the / I get a 404 error.

I would think that if I had the server name incorrect I would get a 404 error.

When I have the above server name in correctly I do get the checkout page but I do not get the theme styling for it.  So for some reason the css stylsheet is not loading.

Forrest

  • Global Moderator
  • Hero Member
  • *
  • Posts: 1972
  • Me and my baby
    • Web Developer
Re: checkout changes look and looses drop down menu in ssl
« Reply #9 on: March 10, 2010, 02:16:05 am »
Did you turn off GZIP then, and are you using caching?

Jamesbotanical

  • Beginner
  • *
  • Posts: 8
Re: checkout changes look and looses drop down menu in ssl
« Reply #10 on: March 10, 2010, 19:24:06 pm »
gzip is off
no caching

Forrest

  • Global Moderator
  • Hero Member
  • *
  • Posts: 1972
  • Me and my baby
    • Web Developer
Re: checkout changes look and looses drop down menu in ssl
« Reply #11 on: March 10, 2010, 20:43:28 pm »
I went to look at your site to view the issue, but you have the "site is down for maintenance".

Jamesbotanical

  • Beginner
  • *
  • Posts: 8
Re: checkout changes look and looses drop down menu in ssl
« Reply #12 on: March 26, 2010, 00:02:08 am »
Turns out that best fix was to just purchase a ssl cert and not try to use the shared ssl. 
Forrest thanks for all of your suggestions.

Forrest

  • Global Moderator
  • Hero Member
  • *
  • Posts: 1972
  • Me and my baby
    • Web Developer
Re: checkout changes look and looses drop down menu in ssl
« Reply #13 on: March 26, 2010, 00:05:26 am »
Glad you got it!

VirtueMart Forum

Re: checkout changes look and looses drop down menu in ssl
« Reply #13 on: March 26, 2010, 00:05:26 am »