Post by StanVickers » Fri Feb 10, 2017 12:24 am

Have an oc site that has been working fine. I ordered SSL from the host (dedicated IP included).

I made changes to the .htAccess to route traffic to SSL as listed in the forums. I changed both config files root and admin to point HTTP and HTTPS traffic to HTTPS... also listed in forums.

I turned on "Use SSL" option under system | settings | Server

Once this is accomplished my site no longer loads... it takes forever and finally brings up a page totally unformatted. Acts like it could not load any of the CSS, JS, Images, etc.

The only way to get my site working is to remove all of this ... then no SSL...

Opencart version 1.5.6.4.

Newbie

Posts

Joined
Thu May 05, 2016 9:36 pm

Post by discoverytdi » Fri Feb 10, 2017 12:50 am

Have you changed your config files
catalog config
define('HTTP_SERVER', 'http://your site.co.uk/');
define('HTTP_IMAGE', 'http://your site.co.uk/image/');

// HTTPS
define('HTTPS_SERVER', 'https://your site.co.uk/');
define('HTTPS_IMAGE', 'https://your site.co.uk/image/');

Admin config
// HTTP
define('HTTP_SERVER', 'http://your site.co.uk/admin/');
define('HTTP_IMAGE', 'http://your site.co.uk/image/');
define('HTTP_CATALOG', 'http://your site.co.uk/');

// HTTPS
define('HTTPS_SERVER', 'http://your site.co.uk/admin/');
define('HTTPS_IMAGE', 'http://your site.co.uk/image/');
define('HTTPS_CATALOG', 'http://your site.co.uk/');

also some hosts require a force https statement in the .htaccess file
#force https
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)?$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]

https://www.rvsolar.co.uk/


User avatar
New member

Posts

Joined
Fri Feb 17, 2012 6:43 am
Location - sunny lancashire UK

Post by StanVickers » Fri Feb 10, 2017 12:53 am

Yes.

note that my oc version does not have this line:

define('HTTPS_IMAGE', 'http://your site.co.uk/image/');

I think the newer version may have it... do I need to add this line?

BTW -

I have not ruled out the possibility that it's a hosting problem, but can't prove it.

Newbie

Posts

Joined
Thu May 05, 2016 9:36 pm
Who is online

Users browsing this forum: Majestic-12 [Bot] and 43 guests