osCmax v2.5 User Manual
Results 1 to 2 of 2

problems with account, Checkout, log in

This is a discussion on problems with account, Checkout, log in within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I recently switched over taking credit cards on line and obviously need to secure my site. Unfortunately this has shut ...

      
  1. #1
    New Member
    Join Date
    Mar 2004
    Posts
    14
    Rep Power
    0


    Default problems with account, Checkout, log in

    I recently switched over taking credit cards on line and obviously need to secure my site. Unfortunately this has shut my site down.. or at least stopped the processing of orders. Here's the problem.

    Site functions well on any http page, but the moment I move to an https page it hangs and fails to find the page.

    I have my own SSL cert via cacert.org

    I am Running Apache 2 on a win 2003 server platform. My configs are:

    catalog/includes/config.php

    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://theoptometrists.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://theoptometrists.com'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'theoptometrists.com');
    define('HTTPS_COOKIE_DOMAIN', 'theoptometrists.com');
    define('HTTP_COOKIE_PATH', '/catalog/');
    define('HTTPS_COOKIE_PATH', '/catalog/');
    define('DIR_WS_HTTP_CATALOG', '/');
    define('DIR_WS_HTTPS_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/');

    //Added for BTS1.0
    define('DIR_WS_TEMPLATES', 'templates/');
    define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/');
    define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/');
    //End BTS1.0
    define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
    define('DIR_FS_CATALOG', 'C:/www/webroot/catalog/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

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

    catalog/admin/includes/config

    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://www.theoptometrists.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTP_CATALOG_SERVER', 'http://theoptometrists.com');
    define('HTTPS_CATALOG_SERVER', 'https://theoptometrists.com');
    define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
    define('DIR_FS_DOCUMENT_ROOT', 'C:/www/webroot/catalog/'); // where the pages are located on the server
    define('DIR_WS_ADMIN', '/admin/'); // absolute path required
    define('DIR_FS_ADMIN', 'C:/www/webroot/catalog/admin/'); // absolute pate required
    define('DIR_WS_CATALOG', '/'); // absolute path required
    define('DIR_FS_CATALOG', '/'); // absolute path required
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
    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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

    // define our database connection
    define('DB_SERVER', 'xxx.xxx.xxx.xxx'); // eg, localhost - should not be empty for productive servers
    define('DB_SERVER_USERNAME', 'xxxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxxx');
    define('DB_DATABASE', 'xxxxxxxxxx');
    define('USE_PCONNECT', 'true'); // use persisstent connections?
    define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    ?>


    I host the site myself so obviously changing what ever files is not a concern.

    Any help is always appreciated.

    Kevin

  2. #2
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    9


    Default

    you need to either:

    1. symlink your http and https docs folders
    or
    2. copy all files to both directories.

    Natively windows does not support symlinking but there are ways around it. There are a couple of files in the Win2K Resource Kit called linkd.exe and delrp.exe. These might do the trick for you, there is a MS tech note on it here, http://support.microsoft.com/default...;EN-US;q205524 This mehtod only works for symlinking folders and not files, but it should get you started.

    Better yet, if your going to host, do the right thing and host LINUX :P

Similar Threads

  1. header bar css not showing my account, cart, checkout in IE
    By cawheelz in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-13-2005, 07:06 PM
  2. Checkout without account functioning funny...
    By Will in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 09-03-2004, 12:14 AM
  3. Create Account,Checkout,My Account, Language Pictures probs!
    By Mikey in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 03-08-2004, 10:20 PM
  4. checkout and my account
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 12-14-2003, 10:20 AM
  5. Getting error when going to my account or checkout..
    By ChanBe in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 10-29-2003, 02:31 PM

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
  •