v: 1.4.8
https://www.dmaireroa.net/upload
Hey guys,
I've been working on this project for some time now, and I have finally finished it (I think). I added my SSL cert according to the comments I read from here. Admin panel 'Yes: SSL' and changed admin/config.php to:
// HTTPS
define('HTTPS_SERVER', 'https://www.dmaireroa.net/admin/');
define('HTTPS_IMAGE', 'https://www.dmaireroa.net/image/');
This seems to be working fine. However, some of the other pages are showing 'http://'. Is this correct? What pages am I suppose to see the SSL and what pages am not suppose to see the SSL? Is there suppose to ber a seal for the SSL cert?
P.S My site got hacked before which is the reason why this was taking a long time to launch, and was wondering if I change my permission settings on config.php and admin.php to 444 or which file?
Thanks in advance
CHEERS
https://www.dmaireroa.net/upload
Hey guys,
I've been working on this project for some time now, and I have finally finished it (I think). I added my SSL cert according to the comments I read from here. Admin panel 'Yes: SSL' and changed admin/config.php to:
// HTTPS
define('HTTPS_SERVER', 'https://www.dmaireroa.net/admin/');
define('HTTPS_IMAGE', 'https://www.dmaireroa.net/image/');
This seems to be working fine. However, some of the other pages are showing 'http://'. Is this correct? What pages am I suppose to see the SSL and what pages am not suppose to see the SSL? Is there suppose to ber a seal for the SSL cert?
P.S My site got hacked before which is the reason why this was taking a long time to launch, and was wondering if I change my permission settings on config.php and admin.php to 444 or which file?
Thanks in advance
CHEERS

I had the same problem with my SSL and Internet Explorer. I found from another OpenCart forum the following:
Open the index.php file in your main store folder and find this code:
Because this somehow generates three forward slashes in the html, we have to remove one of the forward slashes to show:
Just copy and paste this code into your index.php file. It worked for me.
Open the index.php file in your main store folder and find this code:
Code: Select all
define('HTTP_SERVER', $config->get('config_url'));
define('HTTP_IMAGE', HTTP_SERVER . 'image/');
if ($config->get('config_ssl')) {
define('HTTPS_SERVER', 'https://' . substr($config->get('config_url'), 7));
define('HTTPS_IMAGE', HTTPS_SERVER . 'image/');
} else {
define('HTTPS_SERVER', HTTP_SERVER);
define('HTTPS_IMAGE', HTTP_IMAGE);
}
Code: Select all
define('HTTP_SERVER', $config->get('config_url'));
define('HTTP_IMAGE', HTTP_SERVER . 'image/');
if ($config->get('config_ssl')) {
define('HTTPS_SERVER', 'https:/' . substr($config->get('config_url'), 7));
define('HTTPS_IMAGE', HTTPS_SERVER . 'image/');
} else {
define('HTTPS_SERVER', HTTP_SERVER);
define('HTTPS_IMAGE', HTTP_IMAGE);
}
- Daniel Murphy
http://www.punchupproductions.com
"copy and paste developer extraordinaire"
Thanks Daniel! I was working on a very old version of Opencart for a client and we ran into this issue in the past week. Never heard of this one before since it only affects very old versions of Opencart. Thanks for your post!
Who is online
Users browsing this forum: Amazon [Bot] and 69 guests