Results 1 to 10 of 86

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    21
    Plugin Contributions
    0

    Idea or Suggestion Re: Installing SSL trust logos (IE6 Fix!)

    I ran into the same problem discussed in this thread about the Comodo TrustLogo not working in IE6. (In summary, the mouseover popup looks weird on non-SSL pages and you get an error on SSL pages.)

    I created a test page with nothing but the logo on it and it worked fine. So I started adding bits of Zen Cart until I was able to break it. It didn't take long.

    This is the problem:
    Code:
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
    Or, to complicate things a bit less:
    Code:
    <base href="https://www.mysite.com" />
    I opened a ticket with their tech department who got back to me the next day with the info that IE6 doesn't like the base tag written that way. The simple fix was rewriting the tag like so:
    Code:
    <base href="https://www.mysite.com"></base>
    Everything works fine now!

    I'm an encyclopedia of browser quirks (I've been coding since back around NS2 days... (where is that smiley for feeling old? :-) and I had no idea about this one. I'd like to publicly state how impressed I am that they DID know about this and were able to help me so quickly. I asked them to add the issue to their knowledgebase.


  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Installing SSL trust logos

    If that were the case then there would be issues across the board since thats how all of zencarts links are created

    but on the bright side its kool that you got it to work
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Mar 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Installing SSL trust logos

    Quote Originally Posted by Merlinpa1969 View Post
    If that were the case then there would be issues across the board since thats how all of zencarts links are created
    I use IE6 for development and testing and haven't noticed any problems with anything else in the cart. Just some combination of writing the base href tag that way (without a separate closing tag) and the TrustLogo code Comodo uses was causing the logo popup not to work right. No idea...

  4. #4
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,374
    Plugin Contributions
    4

    Default Re: Installing SSL trust logos

    Are you saying that line 39 in html_header.php:
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
    should be re-written as:
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>"></base>
    And that would solve the hover issues on SSL of IE6?

  5. #5
    Join Date
    Mar 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Installing SSL trust logos

    Quote Originally Posted by ckosloff View Post
    Are you saying that line 39 in html_header.php:
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
    should be re-written as:
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>"></base>
    And that would solve the hover issues on SSL of IE6?
    That would be it, yes.

  6. #6
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,374
    Plugin Contributions
    4

    Default Re: Installing SSL trust logos

    I'm asking because I can only test it live, and I would have to uninstall Corner of Trust and re-install the contrib to test it, everything on the live site.
    However, if you have tested it and it works, I will give you credit for the fix and publish an updated version of the contrib.
    BTW, strange that Comodo came up with the fix immediately.
    My ticket has been open and on hold for weeks now.
    Maybe they don't like me, I pestered them too much on this issue.

  7. #7
    Join Date
    Mar 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Installing SSL trust logos

    Quote Originally Posted by ckosloff View Post
    I'm asking because I can only test it live, and I would have to uninstall Corner of Trust and re-install the contrib to test it, everything on the live site.
    I'm not using the contrib, I just installed the logo using Comodo's instructions, so I'm not sure what the issues are there. You shouldn't have to do anything to the Comodo code itself, though, just add a closing base tag in the Zen Cart header. Comodo didn't do anything except tell me to add that, so it wasn't really them coming up with a fix, it was just them telling me what I needed to fix.

    As far as the speed of the response, maybe it was because I determined that it was being caused by the base tag? If I'd just gone in and said their logo wasn't working on Zen Cart, they'd have no idea where to begin, probably.

 

 

Similar Threads

  1. v150 comodo trust logo results in SSL hyperlink
    By Meepy12 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Dec 2012, 11:37 PM
  2. custom sidebox, i.e. perhaps for SSL or trust seal
    By rowanwa in forum Basic Configuration
    Replies: 33
    Last Post: 5 Jan 2010, 04:58 PM
  3. Bluehost domains, SSL and customer trust.
    By VioletEye in forum General Questions
    Replies: 4
    Last Post: 29 Mar 2009, 08:04 AM
  4. Installing SSL logos
    By rajeev83 in forum General Questions
    Replies: 19
    Last Post: 28 Dec 2008, 01:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg