barrystein Posted March 19, 2016 Share Posted March 19, 2016 On Chrome.The lock does not appear on my https pages - nor the green coloration I have a valid EV SSL Certificate... Why isn't my lock and green security color showing. Customers think my website is not secure. IE and Firefox work fine.... I am running Prestashop 1.5.4.1 using PHP version: 5.2.17 MySQL version: 5.5.42-37.1-log https://www.homeschool-shelf.com Link to comment Share on other sites More sharing options...
jetx Posted March 20, 2016 Share Posted March 20, 2016 If you click on the folder icon in chrome to the left of https you'll see the reason you're having issues. Link to comment Share on other sites More sharing options...
jetx Posted March 20, 2016 Share Posted March 20, 2016 In addition to that message, go to dev tools in Chrome to see insecure content warnings. Link to comment Share on other sites More sharing options...
barrystein Posted March 22, 2016 Author Share Posted March 22, 2016 In addition to that message, go to dev tools in Chrome to see insecure content warnings. Here are the errors that Chrome is reporting: How do I correct them.... Mixed Content: The page at 'https://www.homeschool-shelf.com/en/order' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://www.homeschool-shelf.com/en/search'. This endpoint should be made available over a secure connection. order:112 Mixed Content: The page at 'https://www.homeschool-shelf.com/en/order' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://www.homeschool-shelf.com/en/'. This endpoint should be made available over a secure connection. LoginRadius.1.0.js:3 [LoginRadius - Initializing login interface.] Arguments[1] LoginRadius.1.0.js:3 [LoginRadius - Initializing login interface.] Arguments[1] LoginRadius.1.0.js:3 [LoginRadius - Initializing login interface.] Arguments[1] LoginRadius.1.0.js:3 [LoginRadius - Initializing login interface.] Arguments[1] LoginRadius.1.0.js:3 [LoginRadius - Initializing login interface.] Arguments[1] LoginRadius.1.0.js:3 [LoginRadius - Initializing login interface.] Arguments[1] LoginRadius.1.0.js:3 [LoginRadius - Initializing login interface.] Arguments[1] cdn.loginradius.com/interface/json/985a207f-bf4b-4785-bc4a-93955cf35326.json?callback=loginRadiusAppJsonLoaded:1 Uncaught ReferenceError: loginRadiusAppJsonLoaded is not defined ping:1 Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains. Link to comment Share on other sites More sharing options...
bellini13 Posted March 22, 2016 Share Posted March 22, 2016 search the forum, these issues have already been addressed numerous times. Link to comment Share on other sites More sharing options...
barrystein Posted March 22, 2016 Author Share Posted March 22, 2016 (edited) search the forum, these issues have already been addressed numerous times. I applied the fixes as shown below but still getting the same errors.... I have Template cache set to: Recompile templates if the files have been updated so I assume that recompiling is not the issue...... https://www.prestashop.com/forums/topic/346307-chrome-ssl-error/page-2 Hi, I was having same issue and resolved with changes as mentioned below. Hope it works for you guys. To resolve this do following steps. 1. open blocksearch-top.tpl find this code <form id="searchbox" method="get" action="{$link->getPageLink('search')|escape:'html':'UTF-8'}" > and replace with <form id="searchbox" method="get" action="{$link->getPageLink('search', true)|escape:'html':'UTF-8'}" > 2. open blocknewsletter.tpl find code <form action="{$link->getPageLink('index')|escape:'html':'UTF-8'}" method="post"> and replace with <form action="{$link->getPageLink('index', true)|escape:'html':'UTF-8'}" method="post"> Edited March 22, 2016 by barrystein (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted March 22, 2016 Share Posted March 22, 2016 you have 2 forms on your home page that are using http the first is the search box, likely from a module, and perhaps overriden by your theme. so exactly what file to you edit? <form action="http://www.homeschool-shelf.com/en/search" id="searchbox" method="get"> the second is the newsletter signup, again likely from a module, and perhaps overriden by your theme. so exactly what file to you edit? <form action="http://www.homeschool-shelf.com/en/" method="post"> Link to comment Share on other sites More sharing options...
barrystein Posted March 22, 2016 Author Share Posted March 22, 2016 For the first one I edited blocksearch-top.tpl For the second one I edited blocknewsletter.tpl Link to comment Share on other sites More sharing options...
bellini13 Posted March 22, 2016 Share Posted March 22, 2016 that is the file name, and that file name can exist in the modules folder or your themes folder. which is why I specifically asked exactly which file you changed... Link to comment Share on other sites More sharing options...
barrystein Posted March 22, 2016 Author Share Posted March 22, 2016 I changed the files in the modules folder.... Link to comment Share on other sites More sharing options...
barrystein Posted March 22, 2016 Author Share Posted March 22, 2016 I did manage to get rid of only 1 of the errors, but I still can't get rid of the second. I am still having a problem with /themes/default/modules/blocksearch/blocksearch.tpl I don't see a file in that directory called blocksearch-top.tpl the blocksearch.tpl file looks fine <!-- Block search module --> <div id="search_block_left" class="block exclusive"> <p class="title_block">{l s='Search' mod='blocksearch'}</p> <form method="get" action="{$link->getPageLink('/search',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="controller" value="search" /> <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> {include file="$self/blocksearch-instantsearch.tpl"} <!-- /Block search module --> I did manage to rid of one of the errors by editing /themes/default/modules/blocknewsletter/blocknewsletter.tpl I changed <form action="{$link->getPageLink('index')}" method="post"> to <form action="{$link->getPageLink('index', true)}" method="post"> Link to comment Share on other sites More sharing options...
barrystein Posted March 23, 2016 Author Share Posted March 23, 2016 I solved this problem, thanks to everyone's help. I don't know how to mark the topic as solved thought The most helpful post in the forum I found was: https://www.prestashop.com/forums/topic/355246-solved-quick-search-block-module-provokes-unsecure-ssl/ Here was my solution: For the block search SSL error I made the following changes: modules/blocksearch/blocksearch-top.tpl I changed the following line in two places <form method="get" action="{$link->getPageLink('search')}" id="searchbox"> chagned to <form method="get" action="{$link->getPageLink('/search',true)}" id="searchbox"> To fix the blocknewsletter SSL Error I made the following changes /themes/default/modules/blocknewsletter/blocknewsletter.tpl I changed <form action="{$link->getPageLink('index')}" method="post"> to <form action="{$link->getPageLink('index', true)}" method="post"> This works for 1.5.4.1 default theme 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