Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2008
    Posts
    44
    Plugin Contributions
    0

    application error search box now appearing as non SSL causing warning from Chrome

    Hello,

    My checkout pages have been fine for years and now suddenly Chrome is giving warnings on secure pages that all of the page is fine except for the form submission of the search side box. Here is the warning;

    The page at 'https://www.mysite.com/store/index.php?main_page=checkout_payment' was loaded over HTTPS, but is submitting data to an insecure location at 'http://www.mysite.com/store/index.php?main_page=advanced_search_result': this content should also be submitted over HTTPS.

    Any help on how to resolve this would be great as I have searched for hours and am lost

    Thanks!

  2. #2
    Join Date
    Dec 2008
    Posts
    44
    Plugin Contributions
    0

    Default Re: search box now appearing as non SSL causing warning from Chrome

    Found the answer myself
    $content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', $request_type, false), 'get');

    works fine now

  3. #3
    Join Date
    Mar 2007
    Posts
    224
    Plugin Contributions
    6

    Default Re: search box now appearing as non SSL causing warning from Chrome

    Quote Originally Posted by wootoot1234 View Post
    Found the answer myself
    $content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', $request_type, false), 'get');

    works fine now

    Thanks for the heads up, i can across this error myself by accident and this response ranked well in google.
    To further help others the file is :

    /public_html/includes/templates/YOUR_TEMPLATE/sideboxes/tpl_search_header.php

    change this

    Code:
    $content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get');

    for above.

    Was present in my 1.5 version


  4. #4
    Join Date
    Mar 2007
    Posts
    224
    Plugin Contributions
    6

    Default Re: search box now appearing as non SSL causing warning from Chrome

    i also had to change my template as i had a "buy both now" button

    tpl_shopping_cart_default.php
    from
    Code:
    $action = zen_href_link(zen_get_info_page((int)$product['id']),  zen_get_all_get_params(array('action')) .  'action=multiple_products_add_product');
    to:

    Code:
    $action = zen_href_link(zen_get_info_page((int)$product['id']), zen_get_all_get_params(array('action')) . 'action=multiple_products_add_product',$request_type);
    to get rid of that ssl error too.
    Last edited by Calljj; 22 Feb 2015 at 06:01 PM. Reason: info

 

 

Similar Threads

  1. v151 SSL warning in Chrome
    By jeking in forum General Questions
    Replies: 6
    Last Post: 24 Nov 2014, 10:56 PM
  2. v150 coding appearing in Advanced Search Box
    By irishshopper in forum Addon Templates
    Replies: 4
    Last Post: 9 Sep 2014, 11:13 PM
  3. SSL warning in Chrome
    By alexsmith2709 in forum General Questions
    Replies: 13
    Last Post: 11 Nov 2011, 04:53 AM
  4. Search box and Chrome
    By robbie269 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Feb 2011, 07:39 AM
  5. Blank Page in SSL and secure/non warning
    By jimmersd in forum General Questions
    Replies: 11
    Last Post: 29 Jan 2009, 12:17 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR