Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

checkout_shipping.php NOT FOUND


bigassmotors

Recommended Posts

So I am new to this all, and stupid but I am completely confused about some things that are not presently functional.

 

I have Oscommerce installed, and pretty much everything is working, except for when I go to checkout. checkout_shipping.php is not found, even though it is definately in the correct directory. Same is true for Checkout_shipping.

 

Where should I start?

Link to comment
Share on other sites

This is a common problem with shared servers, bigassmotors. Your first step would be to check the file path. OSCommerce uses main root paths that are writting and configured in two files.

 

catalog/admin/includes/configure.php This is coded for a Secure Socket Layer(SSL)

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'https://host415.osCommerce.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'https://host415.osCommerce.com');
 define('HTTPS_CATALOG_SERVER', 'https://host415.osCommerce.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/osCommer/public_html/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/~osCommer/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/osCommer/public_html/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/~osCommer/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/osCommer/public_html/catalog/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'osCommer_danny123');
 define('DB_SERVER_PASSWORD', 'password');
 define('DB_DATABASE', 'osCommer_osCommerce');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

 

catalog/includes/configure.php This is coded for a Secure Socket Layer(SSL)

 

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'https://host415.osCommerce.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://host415.osCommerce.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'osCommerce.com');
 define('HTTPS_COOKIE_DOMAIN', 'osCommerce.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/~osCommer/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/~osCommer/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/osCommer/public_html/catalog/');
 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'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'osCommer_danny123');
 define('DB_SERVER_PASSWORD', 'password');
 define('DB_DATABASE', 'osCommer_osCommerce');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

What you have to do is edit these files like I have posted here for an example. Note the root paths on all the "define"marks. This is your problem. If you need help, e-mail me your two files and I will edit them for you. Good luck. :)

"Find a way to break their code." -Bill Gates

 

knight7.gif

Link to comment
Share on other sites

  • 4 weeks later...

Archived

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

×
×
  • Create New...