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.
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]
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]
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.
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.
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 22 guests