So I built my online store and thought I was ready to go and realized I had not installed and enabled SSL. Hosting with Bluehost, got on tech support with them and they installed SSL. I then went into OpenCart admin and clicked "enable SSL".
So now when I go to www.diggsfishing.com, everything looks great.
When I go to https://diggsfishing.com, everything looks crummy.
Any ideas? Please tell me I'm not going to have to redo this thing.
So now when I go to www.diggsfishing.com, everything looks great.
When I go to https://diggsfishing.com, everything looks crummy.
Any ideas? Please tell me I'm not going to have to redo this thing.
In admin/config.php and your main config.php file, you will need to update the URL to reflect https accordingly.
Open your config.php file and check whether HTTPS_SERVER is defined or not.
Similarly, open admin/config.php file and check whether HTTPS_SERVER & HTTPS_CATALOG is defined or not.
Note: HTTPS_SERVER and HTTPS_CATALOG is defined as “https://” instead of “http://”
Similarly, open admin/config.php file and check whether HTTPS_SERVER & HTTPS_CATALOG is defined or not.
Note: HTTPS_SERVER and HTTPS_CATALOG is defined as “https://” instead of “http://”
Opencart Expert | sales[at]ost.agency
Skype - manish.osuniverse | Gtalk - manishmt
Extensions for Opencart @ https://www.ost.agency/product/product- ... extensions
ost.agency - ecommerce website design, development and digital company
Well now I get this error:
Notice: Use of undefined constant HTTP_SERVER - assumed 'HTTP_SERVER' in /home2/santeero/public_html/diggsfishing/store/catalog/controller/startup/startup.php on line 20Notice: Use of undefined constant HTTPS_SERVER - assumed 'HTTPS_SERVER' in /home2/santeero/public_html/diggsfishing/store/catalog/controller/startup/startup.php on line 21
I peeked at that file but not sure what exactly I should change--the line numbers aren't matching up (I'm viewing in Notepad++)
Notice: Use of undefined constant HTTP_SERVER - assumed 'HTTP_SERVER' in /home2/santeero/public_html/diggsfishing/store/catalog/controller/startup/startup.php on line 20Notice: Use of undefined constant HTTPS_SERVER - assumed 'HTTPS_SERVER' in /home2/santeero/public_html/diggsfishing/store/catalog/controller/startup/startup.php on line 21
I peeked at that file but not sure what exactly I should change--the line numbers aren't matching up (I'm viewing in Notepad++)
Did you copy the contents of one config.php over the other?
For quick, professional OpenCart support please email info@antropy.co.uk
Expert Member
It's very likely that your config.php files aren't quite correct. If you want, you can email either your files or a temporary FTP login to hello@elev8your.com and we can take a quick look for you.
JL
ELEV8TE Website Development
https://www.elev8your.com
I just checked and we don't have an email from you. Please try to forward it again and we will check it on Monday when we are back in the office. Have a great weekend!
ELEV8TE Website Development
https://www.elev8your.com
<?php
// HTTP
define('HTTP_SERVER', 'http://www.santeerodholders.com/');
// HTTPS
define('HTTPS_SERVER', 'https://www.santeerodholders.com/');
// DIR
define('DIR_APPLICATION', '/home1/santeero/public_html/catalog/');
define('DIR_SYSTEM', '/home1/santeero/public_html/system/');
define('DIR_LANGUAGE', '/home1/santeero/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home1/santeero/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home1/santeero/public_html/system/config/');
define('DIR_IMAGE', '/home1/santeero/public_html/image/');
define('DIR_CACHE', '/home1/santeero/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/home1/santeero/public_html/system/storage/download/');
define('DIR_LOGS', '/home1/santeero/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/home1/santeero/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/home1/santeero/public_html/system/storage/upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'xxxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxxxxxxxx');
define('DB_DATABASE', 'xxxxxxxxxxxxxx');
define('DB_PORT', '3306');
define('DB_PREFIX', 'wyd_');
// HTTP
define('HTTP_SERVER', 'http://www.santeerodholders.com/');
// HTTPS
define('HTTPS_SERVER', 'https://www.santeerodholders.com/');
// DIR
define('DIR_APPLICATION', '/home1/santeero/public_html/catalog/');
define('DIR_SYSTEM', '/home1/santeero/public_html/system/');
define('DIR_LANGUAGE', '/home1/santeero/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home1/santeero/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home1/santeero/public_html/system/config/');
define('DIR_IMAGE', '/home1/santeero/public_html/image/');
define('DIR_CACHE', '/home1/santeero/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/home1/santeero/public_html/system/storage/download/');
define('DIR_LOGS', '/home1/santeero/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/home1/santeero/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/home1/santeero/public_html/system/storage/upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'xxxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxxxxxxxx');
define('DB_DATABASE', 'xxxxxxxxxxxxxx');
define('DB_PORT', '3306');
define('DB_PREFIX', 'wyd_');
On first message you posted an URL, in last post you posted another URL.
First URL is an wordpress website....second not opencart.
Where Opencart is installed? in subdirectory?
If yes, then in config you should have
you_url/opencart_directory
And If I guess... and you store is here: https://diggsfishing.com/store/
Then yo config should be like this:
First URL is an wordpress website....second not opencart.
Where Opencart is installed? in subdirectory?
If yes, then in config you should have
you_url/opencart_directory
And If I guess... and you store is here: https://diggsfishing.com/store/
Then yo config should be like this:
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'https://diggsfishing.com/store/');
// HTTPS
define('HTTPS_SERVER', https://diggsfishing.com/store/');
// DIR
define('DIR_APPLICATION', '/home2/santeero/public_html/diggsfishing/store/catalog/');
define('DIR_SYSTEM', '/home2/santeero/public_html/diggsfishing/store/system/');
define('DIR_LANGUAGE', '/home2/santeero/public_html/diggsfishing/store/catalog/language/');
define('DIR_TEMPLATE', '/home2/santeero/public_html/diggsfishing/store/catalog/view/theme/');
define('DIR_CONFIG', '/home2/santeero/public_html/diggsfishing/store/system/config/');
define('DIR_IMAGE', '/home2/santeero/public_html/diggsfishing/store/image/');
define('DIR_CACHE', '/home2/santeero/public_html/diggsfishing/store/system/storage/cache/');
define('DIR_DOWNLOAD', '/home2/santeero/public_html/diggsfishing/store/system/storage/download/');
define('DIR_LOGS', '/home2/santeero/public_html/diggsfishing/store/system/storage/logs/');
define('DIR_MODIFICATION', '/home2/santeero/public_html/diggsfishing/store/system/storage/modification/');
define('DIR_UPLOAD', '/home2/santeero/public_html/diggsfishing/store/system/storage/upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'xxxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxxxxxxxx');
define('DB_DATABASE', 'xxxxxxxxxxxxxx');
define('DB_PORT', '3306');
define('DB_PREFIX', 'wyd_');
Made that change and now I'm getting this:
www.diggsfishing.com is currently unable to handle this request.
I get this when I try https://www.diggsfishing.com/store
or
https://www.diggsfishing.com/store/admin
My homepage www.diggsfishing.com comes up fine.
www.diggsfishing.com is currently unable to handle this request.
I get this when I try https://www.diggsfishing.com/store
or
https://www.diggsfishing.com/store/admin
My homepage www.diggsfishing.com comes up fine.
Can you PM me and also copy and paste the bounce back message? Thanks!
ELEV8TE Website Development
https://www.elev8your.com