sye1993 Posted January 26, 2017 Share Posted January 26, 2017 (edited) 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: 130Number of insecure items: 2 Insecure URL: http://xxx.com/themes/shine/img/shine/search-icon.pngFound in: https://xxx.com/index.php Insecure URL: http://xxx.com/img/p/'+%20data.id_product%20+'-small_default.jpgFound 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 January 26, 2017 by sye1993 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 26, 2017 Share Posted January 26, 2017 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 More sharing options...
sye1993 Posted January 26, 2017 Author Share Posted January 26, 2017 Thank you for helping. But actually most of the files are loaded via https and the whole website is directed/loaded via https. it is americasignage.com 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