rafadn Posted November 27, 2011 Share Posted November 27, 2011 Hello everybody, First, I would like to thank PrestaShop and all the users that make ecommerce a wonderful experience! Then I would like to ask for a solution to a problem that I encountered. Please help me. My website is www.telmart.it. The problem is the following: After installing and then activating SSL in my website's backoffice I get the "Unsecure Content" message from all browsers because there are two links on my website that don't convert the URL from http to https. The two links causing this problem are two images of the theme, namely bg_footer.png and bg_columns.png. The following is from the source code of my website: #footer_wrapper { background: url("http://www.../themes/theme185/img/bg_columns.png") repeat scroll 0 0 transparent; } #footer { background: url("http://www.../themes/theme185/img/bg_footer.png") no-repeat scroll left bottom transparent; padding-left: 6px; padding-bottom: 50px; } I found the lines where the 2 images are in the global.css file: from line 1433: /* —————————————————————————————— footer styles —————————————————————————————— */ #footer_wrapper {clear:both; width:992px; margin:0 auto} #footer {height:auto;clear:both;background:url(../img/bg_footer.png) 0 0 no-repeat;} and from line 87: /* —————————————————————————————— layout —————————————————————————————— */ div#wrapper1 {min-width:991px;min-height:100%;background:#e7e7e7;} div#wrapper2 {height:100%;} div#wrapper3 {width:991px;margin:0 auto;background:url(../img/bg_columns.png) 0 0 repeat-y;text-align:left; overflow:hidden;} div#left_column, div#center_column, div#right_column {float:left;} #columns {position:relative; zoom:1} #left_column {clear:left;width:230px;padding:10px 0 0 20px;} #center_column {width:470px;padding:20px 0 0 10px;} #right_column {width:230px;padding:10px 0 0 10px;} What should I modify so I don't get the "Unsecured Content" message anymore, thus making my SSL work properly? I looked all over the forums, and the answers that I found say to modify the .tpl file. However, I looked at every .tpl file in my theme folder and I didn't find the URLs. Could anybody please help me? Thanks in advance! Raffaello Link to comment Share on other sites More sharing options...
phrasespot Posted November 29, 2011 Share Posted November 29, 2011 It is not due to requesting those images but the actual CSS file over an HTTP connection. Notice that the links in the CSS file are relative links, not absolute. So if the CSS file is requested as https://...css than the those image links will resolve to https, if the CSS file is requested over http, then those links will resove the http. Solve why the CSS file is requested over http and you will have resolved your issue. Link to comment Share on other sites More sharing options...
rafadn Posted December 19, 2011 Author Share Posted December 19, 2011 Thank you very much phrasespot! =) Solved it! Link to comment Share on other sites More sharing options...
indus Posted May 23, 2012 Share Posted May 23, 2012 Hi can you please share how you solved it? Where do i need to look to see how the css is being called? Link to comment Share on other sites More sharing options...
Diane721 Posted May 25, 2012 Share Posted May 25, 2012 Hi! Im having the same problem, can you please share with us (clearly, and in detail) how you solved this? I've been having problem with images giving errors myself! Thank you very much!! Diane Link to comment Share on other sites More sharing options...
indus Posted May 25, 2012 Share Posted May 25, 2012 (edited) I have found the problem in my case to be a tools.php file in override/classes folder. No idea how it got there, but i renamed it to some different name and now my problem is fixed. A forum member pointed me here http://www.prestasho...776#entry835776 Same problem with the solution is posted by member nadie. For me the problem was with new version 1.4.8.2 only. so your problem maybe different. Edited May 25, 2012 by indus (see edit history) Link to comment Share on other sites More sharing options...
Diane721 Posted May 25, 2012 Share Posted May 25, 2012 Oh ok I understand. When my problem is solved I'm afraid to upgrade and cause new problems. I'm using 1.4.7.3 I'll let you know if your solution helps me. Thank you! Diane Link to comment Share on other sites More sharing options...
Diane721 Posted May 25, 2012 Share Posted May 25, 2012 Unfortunately I still have the problem I'm getting an unsecured error on this page and dont know why. Arrgh very frustrating! Insecure URL: http://www.homegoodsoutlet.com/modules/hcatmenu/hcatmenu.css Found in: https://www.homegoodsoutlet.com/ Link to comment Share on other sites More sharing options...
indus Posted May 25, 2012 Share Posted May 25, 2012 (edited) Your problem seems to be from a third party module. Will need to look into the tpl file probably. I dont know. But your entire site seems to be https. That slows down the site unnecessarily. On which page does it break ssl btw? Edited May 25, 2012 by indus (see edit history) Link to comment Share on other sites More sharing options...
engine411 Posted May 27, 2012 Share Posted May 27, 2012 Diane721, I have the hcatmenu problem too - it's breaking the SSL. I have PS 1.4.8.2 at www.dutchcountrypantry.com. Did you find a solution? Link to comment Share on other sites More sharing options...
Diane721 Posted May 27, 2012 Share Posted May 27, 2012 (solved) Engine 411 I switched to a different Hcatmenu module, and now I don't have the error. I will upload the one that worked for me, if you can tell me how to do that on here. I don't see an "upload button" Link to comment Share on other sites More sharing options...
engine411 Posted May 27, 2012 Share Posted May 27, 2012 Great! When you reply, click More Reply Options, and that gives you an Attach command where you can attach the module zip file. Link to comment Share on other sites More sharing options...
Diane721 Posted May 27, 2012 Share Posted May 27, 2012 Here are 2 new modules for you the one is Hcatmenu the other is a good horizontal menu module as as well, See if either of these two work for you. Diane hcatmenu.zip jbx_menu-2.8.6.zip Link to comment Share on other sites More sharing options...
indus Posted May 28, 2012 Share Posted May 28, 2012 (edited) 2.8.6 does not work btw. The module does not install properly. Please dont try it. You can try the older versions upto 2.8.5. Edited May 28, 2012 by indus (see edit history) 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