Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

404 error after checkout


winkphoto

Recommended Posts

Posted

I am able to process an order. When I get the the LAST page, where I can see the order and the "success" info, there is a continue button. When I hit the continue button, I get a 404 error

 

 

This is the URL when I get to the last page of the checkout BEFORE I choose to continue:

 

This it the URL that the continue button tries to send me to when I ge tthe 404 error

 

Does anyone have any idea what is going on here?

Posted

I was having the same problem. I'm using a shared SSL and it was working fine for everything except the "continue" button on the checkout_success page, which would give a "404" error.

 

I made an adjustment to my includes/configure.php file and it works fine now. Seems it needed an entry for HTTPS_CATALOG.

 

This is what I had:

define('HTTP_SERVER', 'http://www.domain.com');
 define('HTTPS_SERVER', 'https://www.secure-domain.com/~username');
 define('ENABLE_SSL', true);
 define('HTTP_COOKIE_DOMAIN', 'www.domain.com');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/catalog_name/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/catalog_name/');
 define('DIR_WS_HTTPS_CATALOG', '');

 

And this is what I changed it to:

define('HTTP_SERVER', 'http://www.domain.com');
 define('HTTPS_SERVER', 'https://www.secure-domain.com/~username');
 define('ENABLE_SSL', true);
 define('HTTP_COOKIE_DOMAIN', 'www.domain.com');
 define('HTTPS_COOKIE_DOMAIN', 'https://www.secure-domain.com/~username');
 define('HTTP_COOKIE_PATH', '/catalog_name/');
 define('HTTPS_COOKIE_PATH', '/catalog_name/');
 define('DIR_WS_HTTP_CATALOG', '/catalog_name/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog_name/');

 

Without the HTTPS_CATALOG entry, it was trying to send me to https://www.secure-domain.com/~username//username/index.php. Now that I defined the HTTPS_CATALOG, it sends me to https://www.secure-domain.com/~username/index.php.

 

Hope that helps.

  • 3 weeks later...

Archived

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

×
×
  • Create New...