Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cookies & osCsid problems


Aceicol

Recommended Posts

Hi

 

I need to get rid of the osCsid in the address bar, I understand that this should disappeer after a few clicks on the site, however it doesn't on my site, does anyone know why. I have other sites on the same server that disapear correctly just not this one.

 

The site is available to view at www.falernianwines.co.uk/index.php

 

I have tried to force cookies but I can't use the Admin > Configuration > Sessions > force cookies as the site always states that 'cookies are disabled', even though they aren't. I have checked this in both FF and IE.

 

I have had a look around my configure.php file but can't see the problem. Here is my configure.php file.

 

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

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/sites/falernianwines.com/public_html/');
 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', '********');
 define('DB_SERVER_PASSWORD', '*******1');
 define('DB_DATABASE', '********');
 define('USE_PCONNECT', false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

Please help as desperation is beginning to creep in and I need this finished ASAP. I would be very grateful for any support on this.

 

TIA

Alex

Link to comment
Share on other sites

I have the same issue but my text already looks compliant based on your response above. Any thougts on why mine doesn't work?

 

define('HTTP_SERVER', 'http://pixiedust.gxwc.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://pixiedust.gxwc.com'); // eg, https://localhost - should not be empty for productive servers

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

 

define('HTTP_COOKIE_DOMAIN', '.pixiedust.gxwc.com');

define('HTTPS_COOKIE_DOMAIN', '.pixiedust.gxwc.com');

define('HTTP_COOKIE_PATH', HTTP_SERVER . '/');

define('HTTPS_COOKIE_PATH', HTTPS_SERVER . '/');

 

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/');

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG','/home/httpd/vhosts/gxwc.com/subdomains/pixiedust/httpdocs/');

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

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/pub/');

 

 

 

 

define('HTTP_COOKIE_DOMAIN', '.falernianwines.co.uk');

define('HTTPS_COOKIE_DOMAIN', '.falernianwines.co.uk');

 

You have a double ' at the end as well, which I'm surprised didn't cause an error, unless it's just a typo

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...