Post by gail315 » Fri Feb 08, 2013 3:13 pm

Hi,

My host installed a security certificate SSL on my server.

What do I need to do to get it to show on my Opencart site?
I saw under SYSTEM > SETTINGS > DEFAULT > SERVER
To use SSL check with your host if a SSL certificate is installed and added the SSL URL to the catalog and admin config files.

Can someone please
1. Show me the exact paths to the "catalog and admin config files."
This is what I found, are these the correct files:
/home/shop/public_html/store/admin/config.php
/home/shop/public_html/store/config.php

2. Give me the actual lines of code to add/change.

This is what it now shows:

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://MyDomain.com/store/');
define('HTTP_IMAGE', '/store/image/');
define('HTTP_ADMIN', 'http://MyDomain.com/store/admin/');

// HTTPS
define('HTTPS_SERVER', 'http://MyDomain.com/store/');
define('HTTPS_IMAGE', '/store/image/');

// DIR
define('DIR_APPLICATION', '/home/shop/public_html/store/catalog/');
define('DIR_SYSTEM', '/home/shop/public_html/store/system/');
define('DIR_DATABASE', '/home/shop/public_html/store/system/database/');
define('DIR_LANGUAGE', '/home/shop/public_html/store/catalog/language/');
define('DIR_TEMPLATE', '/home/shop/public_html/store/catalog/view/theme/');
define('DIR_CONFIG', '/home/shop/public_html/store/system/config/');
define('DIR_IMAGE', '/home/shop/public_html/store/image/');
define('DIR_CACHE', '/home/shop/public_html/store/system/cache/');
define('DIR_DOWNLOAD', '/home/shop/public_html/store/download/');
define('DIR_LOGS', '/home/shop/public_html/store/system/logs/');
3. Let me know if I need to do anything else.

I was given some code for the site seal. Where does that go???

Code: Select all

<span id="siteseal"><script type="text/javascript" src="https://seal.starfieldtech.com/getSeal?sealID=blabblab">
</script></span>
Thanks for helping me
:-X Gail

New member

Posts

Joined
Wed Apr 25, 2012 8:25 am

Post by raymondization » Fri Feb 08, 2013 5:48 pm

1. yes, they are the files

2. I think the code should be like this:
// HTTP
define('HTTP_SERVER', 'http://MyDomain.com/store/');
define('HTTP_IMAGE', 'http://MyDomain.com/store/image/');
define('HTTP_ADMIN', 'http://MyDomain.com/store/admin/');

// HTTPS
define('HTTPS_SERVER', 'https://MyDomain.com/store/');
define('HTTPS_IMAGE', 'https://MyDomain.com/store/image/');

Also, edit the config file in your admin folder

to add 's' after 'http' under // HTTPS section just like what i did above.


3.
for the code for site seal, you can have a look here:
viewtopic.php?f=10&t=20376

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am
Who is online

Users browsing this forum: No registered users and 25 guests