Jump to content

SSL insecure why no padlock problem


sye1993

Recommended Posts

I recently installed https/ssl on our website, however, padlock sign missing because of this!

 

I used why no padlock to investigate, and here you go the results.

I know where the picture is but I just don't know where to change it to https.

(I changed one url successfully from http to https but not the picutures"

 

Please help me, I really need the padlock.

Below the results are the code of the website(where the error happens), if needed.

 

 

Total number of items: 130
Number of insecure items: 2

Insecure URL: http://xxx.com/themes/shine/img/shine/search-icon.png
Found in: https://xxx.com/index.php

Insecure URL: http://xxx.com/img/p/'+%20data.id_product%20+'-small_default.jpg
Found in: https://xxx.com/index.php   


// <![CDATA[
$(document).ready( function() {
            
$("#search_query_top")
.autocomplete(
'https://xxx.com/index.php?controller=search', {

minChars: 3,
max:10,
width: 500,
selectFirst: false,
scroll: false,
dataType: "json",
formatItem: function(data, i, max, value, term) {
return '<img src="https://xxx.com/img/p/'+ data.id_product +'-small_default.jpg" /><span>' + value+'</span>';
} ,
 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: 1
}               
                
                
		
}
)
.result(function(event, data, formatted) {
$('#search_query_top').val(data.pname);
document.location.href = data.product_link;
})
});
// ]]>
    
Edited by sye1993 (see edit history)
Link to comment
Share on other sites

without possibility to inspect the website it will be hard to help.

in simple words your website loads contents via http instead https, to fix this - in this case - it will be necessary to find the file that loads contents via http and change code to use https instead.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...