Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

We have detected that your browser does not support cookies, or has set cookies to be disabled.


zains

Recommended Posts

Posted

I've just install a fresh copy off osc template on my local machine..however I keep facing the error message

We have detected that your browser does not support cookies, or has set cookies to be disabled. when trying to add something to the cart.. its not a browser issue as i have allowed cookies

 

the following is a snippet from configure.php ..wot do i need to change in order for my shop to work!! thanks in advance..

 

 

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

Posted
...We have detected that your browser does not support cookies, or has set cookies to be disabled. when trying to add something to the cart.. its not a browser issue as i have allowed cookies

Have a look at the setting: Configuration -> Sessions -> Force Cookie Use. It needs to be false.

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Archived

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

×
×
  • Create New...