HETPE3B Posted January 18, 2016 Share Posted January 18, 2016 (edited) Insecure <form> call. Found on line # 8 in file: bestpixelrepair.com/order This is line 8 from source. My guess (however I understand nothing from this) is that link shown below in the quote for the search is not shown as https, but as http. May be I'm wrong. But if not - please let me know how to update it writeBookmarkLink('https://bestpixelrepair.com/order','Order - Best Pixel Repair','bookmark');/* ]]> */</script></li></ul><div id="header_user"><p id="header_user_info"> Welcome, <a href="https://bestpixelrepair.com/my-account">Log in</a></p><ul id="header_nav"><li id="shopping_cart"> <a href="https://bestpixelrepair.com/order" title="Your Shopping Cart">Cart:</a> <span class="ajax_cart_quantity hidden">0</span> <span class="ajax_cart_product_txt hidden">product</span> <span class="ajax_cart_product_txt_s hidden">products</span> <span class="ajax_cart_total hidden"> $0.00 </span> <span class="ajax_cart_no_product">(empty)</span></li><li id="your_account"><a href="https://bestpixelrepair.com/my-account" title="Your Account">Your Account</a></li></ul></div><div id="search_block_top"><form action="http://www.bestpixelrepair.com/search" id="searchbox" method="get"><p> <label for="search_query_top"></label> <input type="hidden" name="orderby" value="position" /> <input type="hidden" name="orderway" value="desc" /> <input class="search_query" type="text" id="search_query_top" name="search_query" value="" /> <input type="submit" name="submit_search" value="Search" class="button" /></p></form></div><script type="text/javascript">/* <![CDATA[ */ Edited January 18, 2016 by HETPE3B (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted January 18, 2016 Share Posted January 18, 2016 Oh old default theme still in use :-) That should be from theme/prestashop/modules/blocksearch/blocksearch.tpl file. Try to edit or copy code here. Maybe change is from {$base_dir} to {$content_dir} or {$base_dir_ssl} Link to comment Share on other sites More sharing options...
HETPE3B Posted January 18, 2016 Author Share Posted January 18, 2016 (edited) Oh old default theme still in use :-) That should be from theme/prestashop/modules/blocksearch/blocksearch.tpl file. Try to edit or copy code here. Maybe change is from {$base_dir} to {$content_dir} or {$base_dir_ssl} Yes, like it a lot Will give it a try right now. Here is a blocksearch.tpl {* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 6989 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!-- Block search module --> <div id="search_block_left" class="block exclusive"> <h4>{l s='Search' mod='blocksearch'}</h4> <form method="get" action="{$link->getPageLink('search.php', true)}" id="searchbox"> <p class="block_content"> <label for="search_query_block">{l s='Enter a product name' mod='blocksearch'}</label> <input type="hidden" name="orderby" value="position" /> <input type="hidden" name="orderway" value="desc" /> <input class="search_query" type="text" id="search_query_block" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" /> <input type="submit" id="search_button" class="button_mini" value="{l s='go' mod='blocksearch'}" /> </p> </form> </div> {if $instantsearch} <script type="text/javascript"> // <![CDATA[ {literal} function tryToCloseInstantSearch() { if ($('#old_center_column').length > 0) { $('#center_column').remove(); $('#old_center_column').attr('id', 'center_column'); $('#center_column').show(); return false; } } instantSearchQueries = new Array(); function stopInstantSearchQueries(){ for(i=0;i<instantSearchQueries.length;i++) { instantSearchQueries[i].abort(); } instantSearchQueries = new Array(); } $("#search_query_block").keyup(function(){ if($(this).val().length > 0){ stopInstantSearchQueries(); instantSearchQuery = $.ajax({ url: '{/literal}{if $search_ssl == 1}{$link->getPageLink('search.php', true)}{else}{$link->getPageLink('search.php')}{/if}{literal}', data: 'instantSearch=1&id_lang={/literal}{$cookie->id_lang}{literal}&q='+$(this).val(), dataType: 'html', success: function(data){ if($("#search_query_block").val().length > 0) { tryToCloseInstantSearch(); $('#center_column').attr('id', 'old_center_column'); $('#old_center_column').after('<div id="center_column">'+data+'</div>'); $('#old_center_column').hide(); $("#instant_search_results a.close").click(function() { $("#search_query_block").val(''); return tryToCloseInstantSearch(); }); return false; } else tryToCloseInstantSearch(); } }); instantSearchQueries.push(instantSearchQuery); } else tryToCloseInstantSearch(); }); // ]]> {/literal} </script> {/if} {if $ajaxsearch} <script type="text/javascript"> // <![CDATA[ {literal} $('document').ready( function() { $("#search_query_block") .autocomplete( '{/literal}{if $search_ssl == 1}{$link->getPageLink('search.php', true)}{else}{$link->getPageLink('search.php')}{/if}{literal}', { minChars: 3, max: 10, width: 500, selectFirst: false, scroll: false, dataType: "json", formatItem: function(data, i, max, value, term) { return value; }, parse: function(data) { var mytab = new Array(); for (var i = 0; i < data.length; i++) mytab[mytab.length] = { data: data[i], value: data[i].cname + ' > ' + data[i].pname }; return mytab; }, extraParams: { ajaxSearch: 1, id_lang: {/literal}{$cookie->id_lang}{literal} } } ) .result(function(event, data, formatted) { $('#search_query_block').val(data.pname); document.location.href = data.product_link; }) }); {/literal} // ]]> </script> {/if} <!-- /Block search module --> Edited January 18, 2016 by HETPE3B (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted January 19, 2016 Share Posted January 19, 2016 That looks ok. It is from theme folder right? Check maybe this solution https://www.prestashop.com/forums/topic/355246-solved-quick-search-block-module-provokes-unsecure-ssl/?p=1822531 Link to comment Share on other sites More sharing options...
HETPE3B Posted January 19, 2016 Author Share Posted January 19, 2016 (edited) That looks ok. It is from theme folder right? Check maybe this solution https://www.prestashop.com/forums/topic/355246-solved-quick-search-block-module-provokes-unsecure-ssl/?p=1822531 I'm a little confused, because in "themes/prestashop" folder I do not have "modules" folder. I was coming over through your link before, but I think I don't have "use SSL on whole website" option. I'm running 1.4.6.2 Edited January 19, 2016 by HETPE3B (see edit history) Link to comment Share on other sites More sharing options...
HETPE3B Posted January 20, 2016 Author Share Posted January 20, 2016 heeeelp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now