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!
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
Re: search box now appearing as non SSL causing warning from Chrome
Quote:
Originally Posted by
wootoot1234
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
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.