Hi all,
Do to our internal configuration, I need Opencart to use a different SSL port when accessing HTTPS. I've gone into the Admin config.php file and changed the url to include the new port (in this case, 8383), so our URL is https://(storeurl):8383/admin.
However, while the Admin interface works perfectly with this new port, when I go into the cart itself and hit the checkout button, thus switching the site over to SSL, the new port number is not entered in the URL and the page fails to load. Is there another location I need to make this configuration change to? Am I looking at doing a URL rewrite in IIS to support this?
Thanks!
Don't know if this will work, as I don't use SSL (no requirement for it in my case). Try replacing the following in "index.php" (line 72):
with:
and see how you go.
Code: Select all
define('HTTPS_SERVER', 'https://' . substr($config->get('config_url'), 7));
Code: Select all
define('HTTPS_SERVER', 'https://' . rtrim(substr($config->get('config_url'), 7), '/') . ':8383/');
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Glad to hear it worked.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Who is online
Users browsing this forum: Google [Bot] and 318 guests