Post by toolfolks » Thu Oct 21, 2021 3:09 pm

[SOLVED]

Hi
I have ssl on my domain.
I have changed the setting in opencart to use ssl.
Www.Toolfolks.com
Using https the site doesn’t render properly.

From my service provider

Dear Steve,

Web development is outside of our support scope. Your website is not loading properly because the elements it contains are linked via HTTP and when you make an HTTPS connection the browser automatically ignores those links. Have you set the Site URL and Home Page with HTTPS instead of HTTP on your Administration dashboard?

What do I need to do here please.
Last edited by toolfolks on Thu Oct 21, 2021 10:47 pm, edited 1 time in total.

New member

Posts

Joined
Thu May 07, 2015 5:18 am

Post by ADD Creative » Thu Oct 21, 2021 3:46 pm

The Use SSL option does nothing. To use https you have to change all URLs to start with https in config.php and admin/config.php.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by xxvirusxx » Thu Oct 21, 2021 3:46 pm

toolfolks wrote:
Thu Oct 21, 2021 3:09 pm
I have changed the setting in opencart to use ssl.
But in both config files you have changed in https:// ?

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by toolfolks » Thu Oct 21, 2021 4:23 pm

Which settings do I change?

<?php
// HTTP
define('HTTP_SERVER', 'http://toolfolks.com/cart4/');

// HTTPS
define('HTTPS_SERVER', 'http://toolfolks.com/cart4/');

// DIR
define('DIR_APPLICATION', '/home/wilseayd/public_html/toolfolks.com/cart4/catalog/');
define('DIR_SYSTEM', '/home/wilseayd/public_html/toolfolks.com/cart4/system/');
define('DIR_IMAGE', '/home/wilseayd/public_html/toolfolks.com/cart4/image/');
define('DIR_STORAGE', '/home/wilseayd/public_html/cart4storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');

New member

Posts

Joined
Thu May 07, 2015 5:18 am

Post by xxvirusxx » Thu Oct 21, 2021 4:50 pm

Code: Select all

http://toolfolks.com/cart4/
to

Code: Select all

https://toolfolks.com/cart4/

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by toolfolks » Thu Oct 21, 2021 9:08 pm

Thanks. It's working fine on https now.

New member

Posts

Joined
Thu May 07, 2015 5:18 am

Post by straightlight » Thu Oct 21, 2021 10:19 pm

toolfolks wrote:
Thu Oct 21, 2021 9:08 pm
Thanks. It's working fine on https now.
Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 110 guests