scythe000 Posted July 8, 2009 Share Posted July 8, 2009 I upgraded to 3.0.19 from 3.0.15. I thought all was well, until i staretd getting the 'failed to add package' error. I made sure there were no zero weights. I tried the fix here: http://forums.cubecart.com/index.php?showt...mp;#entry165802 which did nothing. I did this: http://forums.cubecart.com/index.php?showt...rt=#entry165802 and it was working. But today, I started getting orders with 0.00 for shipping! Help! I also tried re-uploading the 3.0.19 files, and I'm getting this: http://forums.cubecart.com/index.php?showt...=22295&st=0 which says to change Request XML: -------------------------------------------------------------------------------- <RateV3Request USERID="392ONSAN7399" PASSWORD="xxxxx"></RateV3Request> -------------------------------------------------------------------------------- Return XML: -------------------------------------------------------------------------------- <?xml version="1.0"?> <Error><Number>-2147219085</Number><Source>Rate_Respond.;SOLServerRates.RateV3_Respond</Source><Description>Invalid XML Element cannot be empty according to the DTD/Schema. line= 0 pos= 1193</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error> Request XML: -------------------------------------------------------------------------------- <RateV3Request USERID="392ONSAN7399" PASSWORD="xxxxx"></RateV3Request> -------------------------------------------------------------------------------- Return XML: -------------------------------------------------------------------------------- <?xml version="1.0"?> <Error><Number>-2147219085</Number><Source>Rate_Respond.;SOLServerRates.RateV3_Respond</Source><Description>Invalid XML Element cannot be empty according to the DTD/Schema. line= 0 pos= 1193</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error> Request XML: -------------------------------------------------------------------------------- <RateV3Request USERID="392ONSAN7399" PASSWORD="xxxxx"></RateV3Request> -------------------------------------------------------------------------------- Return XML: -------------------------------------------------------------------------------- <?xml version="1.0"?> <Error><Number>-2147219085</Number><Source>Rate_Respond.;SOLServerRates.RateV3_Respond</Source><Description>Invalid XML Element cannot be empty according to the DTD/Schema. line= 0 pos= 1193</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error> Warning: Cannot modify header information - headers already sent by (output started at /home/content/o/n/s/onsaninc/html/modules/shipping/USPS/class.usps.php:464) in /home/content/o/n/s/onsaninc/html/includes/content/cart.inc.php on line 610 EDIT: Ok, I reuploaded the original files and applied this fix to /modules/shipping/usps/calc.php: Find: case "Parcel": Replace with: case "ParcelM": Shipping seems to be working ok. But for international, I still see about 12 different options, some of which are invalid. How do I remove the invalid entries? EDIT2: Ok, found a fix here: if($sum>0){ to if(($sum>0) && (($api=="RateV2") || ($key=="Priority Mail International"))){ However, this breaks domestic shipping for me. You can see from the two phps attached, one works for international, but not domestic, and the other works for domestic, but has a zillion options ofr international. This is my final problem, I'd be really happy if someone could help with this!calc___known_working_domestic_3.0.19_Copy.phpcalc___working_international__broken_domestic.php 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.