Guest Posted January 10, 2006 Posted January 10, 2006 I just moved my OSC M2.2 from my root directory to a directory "store/" Now, almost all the order process works correctly. The cost of the products in cart is correct and in checkout_shipping.php, shipping is calculated and displayed. However, in page checkout_confirmation.php, the shipping cost is no longer displayed. I have also noticed that no data concerning new orders is written to table orders_total. Data seems to be written to other tables correctly. I am confident that somewhere in includes/configure.php, I have forgotten to program a path correctly. Here is the file contents: define('HTTP_SERVER', 'http://www.perfectproof.com/store'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.perfectproof.com/store'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.perfectproof.com'); define('HTTPS_COOKIE_DOMAIN', 'www.perfectproof.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', 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/perfectproof.com/httpdocs/store/'); define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/perfectproof.com/httpdocs/store/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Can anyone help me?
Guest Posted January 10, 2006 Posted January 10, 2006 try this define('HTTP_SERVER', 'http://www.perfectproof.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.perfectproof.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.perfectproof.com'); define('HTTPS_COOKIE_DOMAIN', 'www.perfectproof.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', 'store/'); define('DIR_WS_HTTPS_CATALOG', 'store/'); 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/perfectproof.com/httpdocs/store/'); define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/perfectproof.com/httpdocs/store/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.