Reputation: 697
I bought ssl certificate for our ecommerce web site. Certificate is successfully loaded on the server by the hosting company. They say that it is properly installed. I asked the the company who generated the ssl certificate for us to check if the certificate is loaded properly by the hosting firm and they checked they say that everything is ok they can see that the certificate is loaded succesfully. Our hosting is a shared hosting. The server is not dedicated to our usage only. Next I tried to activate ssl usage on prestashop by clicking EnableSSL under Preferences/General. Or I change ps_configuration SSL_ENABLED attribute I have more than one problem when I enable SSL.
This is the normal view of our main page.
when I try to reach main url using https://www.lsvdukkan.com My view is turns out to be a total mess propably scripts do not work
This is the messed up view of the main page :
Running main page in https is not important for me. Important thing is enabling SSL after login and during payment.
Second problem is when I enable ssl in prestashop , prestashop tries to direct customers to https page after login to the page https://www.lsvdukkan.com/my-account. But the page can not be found. It says there are multiple directions (direction loops) in the page ????? So it does not work. I informed the hosting firm about this direction problem after enabling prestashop but they don't have any idea of the problem. They say that ssl certificate is successfully loaded. Since they are not familiar with prestashop they don't have any idea on the problem. This is the view of the redirection problem.
I tried to find a solution in the forums. I would appreciate very much if someone could help to use SSL certificate with prestashop.
FERDA
Upvotes: 0
Views: 15723
Reputation: 1
ADVANCED PARAMETERS - PERFORMANCE
and Compress section must be like this---
Smart cache for CSS - (NO)
Smart cache for javaScript - (NO)
Minify HTML - YES (usable)
Compress inline Javascript in HTML - (NO)
Apache optimization - YES (usable)
Upvotes: 0
Reputation: 26
I just found this after looking for a good fix for this issue and wanted to share since I found this link before I found the base issue:
https://github.com/PrestaShop/PrestaShop/commit/640100f10f789129dc50a0d68e3e82cedf85aad3
Made this change in 1.5.6.2 and it fixed all the errors and everything is in the green now!
Hope this helps others...
-James
Upvotes: 1
Reputation: 1
If you have some technical knowledge, you need to verify what resources like js scripts, css files, etc are loading out of the https, this may be caused by some modules that load this resources as absolute urls beginning by http://.
To solve the problem you should debug all resources that are loading in the wrong way, to do that you for example in Google Chrome you can use: CTRL+SHIFT+J, there you will be able to see a list of "blocked" content, that blocked content are the resources you need to fix the way they load in your website.
I have done a quick check and retrieved this list:
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/css/css/default_styles.css': this content should also be loaded over HTTPS.
(index):82
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://fonts.googleapis.com/css?family=Open%20Sans:400,300,700,normal': this content should also be loaded over HTTPS.
(index):86
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/css/css/responsive.css': this content should also be loaded over HTTPS.
(index):90
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/common.js': this content should also be loaded over HTTPS.
(index):1
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/jquery.flexslider.js': this content should also be loaded over HTTPS.
(index):1
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/css/css/flexslider.css': this content should also be loaded over HTTPS.
(index):94
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/cloud-zoom.1.0.2.min.js': this content should also be loaded over HTTPS.
(index):1
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/css/css/cloud-zoom.css': this content should also be loaded over HTTPS.
(index):96
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/jquery.fancybox-1.3.4.pack.js': this content should also be loaded over HTTPS.
(index):1
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/jquery.fancybox-1.3.4.css': this content should also be loaded over HTTPS.
(index):100
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/fancybox.setting.js': this content should also be loaded over HTTPS.
(index):1
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/jquery.fancybox-1.3.4.css': this content should also be loaded over HTTPS.
(index):102
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/jquery.tweet.js': this content should also be loaded over HTTPS.
(index):1
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/jquery.jcarousel.min.js': this content should also be loaded over HTTPS.
(index):1
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/jquery.accordion.source.js': this content should also be loaded over HTTPS.
(index):1
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/bootstrap-tooltip.js': this content should also be loaded over HTTPS.
(index):1
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/css/css/bootstrap-tooltip.css': this content should also be loaded over HTTPS.
(index):109
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/script.js': this content should also be loaded over HTTPS.
(index):1
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.lsvdukkan.com/themes/trendy/js/js/jquery.jcarousel.min.js': this content should also be loaded over HTTPS.
(index):1
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/l…8&colorscheme=light&show_faces=true&border_color&stream=false&header=false': this content should also be loaded over HTTPS.
(index):1022
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.losev.org.tr/images/image/Galleries/2010/tanitim_artikkimseyiuzmesin/tanitim_artikkimseyiuzmesin.swf': this content should also be loaded over HTTPS.
jquery-1.7.2.min.js:2
4
[blocked] The page at 'https://www.lsvdukkan.com/' was loaded over HTTPS, but ran insecure content from 'http://www.losev.org.tr/images/image/Galleries/2010/tanitim_artikkimseyiuzmesin/tanitim_artikkimseyiuzmesin.swf': this content should also be loaded over HTTPS.
So, you now you just need to fix. Changing in absolute urls from http:// to // or relative urls.
Hope this help.
Best wishes, Luis
Upvotes: 0