Results 1 to 6 of 6

pls help, newbie with oscommerce about SSL

This is a discussion on pls help, newbie with oscommerce about SSL within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; hi everyone, my web hosting offers a share SSL, I've enable it. but don't know how I can use this ...

      
  1. #1
    New Member
    Join Date
    Oct 2005
    Posts
    5
    Rep Power
    0


    Default pls help, newbie with oscommerce about SSL

    hi everyone, my web hosting offers a share SSL, I've enable it.
    but don't know how I can use this share SSL in the eshop page.
    I've read many posts about changing the configure.php file, and I'm so confused...... don't know what to do......
    I've asked for help from the web hosting and they don't care.

    Pls help super newbie

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default RE: pls help, newbie with oscommerce about SSL

    What is your HTTPS URL and HTTP URL?

    It may be best to re-run the INSTALLATION - but don't import the database.

    Make sure sessions is stored in the database!

    If you have problems then post your catalog/includes/configure.php (less the DB info) and we can help.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    New Member
    Join Date
    Oct 2005
    Posts
    5
    Rep Power
    0


    Default

    this is the code of /catalog/includes/configure.php
    Do I have to change the other configure.php file in order to make it work??? how do I define the database? Pls help I don't really know
    how to edit and configure the oscommerce thanks

    define('HTTP_SERVER', 'http://eekpigs.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://eekpigsssl.c2.hostexcellence.com/'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', true); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', '');
    define('HTTPS_COOKIE_DOMAIN', '');
    define('HTTP_COOKIE_PATH', '');
    define('HTTPS_COOKIE_PATH', '');
    define('DIR_WS_HTTP_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '/catalog/');
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

    define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
    define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

    // define our database connection
    define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers
    define('DB_SERVER_USERNAME', '');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', 'osCommerce');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Quote Originally Posted by replogle
    this is the code of /catalog/includes/configure.php
    Do I have to change the other configure.php file in order to make it work??? how do I define the database? Pls help I don't really know
    how to edit and configure the oscommerce thanks

    define('HTTP_SERVER', 'http://eekpigs.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://eekpigsssl.c2.hostexcellence.com/'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', true); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', '');
    define('HTTPS_COOKIE_DOMAIN', '');
    define('HTTP_COOKIE_PATH', '');
    define('HTTPS_COOKIE_PATH', '');
    define('DIR_WS_HTTP_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '/catalog/');
    Add in the missing information....

    Possably:
    define('HTTP_COOKIE_DOMAIN', 'eekpigs.com');
    define('HTTPS_COOKIE_DOMAIN', 'eekpigsssl.c2.hostexcellence.com');
    define('HTTP_COOKIE_PATH', '/catalog/');
    define('HTTPS_COOKIE_PATH', '/catalog/');

  5. #5
    New Member
    Join Date
    Oct 2005
    Posts
    5
    Rep Power
    0


    Default

    thanks so much for replying my post, I've added the changes you told me but when I try my eshop the SSL connection didn't activate, so the purchase was done without any security. Can you please tell me what else I should change to get it right many thanks

    eshop site: http://eekpigs.com/catalog/index.php

  6. #6
    New Member
    Join Date
    Oct 2005
    Posts
    5
    Rep Power
    0


    Default

    I finally understand why there is 2 configure.php file, and know that Oscommerce will automatically choose SSL or non SSL to display.
    The problem that I have is, I've changed and edited both configure.php as you said, but it when I click on checkout the SSL didn't kick in.......
    besides changing the configure.php file should I do something else before the Oscommerce will work.
    I'm using firefox web browser, I initially thought it was not compatible with OS, but I tried using IE explorer but still the same problem.

    Any experts willing to help me please, I've little knowledge about PHP or oscommerce thank you

Similar Threads

  1. Newbie needs some help please
    By countingsheep in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 03-30-2006, 06:07 AM
  2. login and create account[oscommerce 2.2] newbie needs help!
    By syaiful_bahri in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 03-19-2005, 01:33 AM
  3. HELP NEWBIE HERE!!!!!!!
    By handysf in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 01-14-2004, 10:27 PM
  4. Newbie Needs help.
    By latahani in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-26-2003, 07:32 AM
  5. The Ultimate OSCOMMERCE newbie Requesting Help, Please...
    By miko in forum osCommerce 2.2 Installation Help
    Replies: 7
    Last Post: 01-23-2003, 08:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •