Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

404 Error - HELP!


scoopy

Recommended Posts

Hi there

 

I'm having issues with a site that I've transfered to a new hosting. I'm getting this error:

 

Not Found

The requested URL /shop/checkout_shipping.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.

Apache/2 Server at www.secure.handmadenz.com Port 443

 

It also has a really odd URL :

 

https://www.secure.handmadenz.com/shop/checkout_shipping.php?file:///C|/Documents%20and%20Settings/luke/Local%20Settings/Temp&osCsid=7281d737aafaa302044c20388a94a104

 

Check out the "file:///C|/Documents%20and%20Settings/luke/Local%20Settings/Temp" in the middle of the URL

 

I'm assuming this is an issue with my config file:

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.handmadenz.com');
define('HTTPS_SERVER', 'https://www.secure.handmadenz.com');
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'http://www.handmadenz.com');
define('HTTPS_COOKIE_DOMAIN', 'https://www.handmadenz.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');
define('DIR_WS_IMAGES', '/shop/images/');
define('DIR_WS_ICONS', '/shop/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'xxxxx');
define('DB_SERVER_PASSWORD', 'xxxxxx');
define('DB_DATABASE', 'xxxxxx');
 define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql');
?>

 

Any thoughts much appreciated.

 

Scoopy

No external links here.  

Link to comment
Share on other sites

OK, got rid of the funny path from in the middle my URLs. But still getting 404 errors.

 

Also getting:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request

 

When trying to access Admin.

 

Any ideas friends?

 

Luke

No external links here.  

Link to comment
Share on other sites

  • 2 weeks later...

define('HTTPS_SERVER', 'https://www.secure.handmadenz.com');

 

Why are you using a subdomain for HTTPS?

 

You would have to have all your files for checkout in the subdomain, and to prevent security warnings you would also need to purchase the SSL for that subdomain or your customers will get errors from the browsers.

 

Unless you specifically want to switch to a subdomain to checkout and bought the SSL to do so, change that to:

define('HTTPS_SERVER', 'https://www.handmadenz.com');

 

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...