Manage cookies that are used for advertising, such as ad personalization, remarketing, and ad effectiveness analysis.
2.14.3.1.5. Additional HTTPS configuration in OpenCart 2.2
Attention!
Before performing actions, we strongly recommend create a site backup or save copies of modified files.If you use OpenCart 2.2 and standard HTTPS configuration actions are not sufficient (for example, OpenCart admin panel does not work on site), try the following:
- Make sure that all actions from instruction Configure HTTPS in OpenCart have been completed.
- In
system/configdirectory, edit four files —admin.php,catalog.php,default.php,install.php. In each of them, find this line:$_['site_ssl'] = false;And replace it with the following:
$_['site_ssl'] = true; - In
catalog/controller/commondirectory, editheader.phpfile. Find this line in it:$server = $this->config->get('config_ssl');And replace it with the following:
$server = str_replace('http:', 'https:', $this->config->get('config_url')); - Check the site operation.