Jump to content

Prestashop 1.6.0.8 & 1.6.0.9 Unsecure HTTPS FIX


Recommended Posts

Hi Community  :) , 

 

I have found that if you install Prestashop 1.6.0.8 or 1.6.0.9 and use SSL (Geotrust not shared)

you get in chrome or other browsers firefox IE a unsecure SSL notification.

 

Ki6hnr.png

 

the modules which causes this issure are

 

blocksearch(blocksearch-top.tpl)

and

blocknewsletter (blocknewsletter.tpl)

 

this line causes the error in every tpl file.

 

<form method="get" action="{$link->getPageLink('search')|escape:'html'}" id="searchbox">
.
.
.
</form>

 

 

the https is no longer unsecure if i remove this lines ,but what is exactly wrong with this line. ? :unsure:

 

how can i change this line that the getPage link method get the right https link ?

 

am not a php expert  :D

 

 

 

Devil

Link to comment
Share on other sites

This seems to be a Chrome only problem and it has been around for a while. Try this, 

 

I had to change

<form method="get" action="{$link->getPageLink('search')}" id="searchbox">

 

To

<form method="get" action="{$link->getPageLink('/search',true)}" id="searchbox">

 

---------

 

See the difference ... the old is ('search')}"

 

The new is .... ('/search',true)}"

 

The ",true" allows for SSL.

Link to comment
Share on other sites

×
×
  • Create New...