Post by tahnmeep » Wed Jul 22, 2009 10:58 am

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

New member

Posts

Joined
Sun Jul 05, 2009 1:24 pm


Post by readyman » Wed Jul 22, 2009 2:52 pm

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


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by tahnmeep » Thu Jul 30, 2009 7:51 am

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!

New member

Posts

Joined
Sun Jul 05, 2009 1:24 pm


Post by gavin m » Thu Jul 30, 2009 4:06 pm

Just noticed I am having the same trouble. no ssl on any of the pages it should be.....

Active Member

Posts

Joined
Thu Jun 04, 2009 3:23 pm

Post by gavin m » Fri Jul 31, 2009 1:31 am

Got mine working.

@tahnmeep, I have sent you a PM with the detials of what was in my config.php file, I hope it helps.

Active Member

Posts

Joined
Thu Jun 04, 2009 3:23 pm

Post by tahnmeep » Fri Jul 31, 2009 9:16 am

THANK YOU GAVIN!

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', '');
    ?>

New member

Posts

Joined
Sun Jul 05, 2009 1:24 pm

Who is online

Users browsing this forum: No registered users and 80 guests