Page 1 of 1

SSL Setup Problem

Posted: Sun Feb 23, 2014 11:02 pm
by neilva4
I'm hoping i can get an answer to my problem. I have searched Google but can't find an answer. My problem is with my SSL. I purchased an SSL from 123-reg.co.uk. They have installed it on my hosting. When i change the config.php files and enable SSL in admin i get problems. My website loads as normal but as soon as i click on an SSL page of my site like the login page it takes me to the page but my theme is not loading. Also i get this same problem when i try and login Admin. I am using version 1.5.6. Hope someone can help as my site is ready to go live. I am using an after market theme and not the basic theme.

Re: SSL Setup Problem

Posted: Mon Feb 24, 2014 2:15 am
by neilva4
I have contacted 123-reg about my hosting and they have told me i have my own ip address for my SSL certificate and i can use it with or without the www. I have defaulted back to the standard theme and i am still getting the same problem. Hope someone can help

Re: SSL Setup Problem

Posted: Mon Feb 24, 2014 3:12 am
by neilva4
I went to wynopadlock.com and i am getting 119 insecure items nearly all pointing to my 3rd party theme and to a javascript folder. Here are a few instances i copied over:

Insecure URL: http://www.mysite.co.uk/catalog/view/ja ... tom.min.js
Insecure URL: http://www.mysite.co.uk/catalog/view/ja ... lorbox.css
Insecure URL: http://www.mysite.co.uk/ico/favicon.ico
Insecure URL: http://www.mysite.co.uk/image/cache/dat ... -30x30.jpg
Insecure URL: http://www.mysite.co.uk/catalog/view/th ... terable.js

Re: SSL Setup Problem

Posted: Mon Feb 24, 2014 6:36 am
by cwswebdesign
What is your domain name? Some of these issues could be due to your theme not calling for https on external links within.

After that, I can't troubleshoot anything until I know the domain.

DL

Re: SSL Setup Problem

Posted: Mon Feb 24, 2014 7:09 am
by neilva4
Thanks for the reply. My domain is www.v-c-s-shop.co.uk

Re: SSL Setup Problem

Posted: Mon Feb 24, 2014 8:24 am
by cwswebdesign
Can you post only the HTTP and HTTPS section of your config files? The certificate itself is properly installed so it may come down to the config files or issues within the theme itself.

DL

Re: SSL Setup Problem

Posted: Mon Feb 24, 2014 5:05 pm
by neilva4
Thanks for the reply. I just wanted to also let you know i get quite a few problems with the default theme aswell when i turn on SSL.

This is my config.php
<?php
// HTTP
define('HTTP_SERVER', 'http://www.v-c-s-shop.co.uk/');

// HTTPS
define('HTTPS_SERVER', 'https://www.v-c-s-shop.co.uk/');

// DIR
define('DIR_APPLICATION', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/catalog/');
define('DIR_SYSTEM', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/system/');
define('DIR_DATABASE', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/system/database/');
define('DIR_LANGUAGE', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/catalog/language/');
define('DIR_TEMPLATE', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/system/config/');
define('DIR_IMAGE', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/image/');
define('DIR_CACHE', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/system/cache/');
define('DIR_DOWNLOAD', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/download/');
define('DIR_LOGS', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/system/logs/');

This is my admin/config.php
<?php
// HTTP
define('HTTP_SERVER', 'http://www.v-c-s-shop.co.uk/admin/');
define('HTTP_CATALOG', 'http://www.v-c-s-shop.co.uk/');

// HTTPS
define('HTTPS_SERVER', 'http://v-c-s-shop.co.uk/admin/');
define('HTTPS_CATALOG', 'http://v-c-s-shop.co.uk/');

// DIR
define('DIR_APPLICATION', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/admin/');
define('DIR_SYSTEM', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/system/');
define('DIR_DATABASE', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/system/database/');
define('DIR_LANGUAGE', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/admin/language/');
define('DIR_TEMPLATE', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/admin/view/template/');
define('DIR_CONFIG', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/system/config/');
define('DIR_IMAGE', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/image/');
define('DIR_CACHE', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/system/cache/');
define('DIR_DOWNLOAD', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/download/');
define('DIR_LOGS', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/system/logs/');
define('DIR_CATALOG', '/websites/123reg/LinuxPackage23/v_/c_/s_/v-c-s-shop.co.uk/public_html/catalog/');

Re: SSL Setup Problem

Posted: Mon Feb 24, 2014 10:00 pm
by cwswebdesign
Hi,

To start with, the HTTPS section of admin/config.php needs to have the 's' added after each http.

DL

Re: SSL Setup Problem

Posted: Mon Feb 24, 2014 10:26 pm
by neilva4
Hi,

I have added the S on the HTTPS section but am still getting the same results. You can see what happens here: https://www.v-c-s-shop.co.uk/index.php? ... t/register

Re: SSL Setup Problem

Posted: Mon Feb 24, 2014 10:56 pm
by cwswebdesign
neilva4 wrote:Hi,

I have added the S on the HTTPS section but am still getting the same results. You can see what happens here: https://www.v-c-s-shop.co.uk/index.php? ... t/register
Interesting. Can you send your FTP info to me so that I can fix it? support@evolvewebhost.com

DL

Re: SSL Setup Problem

Posted: Mon Feb 24, 2014 11:04 pm
by neilva4
Hi,

I have emailed you my FTP details.

Many Thanks

Neil

Re: SSL Setup Problem

Posted: Tue Feb 25, 2014 1:08 am
by neilva4
Can anybody help with this problem as so far i have had no success.

Re: SSL Setup Problem

Posted: Sun Mar 02, 2014 7:09 pm
by alexinoz
Hey there, it looks like your template is loading properly in SSL now (I just manually typed https in for your main URL).

That said, you might like to consider sending all traffic to HTTPS rather than HTTP.

If you want to do this just create / edit your .htaccess file in your public_html folder and include the following:

Code: Select all

RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteCond %{SERVER_ADDR}   !^127\.0\.0\.1
RewriteRule (.*) https://%{SERVER_NAME}/$1 [L]

Re: SSL Setup Problem

Posted: Tue Mar 18, 2014 7:41 am
by sjw623
Hi neilva4,

I am experiencing exactly the same problem with my 123-reg.co.uk hosting. I've just visited your site and see you have found a solution to this. Could you please advise how? Thanks in advance.