Re: SSL warning in Chrome
Quote:
Originally Posted by
jeking
So I noticed on SSL pages on one of my sites, Chrome would show the X through the https in the address bar. No such issue in FF or IE.
After digging around, it turns out Chrome does not like the form action for the advanced search in the header,
action="http://www.mysite.com/index.php?main_page=advanced_search_result
The fix I employed was editing
/includes/templates/MY_TEMPLATE/templates/tpl_search_header.php
I change line 14 from:
$content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get');
to:
$content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'SSL', false), 'get');
Feel free to chime in if there is a better way to go about this, but wanted to share in case others saw this same error or never noticed it in the first place.
What if instead of either 'SSL' or 'NONSSL' instead the variable $request_type was used?
Re: SSL warning in Chrome
That's a better approach than I had. Thanks for the suggestion.
Re: SSL warning in Chrome
Quote:
Originally Posted by
jeking
That's a better approach than I had. Thanks for the suggestion.
Glad it worked out!
Re: SSL warning in Chrome
Quote:
Originally Posted by
mc12345678
Glad it worked out!
I'm having the same issue. Can you explain how the line of code should be written with the variable "$request_type" used? Thanks.
Re: SSL warning in Chrome
$content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', $request_type, false), 'get');
If that doesn't do it, there may be something else causing the warning. If so, post your url.
Re: SSL warning in Chrome
Quote:
Originally Posted by
jeking
$content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', $request_type, false), 'get');
If that doesn't do it, there may be something else causing the warning. If so, post your url.
Thanks,