desmukh.cs Posted August 14, 2008 Share Posted August 14, 2008 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 More sharing options...
desmukh.cs Posted August 18, 2008 Author Share Posted August 18, 2008 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 More sharing options...
Jan Zonjee Posted August 18, 2008 Share Posted August 18, 2008 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 More sharing options...
desmukh.cs Posted August 19, 2008 Author Share Posted August 19, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.