Page 9 of 10 FirstFirst ... 78910 LastLast
Results 81 to 90 of 98
  1. #81
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Firefox SSL security warning

    Let us know what you discover ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #82
    Join Date
    Jul 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: Firefox SSL security warning

    Please help if you can.

    Chrome, Firefox, and Safari work fine, but when a customer logs into MyAccount with Internet Explorer the HTTPS error comes up and tells them it is not secure. It has to do with the blank sidebox linking to an outside site.

    Can someone please point me in the right direction? TY!

    Cindy

    http://store.burrellcolourimaging.com/

  3. #83
    Join Date
    Jul 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: Firefox SSL security warning

    I think I got it... just made the image SSL and it seems to be working. Thanks anyway! :)

  4. #84
    Join Date
    Jun 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Firefox SSL security warning

    I've added the following code to html_output.php in 'function zen_href_link' to fix the security warning issue with firefox etc. Just thought I would post it here for anyone else. Feedback/criticism/suggestions greatly appreciated!

    Code:
    function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
        global $request_type, $session_started, $http_domain, $https_domain;
    
    if($connection=='NONSSL' && $request_type=='SSL')
    {
    			
    	if( $page == FILENAME_ADVANCED_SEARCH_RESULT
    	|| $page == FILENAME_ADVANCED_SEARCH
    	|| $page == FILENAME_DEFAULT
    	|| $page == FILENAME_SHOPPING_CART)
    	{
    		$connection = $request_type;
    	}
    }
    
    ..rest of function is unchanged...
    -Fold

  5. #85
    Join Date
    Dec 2008
    Location
    Pittsburgh, PA
    Posts
    237
    Plugin Contributions
    1

    Default Re: Firefox SSL security warning

    Quote Originally Posted by fold View Post
    I've added the following code to html_output.php in 'function zen_href_link' to fix the security warning issue with firefox etc. Just thought I would post it here for anyone else. Feedback/criticism/suggestions greatly appreciated!

    Code:
    function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
        global $request_type, $session_started, $http_domain, $https_domain;
    
    if($connection=='NONSSL' && $request_type=='SSL')
    {
    			
    	if( $page == FILENAME_ADVANCED_SEARCH_RESULT
    	|| $page == FILENAME_ADVANCED_SEARCH
    	|| $page == FILENAME_DEFAULT
    	|| $page == FILENAME_SHOPPING_CART)
    	{
    		$connection = $request_type;
    	}
    }
    
    ..rest of function is unchanged...
    -Fold
    Although it seems to keep more pages secure than necessary, it seems to work for me. I prefer this over a faster site potentially perceived as insecure. Even if this code slows site performance I still think this is better. Thanks

  6. #86
    Join Date
    Oct 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Firefox SSL security warning

    Sorry but would you be able to explain a little more clearly what text needs to be replaced?

    At the minute in my: admin/includes/functions/html_output.php file for the text you have mentioned above I have:

    PHP Code:
    // The HTML href link wrapper function
      
    function zen_href_link($page ''$parameters ''$connection 'NONSSL'$add_session_id true) {
        global 
    $request_type$session_started$http_domain$https_domain;
        if (
    $page == '') {
          die(
    '</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine the page link!<br><br>Function used:<br><br>zen_href_link(\'' $page '\', \'' $parameters '\', \'' $connection '\')</b>');
        }

        if (
    $connection == 'NONSSL') {
          
    $link HTTP_SERVER DIR_WS_ADMIN;
        } elseif (
    $connection == 'SSL') {
          if (
    ENABLE_SSL_ADMIN == 'true') {
            
    $link HTTPS_SERVER DIR_WS_HTTPS_ADMIN;
          } else {
            
    $link HTTP_SERVER DIR_WS_ADMIN;
          }
        } else {
          die(
    '</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine connection method on a link!<br><br>Known methods: NONSSL SSL<br><br>Function used:<br><br>zen_href_link(\'' $page '\', \'' $parameters '\', \'' $connection '\')</b>');
        }
        if (!
    strstr($page'.php')) $page .= '.php';
        if (
    $parameters == '') {
          
    $link $link $page;
          
    $separator '?';
        } else {
          
    $link $link $page '?' $parameters;
          
    $separator '&';
        }

        while ( (
    substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link substr($link0, -1); 
    Where do I need to put the code that you mentioned in the above post?

    Thanks in advance.

    Graham.

  7. #87
    Join Date
    Nov 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Firefox SSL security warning

    Hi

    I have tried the fixes mentioned in this thread but am still getting the warning on Product Info Pages but not on All Products listing.

    When I first looked at the site this morning, I could not get the Create an Account page - it said Session had expired .... but about the third tome of trying it, it worked (without having made any changes.)

    I have recently changed hosts and changed to SSL.

    In IE, I am getting an empty cart when I add to cart. In Firefox I am getting a warning. I can add to cart from product listing pages but not from product info pages.

    Please please please ... can anyone help me?

    Thanks

    Gillian
    qualitygardenfurniture.com/store

  8. #88
    Join Date
    Apr 2006
    Posts
    413
    Plugin Contributions
    0

    Default Re: Firefox SSL security warning

    Quote Originally Posted by Ajeh View Post
    This is the change for the tpl_products_info_default.php ... you will need to take it from there or you can contact me privately for further di$cu$$ion$ on cu$tomizing your $ite ...
    Code:
    <?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product', $request_type), 'post', 'enctype="multipart/form-data"') . "\n"; ?>
    This was annoying me for most of the day, your post provided a solution. It apparently only happens if a visitor views a product, then logs in. It is returning to that product and adding to cart which generated the firefox warning. Thanks for the tip!

  9. #89
    Join Date
    Apr 2009
    Posts
    17
    Plugin Contributions
    0

    Default Re: Firefox SSL security warning

    Quote Originally Posted by Ajeh View Post
    This is the change for the tpl_product_info_display.php ... you will need to take it from there or you can contact me privately for further di$cu$$ion$ on cu$tomizing your $ite ...
    Code:
    <?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product', $request_type), 'post', 'enctype="multipart/form-data"') . "\n"; ?>

    Sorry wrong post
    Last edited by Ajeh; 6 May 2010 at 03:12 PM. Reason: fix filename reference tpl_product_info_display.php

  10. #90
    Join Date
    Apr 2009
    Posts
    17
    Plugin Contributions
    0

    Default Re: Firefox SSL security warning

    Quote Originally Posted by Ajeh View Post
    This is the change for the tpl_product_info_display.php ... you will need to take it from there or you can contact me privately for further di$cu$$ion$ on cu$tomizing your $ite ...
    Code:
    <?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product', $request_type), 'post', 'enctype="multipart/form-data"') . "\n"; ?>

    Ajeh,
    I have the same problem but cannot find the tpl_products_info_default.php to apply your fix. I'm using v1.3.8
    Please help. Thanx
    Last edited by Ajeh; 6 May 2010 at 03:12 PM. Reason: fix filename reference tpl_product_info_display.php

 

 
Page 9 of 10 FirstFirst ... 78910 LastLast

Similar Threads

  1. Suddenly getting SSL Security Warning
    By katco in forum General Questions
    Replies: 51
    Last Post: 11 Aug 2011, 04:32 PM
  2. SSL Security Warning IE8
    By feanix02 in forum General Questions
    Replies: 21
    Last Post: 16 Nov 2010, 02:22 AM
  3. SSL Security Warning
    By GTrotter in forum General Questions
    Replies: 11
    Last Post: 16 Jul 2009, 10:24 PM
  4. FireFox - Security Warning on Forms. HELP!
    By sartor in forum General Questions
    Replies: 8
    Last Post: 14 Feb 2009, 12:14 AM
  5. [NOT A BUG] Firefox SSL security warning
    By netbouy in forum Bug Reports
    Replies: 5
    Last Post: 28 Jan 2007, 05:19 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