george-davis Posted March 19, 2009 Share Posted March 19, 2009 (edited) hi, i had someone install the PP payment option on my website, and have found that they didn't do their due diligence by testing both the CC side and the PP express side. I have been receiving the following error and find that something is getting hung in the ups.php file at line 265. has anyone received this error? i called PP and their techies cannot seem to figure it out. any help would be appreciated ! here is the error; Fatal error: Class 'httpClient' not found in /home/xxxxxxx/public_html/myshop/includes/modules/shipping/ups.php on line 265 if needed i can post the scripts. (btw: i searched for this error and made it thru 15 pages... then i noticed that there are over 130 pages to this thead) thanks in advance, george Edited March 19, 2009 by george-davis Quote Link to comment Share on other sites More sharing options...
Guest Posted March 25, 2009 Share Posted March 25, 2009 I'm having the exact same problem. Anyone have this and fix it? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2009 Share Posted April 14, 2009 No one? I still can't figure this one out. Any assistance would be appreciated!!!! Quote Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2009 Share Posted April 15, 2009 Found a solution to the error message: Fatal error: Class 'httpClient' not found in /home/xxxxxx/public_HTML/catalog/includes/modules/shipping/ups.php on line 265 Find this at line 265: $http = new httpClient(); if ($http->Connect('www.ups.com', 80)) { $http->addHeader('Host', 'www.ups.com'); $http->addHeader('User-Agent', 'osCommerce'); $http->addHeader('Connection', 'Close'); And replace with this: if (!class_exists('httpClient')) { include('includes/classes/http_client.php'); } $http = new httpClient(); if ($http->Connect('www.ups.com', 80)) { $http->addHeader('Host', 'www.ups.com'); $http->addHeader('User-Agent', 'osCommerce'); $http->addHeader('Connection', 'Close'); I am using 2.2rc2a and this worked on my site. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2009 Share Posted April 15, 2009 Thank you thank you! - paypal payment has been down for awhile now. This should work... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.