Robert Schmitt Posted November 30, 2015 Share Posted November 30, 2015 (edited) hallo everyone.. I just installed a new SSL cerificate on my server but now i get the message that my images aren't secure.. Can i fix this and if so how ??? https://vectorart.at Cheers Robert Edited November 30, 2015 by Robert Schmitt (see edit history) Link to comment Share on other sites More sharing options...
Robert Schmitt Posted December 1, 2015 Author Share Posted December 1, 2015 Hi Leute, Any takers please on this? Someone said it could be a issue of the Template... is that true? Cheers Robert Link to comment Share on other sites More sharing options...
MacRoy Posted December 1, 2015 Share Posted December 1, 2015 Hi Robert! Which version of PS you use? And you get the same results with all browsers? Regards MacRoy Link to comment Share on other sites More sharing options...
bellini13 Posted December 1, 2015 Share Posted December 1, 2015 Below are the warning messages you are receiving. Hard to say if this is a theme or module issue, but something in your store is trying to load fonts from google using http. Mixed Content: The page at 'https://vectorart.at/en/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans:400,800,300,700'. This request has been blocked; the content must be served over HTTPS. Mixed Content: The page at 'https://vectorart.at/en/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Lobster'. This request has been blocked; the content must be served over HTTPS. Mixed Content: The page at 'https://vectorart.at/en/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Dancing+Script'. This request has been blocked; the content must be served over HTTPS. There is also this warning which is trying to load something from flickr.com using http. Mixed Content: The page at 'https://vectorart.at/en/' was loaded over HTTPS, but requested an insecure script 'http://www.flickr.com/badge_code_v2.gne?count=6&display=random&size=t&layout=x&source=user&user=7392841@N04'. This request has been blocked; the content must be served over HTTPS. Link to comment Share on other sites More sharing options...
oglena Posted December 14, 2015 Share Posted December 14, 2015 up having same issue Link to comment Share on other sites More sharing options...
noli-ks Posted February 8, 2017 Share Posted February 8, 2017 I have same issue. Any solution to this? Link to comment Share on other sites More sharing options...
bellini13 Posted February 8, 2017 Share Posted February 8, 2017 The solution is to fix your theme which is not properly loading resources securely. Link to comment Share on other sites More sharing options...
Gipielle Posted February 9, 2017 Share Posted February 9, 2017 Same issue Link to comment Share on other sites More sharing options...
bellini13 Posted February 9, 2017 Share Posted February 9, 2017 The solution is to fix your theme which is not properly loading resources securely. Link to comment Share on other sites More sharing options...
Gipielle Posted February 9, 2017 Share Posted February 9, 2017 We are fixing our theme, but it seems some part of standard theme is also affected of this problem Link to comment Share on other sites More sharing options...
bellini13 Posted February 10, 2017 Share Posted February 10, 2017 We are fixing our theme, but it seems some part of standard theme is also affected of this problem that could be true, however you have not provided your version of prestashop, or the version of a particular module that you might have a problem with. if you are using an older version of the theme, then perhaps you should consider an upgrade, or be more specific about your issue Link to comment Share on other sites More sharing options...
Gipielle Posted February 10, 2017 Share Posted February 10, 2017 PS verison 1.5.6.1 with many changes We have solved issue with images of theme, now we have problem with links, if we put this solution https://github.com/PrestaShop/PrestaShop-1.5/commit/0452979ce77b36ece8b8745bb3383d104ccedfaa could we have some problems ? Link to comment Share on other sites More sharing options...
bellini13 Posted February 10, 2017 Share Posted February 10, 2017 PS verison 1.5.6.1 with many changes We have solved issue with images of theme, now we have problem with links, if we put this solution https://github.com/PrestaShop/PrestaShop-1.5/commit/0452979ce77b36ece8b8745bb3383d104ccedfaa could we have some problems ? what exactly is the issue that you have and that you believe this commit would resolve? btw, you are using an older version of 1.5 (released in 2013), I believe the latest version is 1.5.6.3 You also have not stated if you are using a custom theme or the default theme, and was that the original default theme, or had you upgraded from a previous version. Link to comment Share on other sites More sharing options...
Gipielle Posted February 10, 2017 Share Posted February 10, 2017 The issue is that, only user account page and order page are https but all others site pages are http if i add s to http, for example in home, links in menu are right (with https) but when i click it go to http version Link to comment Share on other sites More sharing options...
bellini13 Posted February 11, 2017 Share Posted February 11, 2017 If you only enable SSL, by default that only enables HTTPS on secures pages (like checkout and account pages). I don't know if PS v1.5.6.1 has the option to force HTTPs on ALL pages, you need to review your preferences page in the back office and see if that option is available. Link to comment Share on other sites More sharing options...
Gipielle Posted February 11, 2017 Share Posted February 11, 2017 No is not present, but i think our admin version is 1.5.4.1 Link to comment Share on other sites More sharing options...
bellini13 Posted February 11, 2017 Share Posted February 11, 2017 Yesterday you said in your post it was 1.5.6.1. Either way, if you don't have that option then you will likely need to make core changes to your store to force this. A store that old however, you really should consider an upgrade Link to comment Share on other sites More sharing options...
Gipielle Posted February 12, 2017 Share Posted February 12, 2017 Unfortunately we cannot upgrade Link to comment Share on other sites More sharing options...
Gipielle Posted February 14, 2017 Share Posted February 14, 2017 Solved with this: https://github.com/PrestaShop/PrestaShop-1.5/commit/0452979ce77b36ece8b8745bb3383d104ccedfaa No problems for now Link to comment Share on other sites More sharing options...
Knowband Plugins Posted February 16, 2017 Share Posted February 16, 2017 When your SSL certificate fails to encrypt all the elements of the page (Like Images) then you receive an "unsecured content" message. To resolve this error, you have to find those elements (In your case images) of the page that are not encrypted and make following modifications - 1. If images are hosted on Your Server Whenever an image link is created within a page using the absolute URL then resulting image link will not be encrypted by SSL. For example - Following image link cannot be encrypted by SSL certificate - <img src="http://www.yourstore.com/assets/photo1.jpg"> <img src="http://www.yourstore.com/assets/photo1.jpg"> To correct this issue, simply remove your store's domain from the image tag and create a relative link - <img src="/assets/photo1.jpg"> <img src="/assets/photo1.jpg"> 2. If images are hosted on External Server In case, your images are hosted on external server (Like Flickr or Amazon) then you will need to modify the image link to use the secure "https" protocol. Note that, external server should support "https" protocol in order to secure images. In this case, image link will look like this - <img src="https://www.externalserver.com/assets/photo1.jpg"> <img src="https://www.externalserver.com/assets/photo1.jpg"> Link to comment Share on other sites More sharing options...
nickzampieri Posted March 13, 2017 Share Posted March 13, 2017 I am running prestashop 1.7.x and using the default classic theme. Images are not showing up only on https pages like the contact us page and the login page, and registration page. If I turn on ssl on whole site, then my images on products page are all not found as well. If I turn off ssl, then all is fine. I want to enable it for secure pages and to view the images. How can I properly troubleshoot this? I feel like I enabled the wrong setting in the BO, but not sure where... Link to comment Share on other sites More sharing options...
Knowband Plugins Posted April 28, 2017 Share Posted April 28, 2017 I am running prestashop 1.7.x and using the default classic theme. Images are not showing up only on https pages like the contact us page and the login page, and registration page. If I turn on ssl on whole site, then my images on products page are all not found as well. If I turn off ssl, then all is fine. I want to enable it for secure pages and to view the images. How can I properly troubleshoot this? I feel like I enabled the wrong setting in the BO, but not sure where... The issue that you have mentioned seems to be coming because of the .htaccess file in your store. This issue can be fixed by regenerating the .htaccess file. Please follow the instructions below to regenerate the .htaccess file. - Go to CONFIGURE (Shop Parameters) -> Traffic & SEO -> SEO & URLs - Disable 'Friendly URL' and save the configurations. - Enable 'Friendly URL' and save the configurations and it will regenerate the .htaccess file. The issue that you have mentioned seems to be coming because of the .htaccess file in your store. This issue can be fixed by regenerating the .htaccess file. Please follow the instructions below to regenerate the .htaccess file. - Go to CONFIGURE (Shop Parameters) -> Traffic & SEO -> SEO & URLs - Disable 'Friendly URL' and save the configurations. - Enable 'Friendly URL' and save the configurations and it will regenerate the .htaccess file. Link to comment Share on other sites More sharing options...
Peter Pastoor Posted July 9, 2018 Share Posted July 9, 2018 On 28-4-2017 at 3:33 PM, Knowband Plugins said: The issue that you have mentioned seems to be coming because of the .htaccess file in your store. This issue can be fixed by regenerating the .htaccess file. Please follow the instructions below to regenerate the .htaccess file. - Go to CONFIGURE (Shop Parameters) -> Traffic & SEO -> SEO & URLs - Disable 'Friendly URL' and save the configurations. - Enable 'Friendly URL' and save the configurations and it will regenerate the .htaccess file. The issue that you have mentioned seems to be coming because of the .htaccess file in your store. This issue can be fixed by regenerating the .htaccess file. Please follow the instructions below to regenerate the .htaccess file. - Go to CONFIGURE (Shop Parameters) -> Traffic & SEO -> SEO & URLs - Disable 'Friendly URL' and save the configurations. - Enable 'Friendly URL' and save the configurations and it will regenerate the .htaccess file. Hi, Unfortunately this didn't work at my 1.7.3.4 testshop. My ssl is showing a warningsign. I think it has to do with the images. Do you, or anyone else, what could be the problem? I have this problem with the standard theme and other themes. I tried the sollution above. Thank you! Link to comment Share on other sites More sharing options...
bellini13 Posted July 9, 2018 Share Posted July 9, 2018 i would suggest starting by looking at all the media files (images, css, javascript etc...) in the browser (view source or the browsers network tab, press F12). This way you can atleast identify which media resources are not secure, and then use that information to determine what needs to be changed. Link to comment Share on other sites More sharing options...
rictools Posted July 10, 2018 Share Posted July 10, 2018 6 hours ago, Peter Pastoor said: Unfortunately this didn't work at my 1.7.3.4 testshop. My ssl is showing a warningsign. Is it the pure shop like on the first day or did you insert text and / or pictures into modules etc.? Maybe you inserted a pic-source with http:// (on the german forum an user inserted two blind gifs ...). It should be easy to recognize this, but not without a link to your shop ... Link to comment Share on other sites More sharing options...
Peter Pastoor Posted July 10, 2018 Share Posted July 10, 2018 And now i have a 500 Internal Server Error when i go to Modules......it works very fine...1.7.3.4...... First off all i need to fix that. I will answer your questions later. Thank you for your help for now Link to comment Share on other sites More sharing options...
Inter Svetainė Posted March 26, 2020 Share Posted March 26, 2020 If You have something like this in you template file Quote src="{$slide.image}" and in this module controller there is none of checking is site SSL or not edit Your template like this Quote src="{$base_dir_ssl}img/blockslideshow/{$slide.id_pos_slideshow}.jpg" 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