Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

404 error on login


Recommended Posts

I am getting the following 404 error when I try to login to a shop:



The requested URL /catalog/index.php was not found on this server.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


The url path looks incorrect - it is missing a directory. Where do I go to fix that?



Link to comment
Share on other sites

I think the settings on that file were correct - it works sometimes but not always. I tried changing the permissions to 400 and that seemed to solve it, but now it's happening again around my shopping cart. I installed the minimum price contribution and when I don't set a minimum price, it works. When I do, it gets the path wrong. Here's my config file:


define('HTTP_SERVER', 'http://www.romanoffproducts.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://protected.hostcentric.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.romanoffproducts.com');
 define('HTTPS_COOKIE_DOMAIN', 'protected.hostcentric.com/yxeftn/');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', 'protected.hostcentric.com/yxeftn/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/yxeftn/catalog/');


When I mouse over a link, the path looks correct, but it ends up leaving out /yxeftn/ and I get a 404

Link to comment
Share on other sites

This was done for the min order to check out contrib:


In checkout_confirmation.php, checkout_payment.php, checkout_shipping.php, and checkout_process.php pages after

 require(DIR_WS_CLASSES . 'order.php');

 $order = new order;

add the following lines:

// check order total minimum

 if ($order->info['subtotal'] < MIN_ORDER_AMOUNT) {

tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'));



I'm not sure what this is doing but I see SSL there so maybe it's significant.

Link to comment
Share on other sites


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

  • Create New...