Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login issues


atomicmoon

Recommended Posts

I created a new account and put in my email address and password to sign in only be taken back to the index page. I'm not sure if the problem is in configure.php or the headers are not being sent correctly. This is preventing me from further testing of my shop and going live.

Link to comment
Share on other sites

define('HTTP_SERVER', 'http://dreamyourboard.com');
define('HTTPS_SERVER', 'https://dreamyourboard.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'dreamyourboard.com/');
define('HTTPS_COOKIE_DOMAIN', 'dreamyourboard.com/');
define('HTTP_COOKIE_PATH', 'dreamshop/');
define('HTTPS_COOKIE_PATH', '/dreamshop/');
define('DIR_WS_HTTP_CATALOG', '/dreamshop/');
define('DIR_WS_HTTPS_CATALOG', '/dreamshop/');
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/mydream/public_html/dreamshop/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', 'mydream_osc1');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
?>

Link to comment
Share on other sites

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

define('HTTPS_SERVER', 'http://dreamyourboard.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'dreamyourboard.com'); // slash to many

define('HTTPS_COOKIE_DOMAIN', 'dreamyourboard.com'); // slash to many

h

define('HTTP_COOKIE_PATH', '/dreamshop/'); // missing slash

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

define('DIR_WS_HTTP_CATALOG', '/dreamshop/');

define('DIR_WS_HTTPS_CATALOG', '/dreamshop/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

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

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

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

Hi,

Missing a slash

 

you may have to also play with the

 

define('HTTP_COOKIE_DOMAIN', 'www.dreamyourboard.com');

define('HTTPS_COOKIE_DOMAIN', 'www.dreamyourboard.com');

 

define('HTTP_COOKIE_DOMAIN', '.dreamyourboard.com');

define('HTTPS_COOKIE_DOMAIN', '.dreamyourboard.com');

 

define('HTTP_COOKIE_DOMAIN', 'dreamyourboard.com');

define('HTTPS_COOKIE_DOMAIN', 'dreamyourboard.com');

 

PS: Why not install top level ??

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

What do you mean by missing a slash?

 

I would install it top level, but the way my website is designed is that the customer clicks on an image which then takes them to the shopping cart so I put the store in dreamyourboard.com/dreamshop. I tested it last night installing it in a sub-domain and that seems to work ok. The only thing about that is that I need to have my ssl cert installed for the sub.

Link to comment
Share on other sites

  • 1 month later...

Archived

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

×
×
  • Create New...