Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

UPS Fatal Error Please Help


desmukh.cs

Recommended Posts

Hello everyone,

 

As i don't find any UPS Module in my OSC installation so i have installed UPS 1.8.3 Contribution. It calculates the Shipping Rates.(i am using paypal payment.) But when i am redirected to pay pal(sandbox test server) after log in i am getting the following error

 

Fatal error: Cannot instantiate non-existent class: httpclient in /homepages/24/d210780783/htdocs/shopping/haleofsale/catalog/includes/modules/shipping/ups.php on line 265

 

 

i know that this error is occurring because there is no class.. but i don't no how to solve it since i am new to OSC.

 

I am in urgent need of this !!!

 

Anyone Pls help me !!!

Link to comment
Share on other sites

Hello everyone,

 

As i don't find any UPS Module in my OSC installation so i have installed UPS 1.8.3 Contribution. It calculates the Shipping Rates.(i am using paypal payment.) But when i am redirected to pay pal(sandbox test server) after log in i am getting the following error

 

Fatal error: Cannot instantiate non-existent class: httpclient in /homepages/24/d210780783/htdocs/shopping/haleofsale/catalog/includes/modules/shipping/ups.php on line 265

 

 

i know that this error is occurring because there is no class.. but i don't no how to solve it since i am new to OSC.

 

I am in urgent need of this !!!

 

Anyone Pls help me !!!

 

 

 

Any one ?????

Link to comment
Share on other sites

Fatal error: Cannot instantiate non-existent class: httpclient in /homepages/24/d210780783/htdocs/shopping/haleofsale/catalog/includes/modules/shipping/ups.php on line 265

This was solved in usps.php by checking if that class is included just before the line that instantiates it (that would be your present line 265):

	  if (!class_exists('httpClient')) {
	include('includes/classes/http_client.php');
  }

  $http = new httpClient(); // line 265?

Link to comment
Share on other sites

Hi Jan Zonjee,

 

Thanks For your reply, that fixed the issue. i have installed PayPal IPN after the entire payment is completed when the customer returns to the merchant site i am getting the following error:

 

Fatal error: Cannot redeclare class order_total in /homepages/24/d210780783/htdocs/shopping/haleofsale/catalog/includes/classes/order_total.php on line 13

 

it occurs in checkout_process page.. i have checked for duplication of class but there is no things repeated twice.

 

any solution on this ???

 

Thanks !!!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...