PDA

View Full Version : 404 on checkout_success.php



steveo
11-02-2003, 05:55 AM
Hi,

I just made a stock install of MS2-MAX 1.5 and am very impressed with the bundled features (I have a regular OSc store also and will consider using this on the next upgrade) Anyway this install is completely stock so far and I am just testing out the features as my client will need the credit card module. I am using shared SSL which seems to work ok when entering the credit card details.

We get as far as the "Your order has been processed - thanks for shopping" etc message and then pressing continue is giving an 404 Page not found error on the following url https://svr18.edns1.com/~books3c/checkout_success.php?action=update&osCsid=xxxxx Checkout success is obviously there and if I strip back the query string it seems to work ok.

So I am thinking its the action=update causing the problems.

Has anyone had this happen before and if so whats the remedy?

Thanks,

Steveo

Anonymous
11-03-2003, 05:25 AM
just for the record in case anyone else is having problems with this I have managed to fix it. And this applies to all Oscommerce Editions not just the MAX version as I installed the standard version this morning and it had the same problem. Anyway here is my configure.php


// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.3cbooksupplies.co.uk'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://svr18.edns1.com/~books3c'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.3cbooksupplies.co.uk');
define('HTTPS_COOKIE_DOMAIN', 'svr18.edns1.com/~books3c');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

This is for a shop running on the root of the domain i.e. http://www.3cbooksupplies.co.uk/index.php. Hope this is of help to someone!

nfmg
10-08-2004, 07:35 AM
Hi,
I have had this problem on a couple setups. I finally found this post and apparently solved the problem. I thought I would post another example with a non-root catalog.

This is the config that works.



define('HTTP_SERVER', 'http://www.bibleinlivingsound.org'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.gospelcom.net/bls'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.bibleinlivingsound.org/bls');
define('HTTPS_COOKIE_DOMAIN', 'www.gospelcom.net');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/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/');
/* removed for bts 1.2a
//Added for BTS1.0
define('DIR_WS_TEMPLATES', 'templates/');
define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/');
define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/');
//End BTS1.0
*/
define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/usr/local/www/gospelcom/docs/bls/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');


The way I had it before was like this:



define('HTTP_SERVER', 'http://www.bibleinlivingsound.org'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.gospelcom.net'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.bibleinlivingsound.org');
define('HTTPS_COOKIE_DOMAIN', 'www.gospelcom.net');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/bls/catalog/');


which actually worked except for the afore mentioned problem.

Cheers,
Tim