Hey everyone,
I'm trying to get my SSL hooked up with OpenCart 1.3.0. Before, the config.php files had a couple of slots for the SSL addresses... but now the config.php files are empty and I've tried a number of combinations of 1.2.8's config.php files with no luck. Any suggestions? Thanks!
PS here is the error I am receiving when I plug in the same config.php from 1.2.8:
Error: Table 'tahnee_emporium.cart_setting' doesn't exist
Error No: 1146
SELECT * FROM cart_setting
Might just be missing the "db_prefix" before the "cart setting" table name... my guess anyway. I'll look a little later - I don't have 1.3.0 right here on this PC.
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Sorry to bump, but I cannot seem to be able to fix this problem. It's the only thing holding me back from opening my shop.
I don't even see a cart_setting table in my db.
Since the config.php's under the root and /admin download as COMPLETELY BLANK FILES for 1.3.0, is there a completely different code layout for enabling SSL? I wouldn't know what to type in for these blank config's, or how to tweak the configs from 1.2.8 to work for 1.3.0.
I am not on a shared SSL, btw-- I have a certificate and it worked before!
Please help!
Thanks!
I don't even see a cart_setting table in my db.
Since the config.php's under the root and /admin download as COMPLETELY BLANK FILES for 1.3.0, is there a completely different code layout for enabling SSL? I wouldn't know what to type in for these blank config's, or how to tweak the configs from 1.2.8 to work for 1.3.0.
I am not on a shared SSL, btw-- I have a certificate and it worked before!
Please help!
Thanks!
THANK YOU GAVIN!
Thought I'd post what code Gavin sent me for anyone else who runs into this problem.
Thought I'd post what code Gavin sent me for anyone else who runs into this problem.
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://www.YOURSITE.co.uk/');
define('HTTP_IMAGE', 'http://www.YOURSITE.co.uk/image/');
// HTTPS
define('HTTPS_SERVER', 'https://www.YOURSITE.co.uk/');
define('HTTPS_IMAGE', 'https://www.YOURSITE.co.uk/image/');
// DIR
define('DIR_APPLICATION', '/home/DIRECTORY NAME/public_html/catalog/');
define('DIR_SYSTEM', '/home/DIRECTORY NAME/public_html/system/');
define('DIR_DATABASE', '/home/DIRECTORY NAME/public_html/system/database/');
define('DIR_LANGUAGE', '/home/DIRECTORY NAME/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home/DIRECTORY NAME/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home/DIRECTORY NAME/public_html/system/config/');
define('DIR_IMAGE', '/home/DIRECTORY NAME/public_html/image/');
define('DIR_CACHE', '/home/DIRECTORY NAME/public_html/cache/');
define('DIR_DOWNLOAD', '/home/DIRECTORY NAME/public_html/download/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'DBUSERNAME');
define('DB_PASSWORD', 'DBPASSWORD');
define('DB_DATABASE', 'DATABASE NAME');
define('DB_PREFIX', '');
?>
Who is online
Users browsing this forum: No registered users and 80 guests