Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error involving "checkout_shipping.php" file


Mark Jankowski

Recommended Posts

I've searched ALL the forums and read ALL the manuals and have not found a solution to the following issue.

I believe I have everything setup and right up to the point of Checkout I get the following error message.

 

Fatal error: Cannot instantiate non-existent class: shipping in /home/hsphere/local/home/anthonym/cellularlites.com/shop/osc/checkout_shipping.php on line 64

 

The code looks like this on Line 64

 

// load all enabled shipping modules

require(DIR_WS_CLASSES . 'shipping.php');

LINE 64 >>>> $shipping_modules = new shipping;

 

if ( defined('MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING') && (MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING == 'true') ) {

$pass = false;

 

switch (MODULE_ORDER_TOTAL_SHIPPING_DESTINATION) {

case 'national':

if ($order->delivery['country_id'] == STORE_COUNTRY) {

$pass = true;

}

break;

case 'international':

if ($order->delivery['country_id'] != STORE_COUNTRY) {

$pass = true;

}

break;

case 'both':

$pass = true;

break;

}

 

$free_shipping = false;

if ( ($pass == true) && ($order->info['total'] >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) {

$free_shipping = true;

 

include(DIR_WS_LANGUAGES . $language . '/modules/order_total/ot_shipping.php');

}

} else {

$free_shipping = false;

}

 

The Shipping Method is Flat Rate

 

Can somebody PLEASE help us resolve this.

 

Thanks in advance.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...