imqqmi Posted January 19, 2009 Share Posted January 19, 2009 I've moved a webshop from domain A to domain B on the same host but I can't seem to be able to check out. I've narrowed it down to this: - Copy site - Copy mySQL database - edit configure.php in includes and admin/includes to reflect the new domain Here's the rub: I made a typo in this line in configure.php: define('HTTP_COOKIE_DOMAIN', 'www.e-plant.nl'); I've now changed it to (note the http:// bit) define('HTTP_COOKIE_DOMAIN', 'http://www.e-plant.nl'); to correct it. The rest of the configure.php looks like this (excluding database info) define('HTTP_SERVER', 'http://www.e-plant.nl'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://www.e-plant.nl'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalogus/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalogus/'); 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', 'd:/www/e-plant.nl/www/catalogus/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Session directory is set to d:/www/e-plant.nl/www/catalogus/tmp I've tried dropping the sessions in the database and cached in tmp folder to no avail. I can't check out now and the osCSID won't show up in the URL when I hover over the check out button. Do I need to reset a variable in the database or something? Everything else is the same file for file and the database too, in fact when I recreated the typo on the old domain, it won't work there either anymore. Anyone any idea how I can bring it back to life? I would be most grateful for any tips, thanks! Kind regards Josh Link to comment Share on other sites More sharing options...
imqqmi Posted January 19, 2009 Author Share Posted January 19, 2009 Never mind, I've only had to clean out all cookies in my browser (firefox), then it'll get a new ID. I've moved a webshop from domain A to domain B on the same host but I can't seem to be able to check out. I've narrowed it down to this:- Copy site - Copy mySQL database - edit configure.php in includes and admin/includes to reflect the new domain Here's the rub: I made a typo in this line in configure.php: define('HTTP_COOKIE_DOMAIN', 'www.e-plant.nl'); I've now changed it to (note the http:// bit) define('HTTP_COOKIE_DOMAIN', 'http://www.e-plant.nl'); to correct it. The rest of the configure.php looks like this (excluding database info) define('HTTP_SERVER', 'http://www.e-plant.nl'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://www.e-plant.nl'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalogus/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalogus/'); 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', 'd:/www/e-plant.nl/www/catalogus/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Session directory is set to d:/www/e-plant.nl/www/catalogus/tmp I've tried dropping the sessions in the database and cached in tmp folder to no avail. I can't check out now and the osCSID won't show up in the URL when I hover over the check out button. Do I need to reset a variable in the database or something? Everything else is the same file for file and the database too, in fact when I recreated the typo on the old domain, it won't work there either anymore. Anyone any idea how I can bring it back to life? I would be most grateful for any tips, thanks! Kind regards Josh Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.