OSCommerce Cookie Fix Help

Discussion in 'Scripts' started by klown, May 6, 2007.

  1. #1
    Just wondering if anybody knows how to fix this error. I'm hoping that the error isn't a result of running OSCommerce off of my local wamp server. Anyhow I just setup the Ultimate SEO Friendly URLS Contrib and wanted to force cookie usage so I could get rid of the session IDs. Everything worked great until I noticed that when I tried to login, or use the cart it didn't think I had cookies enabled (which I did).

    After digging around I found several support pages which didn't really give me any kind of help. I guess I need to change my configuration file but I just can't figure it out. Here is the code from my config file.

      define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers
      define('HTTPS_SERVER', 'https://localhost'); // eg, https://localhost - should not be empty for productive servers
      define('ENABLE_SSL', true); // secure webserver for checkout procedure?
      define('HTTP_COOKIE_DOMAIN', 'localhost');
      define('HTTPS_COOKIE_DOMAIN', 'localhost');
      define('HTTP_COOKIE_PATH', '/oscommerce/oscommerce-2.2ms2-060817/catalog/');
      define('HTTPS_COOKIE_PATH', '/oscommerce/oscommerce-2.2ms2-060817/catalog/');
      define('DIR_WS_HTTP_CATALOG', '/oscommerce/oscommerce-2.2ms2-060817/catalog/');
      define('DIR_WS_HTTPS_CATALOG', '/oscommerce/oscommerce-2.2ms2-060817/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', 'C:/wamp/www/oscommerce/oscommerce-2.2ms2-060817/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', 'localhost'); // eg, localhost - should not be empty for productive servers
      define('DB_SERVER_USERNAME', 'root');
      define('DB_SERVER_PASSWORD', '');
      define('DB_DATABASE', 'commerce');
      define('USE_PCONNECT', 'false'); // use persistent connections?
      define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
    PHP:
    Any help is greatly appreciated!
     
    klown, May 6, 2007 IP
  2. klown

    klown Peon

    Messages:
    2,093
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Bump, I could really use some help with this if somebody has it.
     
    klown, May 6, 2007 IP
  3. BigHostingService

    BigHostingService Banned

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well, it Happened to me before, i thought it was My Fantastico, we got It fixed if you need Any top Quality hosting add me on MSN:
     
    BigHostingService, May 6, 2007 IP
  4. klown

    klown Peon

    Messages:
    2,093
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #4
    This has nothing to do with fantastico, read the post and don't add me to msn then spam me. As I said in the post I'm working on a local wamp server.
     
    klown, May 6, 2007 IP