Page 1 of 1

SSL Problems

Posted: Mon Mar 10, 2014 7:46 am
by aelgate3
Hello.
I create SSL certificate and all the pages are working fine except my home page.
I know what is the issue but I can't find the files.

The issue is that I have some links that are not https and need to change to http.
I have 10 links with that issue. The 5 links comes from http://fonts.google.apis

I have the open cart theme and I edit it and i can found in the header.tpl this line

<link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />

If I delete it at all I will have problems with my template.
Where is stored that media pack so to go to the actual file and change it from http:// to :// and then I will resolve my problem?
Thanks at all

Re: SSL Problems

Posted: Mon Mar 10, 2014 8:06 am
by aelgate3
that i did i copy the lines that it was generated and then i paste those new lines at this stage...and its working fine..
now i have 3 links problem and i will finish with the ssl....
in the bottom of my index.php when i will see the source code i get this style but it isnt inside any css file. Is direct inside the code..

Does anyone knows where to find that change and change the background so I will done from http to https:???

If I find that one i am 100% done :D

If anyone knows where i can find it please tell it to me

Thanks in advanced


<style>
#nice-featured0 .box-product.nice-featured .nice-featured-item {
width: 140px;
height: 140px;
padding: 0;
margin: 4px auto 14px;
border: none;
position: relative;
display: block;
clear: both;
}
#nice-featured0 .box-product.nice-featured .name, #nice-featured0 .box-product.nice-featured .price, #nice-featured0 .box-product.nice-featured .cart, #nice-featured0 .box-product.nice-featured .fav {
background: url('http://www.buyaway.net/catalog/view/the ... e/menu.png');
position: absolute;
margin: 0;
border: 0;
display: block;

Re: SSL Problems

Posted: Mon Mar 10, 2014 8:38 am
by Avvici
Before you go making a mess of things, why do you even want your home page SSL to begin with? Are you offering a login, or register page? Checkout? Cart? Would do good to have a legitimate reason. default opencart with SSL enabled is not configured to have the home page as SSL. This is why you are having issues.

If you are just talking about the google font reference then just make it https://

The header references are on "every" page because the header is called on you guessed it....every page. Make sure your external references are https

Re: SSL Problems

Posted: Mon Mar 10, 2014 8:40 pm
by aelgate3
I fix it all my problems.
Yes I know what u mean. I am experience user with all the content management systems. I create my owns templates because I have CSS skills and all of that.
Also I discover that a lot of people has got https problems. I fix them all. All my pages at my store working at https :).
The reason that I make the site https it because I use JCC Payment method. JCC Is the biggest payment method in Cyprus and they told me that to proceed with their payment system my site need to have https.
I think i will write a tutorial how someone can make the whole website to working as https.
It take me 12 hours to make the site with a valid SSL (with valid links) because opencart has got problems at the SSL as I read from other threads

Re: SSL Problems

Posted: Mon Mar 10, 2014 8:44 pm
by aelgate3
also avici you understand wrong...
I dont know why but this line I mentioned

<link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" /> in my source code it was generating those lines of google fonts..
So I delete that line and then I copy paste those lines that it was generating with https.
The problem was that it was 6 lines but my code was having just one. So I couldn't change http to https.
When i delete that line it stop to generate those 6 lines so I copy paste those 6 lines straight to my code and i change them at https

Re: SSL Problems

Posted: Tue Mar 11, 2014 12:15 am
by Avvici
Glad you got it working :)

Re: SSL Problems

Posted: Tue May 06, 2014 5:05 pm
by darrengould
Well I have a similar problem because I am considering using Westpac and if I do use Westpac they want the complete website on https but that's not the only issue because going from http to https when someone isn't all that clued up causes confusion and that is the last thing I want to give my visitors.

I assumed that if I changed the config file to read https it would then become https all over the website. Could anyone tell me if that assumption is correct please or or if not how can I do it.

Also, does https slow the site down much or is it not noticeable?