Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Looking for a thread but I didnt found yet

Andrew J

Recommended Posts

The cause of this 99.9% of the time is correct settings in the catalog/includes/configure.php for the cookie domain and cookie path settings.

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)



Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

This is my code:




  osCommerce, Open Source E-Commerce Solutions



  Copyright © 2003 osCommerce


  Released under the GNU General Public License



// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

  define('HTTP_SERVER', 'http://www.eware.hu'); // eg, http://localhost - should not be empty for productive servers

  define('HTTPS_SERVER', 'https://www.eware.hu'); // eg, https://localhost - should not be empty for productive servers

  define('ENABLE_SSL', false); // secure webserver for checkout procedure?

  define('HTTP_COOKIE_DOMAIN', 'www.eware.hu');

  define('HTTPS_COOKIE_DOMAIN', 'www.eware.hu');

  define('HTTP_COOKIE_PATH', '/catalog/');

  define('HTTPS_COOKIE_PATH', '/catalog/');

  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', '/companies/eware/html/catalog/');

  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');



// define our database connection

  define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

  define('DB_SERVER_USERNAME', 'xxxxx');

  define('DB_SERVER_PASSWORD', 'xxxxx');

  define('DB_DATABASE', 'eware');

  define('USE_PCONNECT', 'true'); // use persistent connections?

  define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'



Icant figured out whats wrong with it.

Can u check for me?



Link to comment
Share on other sites

Try removing the "www" from your cookie domains and setting 'store sessions' to "mysql" - that's helped others before.

Chris Dunning

osCommerce, Contributions Moderator Team


Please do not send me PM! I do not read or answer these often. Use the email button instead!


I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...