nayll Posted March 7, 2014 Share Posted March 7, 2014 OK, so I'm getting the shopping cart ironed out. PS 1.5.6.1 dedicated IP, dedicated SSL cert SSL cert installed and tests all good by independant 3rd party even made a real purchase through checkout and authorize.net. etc.etc. no green padlock but a grey exclimation point on any https page (account-checkout). not good. I finally find this awesome site http://www.whynopadlock.com/ I test the first page of the checkout and this is what it returned, 22 unsecure calls. I've looked into many files mentioned and they all seem to have relitive image calls but stuff like google fonts are listed. any ideas on how to get a green padlock without having to wade through every line of code in dozens of files? major f'n pain Domain Name: nayll.comURL Tested: https://nayll.com/order?step=1Number of items downloaded on page: 167 Valid Certificate found. Certificate valid through: Jan 13 16:33:17 2015 GMTCertificate Issuer: GeoTrust, Inc. Total number of items: 167Number of insecure items: 22Insecure URL: http://fonts.googleapis.com/css?family=Playfair+DisplayFound in: https://nayll.com/order?step=1Insecure URL: http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300Found in: https://nayll.com/order?step=1Insecure URL: http://fonts.googleapis.com/css?family=Open+SansFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/blockviewed/blockviewed.cssFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/blockspecials/blockspecials.cssFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/blockuserinfo/blockuserinfo.cssFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/blockmyaccountfooter/blockmyaccount.cssFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/favoriteproducts/favoriteproducts.cssFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/blocknewsletter/blocknewsletter.cssFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/productcomments/productcomments.cssFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/productscategory/productscategory.cssFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/blockcms/blockcms.cssFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/blockcart/blockcart.cssFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/blocklanguages/blocklanguages.cssFound in: https://nayll.com/order?step=1Insecure URL: http://nayll.com/themes/theme474/css/modules/blocktopmenu/css/superfish-modified.cssFound in: https://nayll.com/order?step=1Insecure URL: http://themes.googleusercontent.com/static/fonts/playfairdisplay/v8/2NBgzUtEeyB-Xtpr9bm1Cczai8e7xzqnKiVb1EwOy0E.ttfFound in: http://fonts.googleapis.com/css?family=Playfair+DisplayInsecure URL: http://themes.googleusercontent.com/static/fonts/opensanscondensed/v7/gk5FxslNkTTHtojXrkp-xD1GzwQ5qF9DNzkQQVRhJ4g.ttfFound in: http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300Insecure URL: http://themes.googleusercontent.com/static/fonts/opensans/v8/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttfFound in: http://fonts.googleapis.com/css?family=Open+SansInsecure URL: http://nayll.com/themes/theme474/img/bg_form_h3.pngFound in: https://nayll.com/themes/theme474/css/global.cssInsecure URL: http://nayll.com/themes/theme474/img/icon/info.pngFound in: https://nayll.com/themes/theme474/css/global.cssInsecure URL: http://nayll.com/themes/theme474/img/bg_bt_compare.gifFound in: https://nayll.com/themes/theme474/css/global.cssInsecure URL: http://nayll.com/themes/theme474/img/bg_input.pngFound in: https://nayll.com/themes/theme474/css/global.css Link to comment Share on other sites More sharing options...
NemoPS Posted March 7, 2014 Share Posted March 7, 2014 It's because of the theme you use. You need to change all the occurrences of $base_dir to $base_dir_ssl in the template files, by searching the insecure files. Link to comment Share on other sites More sharing options...
nayll Posted March 7, 2014 Author Share Posted March 7, 2014 OK, i tried to find that code string in the global.css file of the theme, it was nowhere to be found. or in any .php .tpl.css file in the root folder of the third party theme using GREP 2.3 to search the text string "$base_dir" nothing anywhere in any of those files. So I tried to just manually change some of the offending image files in global.css. the image references were written with relative link in the global.css which should not have been a problem So I hard coded the last 4 image references in global.css anyway that the test said were insecure. This was the typical relitive path ../img/bg_form_h3.png etc. etc. etc. changed them to https://nayll.com/themes/theme474/img/bg_form_h3.png etc. etc. etc. cleared SMARTY cache But the test still came back with http path Insecure URL: http://nayll.com/themes/theme474/img/bg_form_h3.pngFound in: https://nayll.com/themes/theme474/css/global.css Insecure URL: http://nayll.com/themes/theme474/img/bg_form_h3.pngFound in: https://nayll.com/themes/theme474/css/global.css Insecure URL: http://nayll.com/themes/theme474/img/icon/info.pngFound in: https://nayll.com/themes/theme474/css/global.css Insecure URL: http://nayll.com/themes/theme474/img/bg_bt_compare.gifFound in: https://nayll.com/themes/theme474/css/global.css Insecure URL: http://nayll.com/themes/theme474/img/bg_input.pngFound in: https://nayll.com/themes/theme474/css/global.css what is also weird is that the test says these .css files are insecure but when i look into them they are 0kb and empty files in their respective folders? Insecure URL: http://nayll.com/themes/theme474/css/modules/blockviewed/blockviewed.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://nayll.com/themes/theme474/css/modules/blockspecials/blockspecials.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://nayll.com/themes/theme474/css/modules/blockuserinfo/blockuserinfo.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://nayll.com/themes/theme474/css/modules/blockmyaccountfooter/blockmyaccount.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://nayll.com/themes/theme474/css/modules/favoriteproducts/favoriteproducts.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://nayll.com/themes/theme474/css/modules/blocknewsletter/blocknewsletter.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://nayll.com/themes/theme474/css/modules/productcomments/productcomments.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://nayll.com/themes/theme474/css/modules/productscategory/productscategory.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://nayll.com/themes/theme474/css/modules/blockcms/blockcms.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://nayll.com/themes/theme474/css/modules/blockcart/blockcart.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://nayll.com/themes/theme474/css/modules/blocklanguages/blocklanguages.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://nayll.com/themes/theme474/css/modules/blocktopmenu/css/superfish-modified.cssFound in: https://nayll.com/login?back=my-account any other ideas???? Link to comment Share on other sites More sharing options...
NemoPS Posted March 8, 2014 Share Posted March 8, 2014 No base_dir? That's weird, there should be a couple at least. If you can't find them in any tpl file of the default theme, for sure the search is not working as it should, as there are some occurrences! Link to comment Share on other sites More sharing options...
nayll Posted March 8, 2014 Author Share Posted March 8, 2014 Yes there were a dozen or so, the GREP search did not like the $ in front of the string. Found all of them in the theme474, changed all of them, uploaded, recompiled, nothing changed, all the same insecure errors.??? I gave all the offending images an https: path, didn't fix those errors The order page makes all these calls to module .css files that are 0kb (empty) How could these files be empty?? all of them in the theme474/css/modules/... empty css files any ideas, I'm totally out of them! jh Link to comment Share on other sites More sharing options...
nayll Posted March 10, 2014 Author Share Posted March 10, 2014 any input?, I'm still scratching my head. jh Link to comment Share on other sites More sharing options...
NemoPS Posted March 10, 2014 Share Posted March 10, 2014 Some files might be empty, because it's sometimes necessary to override core css rules with empty file and prevent the default styles to take over the custom ones So you still get insecure errors? On which images/files? Link to comment Share on other sites More sharing options...
nayll Posted March 10, 2014 Author Share Posted March 10, 2014 this is the list, it is basically the same for all the https: pages in presta. Total number of items: 158Number of insecure items: 23 was able to knock it down to 15 bad items, the stuff that is crossed out is what went away. these are fonts called, found them, gave them a https and they went awayInsecure URL: http://fonts.googleapis.com/css?family=Playfair+DisplayFound in: https://nayll.com/login?back=my-accountInsecure URL: http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300Found in: https://nayll.com/login?back=my-accountInsecure URL: http://fonts.googleapis.com/css?family=Open+SansFound in: https://nayll.com/login?back=my-account These are all empty .css files, not sure how to tackle these, they keep coming up as insecure!Insecure URL: http://nayll.com/themes/theme474/css/modules/blockviewed/blockviewed.cssFound in: https://nayll.com/login?back=my-accountInsecure URL: http://nayll.com/themes/theme474/css/modules/blockspecials/blockspecials.cssFound in: https://nayll.com/login?back=my-accountInsecure URL: http://nayll.com/themes/theme474/css/modules/blockuserinfo/blockuserinfo.cssFound in: https://nayll.com/login?back=my-accountInsecure URL: http://nayll.com/themes/theme474/css/modules/blockmyaccountfooter/blockmyaccount.cssFound in: https://nayll.com/login?back=my-accountInsecure URL: http://nayll.com/themes/theme474/css/modules/favoriteproducts/favoriteproducts.cssFound in: https://nayll.com/login?back=my-accountInsecure URL: http://nayll.com/themes/theme474/css/modules/blocknewsletter/blocknewsletter.cssFound in: https://nayll.com/login?back=my-accountInsecure URL: http://nayll.com/themes/theme474/css/modules/productcomments/productcomments.cssFound in: https://nayll.com/login?back=my-account somehow this one below went awayInsecure URL: http://nayll.com/themes/theme474/css/modules/productscategory/productscategory.cssFound in: https://nayll.com/login?back=my-accountInsecure URL: http://nayll.com/themes/theme474/css/modules/blockcms/blockcms.cssFound in: https://nayll.com/login?back=my-accountInsecure URL: http://nayll.com/themes/theme474/css/modules/blockcart/blockcart.cssFound in: https://nayll.com/login?back=my-accountInsecure URL: http://nayll.com/themes/theme474/css/modules/blocklanguages/blocklanguages.cssFound in: https://nayll.com/login?back=my-accountInsecure URL: http://nayll.com/themes/theme474/css/modules/blocktopmenu/css/superfish-modified.cssFound in: https://nayll.com/login?back=my-account Insecure URL: http://themes.googleusercontent.com/static/fonts/playfairdisplay/v8/2NBgzUtEeyB-Xtpr9bm1Cczai8e7xzqnKiVb1EwOy0E.ttfFound in: http://fonts.googleapis.com/css?family=Playfair+DisplayInsecure URL: http://themes.googleusercontent.com/static/fonts/opensanscondensed/v7/gk5FxslNkTTHtojXrkp-xD1GzwQ5qF9DNzkQQVRhJ4g.ttfFound in: http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300Insecure URL: http://themes.googleusercontent.com/static/fonts/opensans/v8/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttfFound in: http://fonts.googleapis.com/css?family=Open+Sans Found these and I have already edited them to be https: but most still come up this way as insecure!Insecure URL: http://nayll.com/themes/theme474/img/bg_form_h3.pngFound in: https://nayll.com/themes/theme474/css/global.cssInsecure URL: http://nayll.com/themes/theme474/img/bg_form_h3.pngFound in: https://nayll.com/themes/theme474/css/global.cssInsecure URL: http://nayll.com/themes/theme474/img/icon/info.pngFound in: https://nayll.com/themes/theme474/css/global.cssInsecure URL: http://nayll.com/themes/theme474/img/bg_bt_compare.gifFound in: https://nayll.com/themes/theme474/css/global.cssInsecure URL: http://nayll.com/themes/theme474/img/bg_input.pngFound in: https://nayll.com/themes/theme474/css/global.css Link to comment Share on other sites More sharing options...
nayll Posted March 12, 2014 Author Share Posted March 12, 2014 SOLVED, developer finally took care of it, don't know what they did though. Link to comment Share on other sites More sharing options...
magpole Posted December 24, 2014 Share Posted December 24, 2014 I fixed the error on computer by adding the "true" in blocksearch-top.tpl . But don't know how to fix the mobile side. Although, I did same thing in blocksearch-top.tpl under mobile theme. Using: prestashop 1.4.11 mobile theme module by prestashop Please help Thanks 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