LisaT Posted August 19, 2005 Posted August 19, 2005 I have a test store at Get the Gift. Everything is working just fine and test orders are being processed. However, when the user gets to the end of the checkout process and clicks the [continue] button, they get a page not found. You can test the process by using credit card no. 4111111111111111 I'd really like some ideas about what's gone wrong as I'm pretty new to OSc.
AlanR Posted August 19, 2005 Posted August 19, 2005 See: http://www.oscommerce.com/forums/index.php?sho...23entry672623 Once you've got the little program that's described running let us know and give us a link. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
LisaT Posted August 19, 2005 Author Posted August 19, 2005 Hi Alan, The link to the programme is:- https://secure.webhoster.co.uk/www.coolgift...talog/myenv.php It's all double-dutch to me, so I await your advice.
AlanR Posted August 19, 2005 Posted August 19, 2005 That's all good. So you've probably got an error in the catalog/includes/configure.php file. Post it here without the database details. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
LisaT Posted August 22, 2005 Author Posted August 22, 2005 Hi Alan, Here it is // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) ?define('HTTP_SERVER', 'http://www.getthegift.co.uk'); // eg, http://localhost - should not be empty for productive servers ?define('HTTPS_SERVER', 'https://secure.webhoster.co.uk'); // eg, https://localhost - should not be empty for productive servers ?define('ENABLE_SSL', true); // secure webserver for checkout procedure? ?define('HTTP_COOKIE_DOMAIN', 'www.getthegift.co.uk'); ?define('HTTPS_COOKIE_DOMAIN', 'https://secure.webhoster.co.uk/www.coolgiftsonline.co.uk/'); ?define('HTTP_COOKIE_PATH', '/catalog/'); ?define('HTTPS_COOKIE_PATH', '/catalog/'); ?define('DIR_WS_HTTP_CATALOG', '/catalog/'); ?define('DIR_WS_HTTPS_CATALOG', '/www.coolgiftsonline.co.uk/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/961/coolgifts/www.coolgiftsonline.co.uk/public_html/catalog/'); ?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); ?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); I also have STS installed. Will that make a difference? Here's the STS portion of the file just in case:- // STS: ADD: Define Simple Template System files define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/osc/'); define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php'); define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php'); define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php'); define('STS_DEFAULT_TEMPLATE', STS_TEMPLATE_DIR . 'sts_template.html'); define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php'); define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php'); define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php'); define('STS_FUNCTIONS', DIR_WS_INCLUDES . 'sts_functions.php'); // STS: EOADD
♥Vger Posted August 22, 2005 Posted August 22, 2005 Normally a shared ssl address would have the format https://secure.yourhost.com/yourdomain.com and not https://secure.yourhost.com/www.yourdomain.com - so you need to check that out with your hosting company. If I am right, then these are the settings you should use: define('HTTPS_SERVER', 'https://secure.webhoster.co.uk/coolgiftsonline.co.uk'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.coolgiftsonline.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'secure.webhoster.co.uk/coolgiftsonline.co.uk'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Why do you have 'getthegift' as one domain and 'coolgiftsonline' as another domain within one configure.php file? Vger
LisaT Posted August 22, 2005 Author Posted August 22, 2005 Hi Vger, I have changed everything to:- define('HTTP_SERVER', 'http://www.getthegift.co.uk'); define('HTTPS_SERVER', 'https://secure.webhoster.co.uk'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.getthegift.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'secure.webhoster.co.uk/getthegift.co.uk'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); I tried putting in 'https://secure.webhoster.co.uk/getthegift.co.uk' , but this made the domain 'https://secure.webhoster.co.uk/getthegift.co.uk/www.getthegift.co.uk which obviously didn't work Unfortunately now I can't even log-in!!
LisaT Posted August 22, 2005 Author Posted August 22, 2005 I've now chaged things back to:- define('HTTP_SERVER', 'http://www.getthegift.co.uk'); define('HTTPS_SERVER', 'https://secure.webhoster.co.uk/www.coolgiftsonline.co.uk'); I can now log-in again, and the continue button at the end of the checkout process is working too. Don't have a clue how this got fixed!!!
phenam Posted August 26, 2005 Posted August 26, 2005 Hi I am getting the same error. Everything goes smooth it's just when I hit continue on the checkout_success.php page it sends me to this URL "https://host371.ipowerweb.com/~orderhip/store/checkout_success.php?action=update&osCsid=b946df25b9c9bc85c25ab84a55cb4d30" and I get a HTTP 404 error. I have the PWA_0.82_1_2 contribution installed and that's about it. Here are my config settings: define('HTTP_SERVER', 'http://orderhiphop.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://host371.ipowerweb.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://orderhiphop.com'); define('HTTPS_COOKIE_DOMAIN', 'https://host371.ipowerweb.com/~orderhip'); define('HTTP_COOKIE_PATH', '/store/'); define('HTTPS_COOKIE_PATH', '/store/'); define('DIR_WS_HTTP_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/~orderhip/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/orderhip/public_html/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Any help would be greatly appreciated!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.