dritanlumshi Posted December 15, 2002 Posted December 15, 2002 I dont know how I will do with the UPS module. How do I have to configure it to accept delivery by UPS. When I fill the form it gives me that an error has ocurred with the UPS and for UPS delivery please contact the store owner. Anyone can help me!!! hello
blueline Posted December 17, 2002 Posted December 17, 2002 Yea, it's really weird. I just installed the newest snapshot on my current in-home server for demo stuff, and I am getting the same thing....but for every shipping method....not just UPS. Shipping Method United Parcel Service An error occured with the UPS shipping calculations. If you prefer to use UPS as your shipping method, please contact the store owner. -Chris Chris Sullivan
rossdev Posted December 19, 2002 Posted December 19, 2002 If you don't have any weights for your products and the minimum tear weight is not set then you will get that error. Brian.
Guest Posted December 19, 2002 Posted December 19, 2002 Happened to me also. In the admin section, you need to edit the shipping/packaging link under Configuration. Set the ship from ZIP code, and your country code, (US if United States). The rest can be left in its default setting.
blueline Posted December 19, 2002 Posted December 19, 2002 Tha's all set, but I am still having problems. I just did a clean install on my local machine, and all of the test products are still in the db. I assume they all have weights associated with them. I checked the store and shipping config in admin, and it is all set up correctly....yet I am still getting this damn error. Any other ideas? Thanks, -Chris Chris Sullivan
blueline Posted December 19, 2002 Posted December 19, 2002 Also, I tried to use the ups.php module file off of the newest snapshot, and now I get this error when I try to load checkout_payment.php on my site...I am so confused as to why I can't get this to work. Fatal error: Cannot instantiate non-existent class: httpclient in /home/blueline/public_html/shop/includes/modules/shipping/ups.php on line 219 And the code on line 219 of ups.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'); if ($http->Get('/using/services/rave/qcostcgi.cgi?' . $request)) $body = $http->getBody(); $http->Disconnect(); } else { return 'error'; } Thanks all. -Chris Chris Sullivan
Ajeh Posted December 19, 2002 Posted December 19, 2002 Turn off the UPS module in Admin ... check your configuration table via phpMyAdmin and make sure all the references for it are gone, if not delete them, and then turn it on again in Admin
blueline Posted December 19, 2002 Posted December 19, 2002 Thanks Linda. Question though....what field in the congif table am I looking for? I know this is probably a dumb question, but... Thanks, Chris Chris Sullivan
Ajeh Posted December 19, 2002 Posted December 19, 2002 Sort on configuration_key and go to the MODULE_SHIPPING_* section and there should be no UPS in the keyname if it is turned off.
blueline Posted December 19, 2002 Posted December 19, 2002 I did that. There isn't anything that related to module_shipping anything. Not sure. Anyways, I went back into admin, and it still doesn't work. -Chris Chris Sullivan
Ajeh Posted December 19, 2002 Posted December 19, 2002 If you do not have any configuration_keys that start with MODULE_SHIPPING then you do not have any turned on. Do you see the Shipping modules in the Admin and the little green light is on vs the little red light? And what snapshot are you?
blueline Posted December 19, 2002 Posted December 19, 2002 Yep. I have flat rate turned on, and ups turned off. I know how to enable and disable the shipping options in admin. I am running a new release snapshot of osC...just installed it on my new server from an install script provided by my hosting company. I don't know how to check the date of the snapshot on the server. I am also running osC on my local maching, with a 12/12/2002 snapshot and I am getting this error: This is currently the only shipping method available to use on this order. United Parcel Service An error occured with the UPS shipping calculations. If you prefer to use UPS as your shipping method, please contact the store owner. For some reason, I just can't get this UPS module to work on either machine....my PC and my server. My PC is showing the error above, while the server is just showing: Fatal error: Cannot instantiate non-existent class: httpclient in /home/blueline/public_html/shop/includes/modules/shipping/ups.php on line 219 I did try downloading the newest snapshot, and I updated all of the module files. I don't know if this is causing the errors or not. Thanks, Chris Chris Sullivan
Ajeh Posted December 19, 2002 Posted December 19, 2002 And you set up your Zip code and country in the Admin?
blueline Posted December 19, 2002 Posted December 19, 2002 Yes I did...in both: the admin on my pc the admin on my server Still stumped.... -Chris Chris Sullivan
Ajeh Posted December 19, 2002 Posted December 19, 2002 I am confused ... if UPS is turned off ... and you do not have any MODULE_SHIPPING_* keys referencing UPS ... then how is it magically referring to it?
blueline Posted December 19, 2002 Posted December 19, 2002 Linda, I'm sorry. Duh! I forgot that I just turned UPS back on, and then the UPS error showed up. I turned UPS OFF now, and the error disappears.... Sorry for the confusion. Chris Chris Sullivan
blueline Posted December 19, 2002 Posted December 19, 2002 The problem is that I still need to figure out how to fix it. I do need to use the UPS module, so I still need to figure out a way to enable it, and have it actually work when called upon at checkout. Thanks, -Chris Chris Sullivan
Ajeh Posted December 19, 2002 Posted December 19, 2002 Can you edit your /includes/modules/shipping/ups.php and get the version and date line from it?
blueline Posted December 19, 2002 Posted December 19, 2002 Linda, Here ya go... <?php/* $Id: ups.php,v 1.47 2002/12/09 19:07:17 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ Thanks, Chris Chris Sullivan
Ajeh Posted December 19, 2002 Posted December 19, 2002 Do you have a URL where I can see this happen?
blueline Posted December 19, 2002 Posted December 19, 2002 http://www.bluelinehifi.com/shop You are already a member as you have signed up for an account in the past. Just say you are going to buy something, don't worry as you won't be charged. You can't even get far enough to select a payment process. Thanks, Chris Chris Sullivan
Ajeh Posted December 19, 2002 Posted December 19, 2002 I have a fresh install and just turned on UPS with the settings: United Parcel Service Enable UPS Shipping 1 UPS Pickup Method CC UPS Packaging? CP Residential Delivery? RES Under Configuration ... Shipping/packaging I have: Country Code US Postal Code 44026 Enter the Maximum Package Weight you will ship 75 Package Tare weight. 3 Larger packages - percentage increase. 10 Handling Fee 5.00
blueline Posted December 19, 2002 Posted December 19, 2002 That's exactly the same as mine. The only difference is my max weight is set to 50 lbs...but that's it. Still stumped,,, -Chris Chris Sullivan
Ajeh Posted December 19, 2002 Posted December 19, 2002 Note: I do get that error if I change my shipping address to the UK
Recommended Posts
Archived
This topic is now archived and is closed to further replies.