Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login/Reviews dont login/post


brodie123

Recommended Posts

Posted

Signup works, customer is created. But when they login it redirects them back to the main page, and nothing happens. If you try to buy a product it just sais 'Your cart is empty' and doesnt do anytthing. Same with writing a review, it doesnt write one, let alone give u a chance to. I think it has something to do with sessions but im not sure. The website is www.mimileather.com

 

I have included the code from my includex/configure.php:

define('HTTP_SERVER', 'http://mimileather.com');

define('HTTPS_SERVER', 'https://mimileather.com');

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

define('HTTP_COOKIE_DOMAIN', 'http://mimileather.com');

define('HTTPS_COOKIE_DOMAIN', 'https://mimileather.com');

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', '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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

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

define('DB_SERVER_USERNAME', xxx');

define('DB_SERVER_PASSWORD', 'xxx');

define('DB_DATABASE', 'xxx');

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

define('STORE_SESSIONS', 'mysql');

?>

 

Please help me, thanks :(

Archived

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

×
×
  • Create New...