Roaddoctor Posted November 24, 2006 Share Posted November 24, 2006 Contribution page: http://www.oscommerce.com/community/contributions,1462 VERSION 2.06 FEATURES ADDED 1. Added per product check box for "Ship Seperate" designation so that FedEx will now generate item seperate quotes when desired (heavy items...) 2. Added ability to disable the module entirely by weight limit or box quantity. 3. Products not checked "Ship Seperately" continue to be processed per your stores existing configuration. 4. In Checkout_shipping, the customer now sees an item count and total weight, along with an accurate quote for the entire order! Includes Zone support (V 2.05) Any donations to help offset our development cost is appreciated. See the readme.txt Please post any feedback or issues or suggestions for further improvement. Enjoy!! -Dave Roaddoctor Quote -Dave Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2006 Share Posted December 1, 2006 ok. I installed the product and everything is working fine. Although, this is what's happening: 1. The meter # keeps showing up at the top of the file. Will it keep doing this? 2. I am receiving this error when I select one of the methods: Data sent to Fedex for Rating: 0,"25"10,"358522300"498,"7187683"8,"TX"9,"75067"117,"US"17,"75420"16,"TX"50,"US"75,"LBS"1116,"I"1401,"1.0"1529,"1"440,"Y"1273,"01"1333,"5"1529,"2"99,"" Data returned from Fedex for Rating: 0,"125"1376,"LBS"1377,"LBS"1092,"2"1133,"5"2399-1,"0"1273-1,"01"1274-1,"01"1090-1,"USD"1089-1,"01486"431-1,"N"1402-1,"1.0"1416-1,"17.00"1417-1,"6.33"1418-1,"0.00"1419-1,"23.33"1420-1,"0.00"1530-1,"17.00"1507-1,"6.33"1531-1,"0.00"1528-1,"23.33"1525-1,"0.00"1532-1,"0.00"194-1,"FRI"195-1,"DFW"409-1,"01Dec06"2399-2,"0"1273-2,"01"1274-2,"03"1090-2,"USD"1089-2,"05980"431-2,"N"1402-2,"1.0"1416-2,"8.50"1417-2,"5.26"1418-2,"0.00"1419-2,"13.76"1420-2,"0.00"1530-2,"8.50"1507-2,"5.26"1531-2,"0.00"1528-2,"13.76"1525-2,"0.00"1532-2,"0.00"194-2,"MON"195-2,"DFW"409-2,"04Dec06"2399-3,"0"1273-3,"01"1274-3,"20"1090-3,"USD"1089-3,"07167"431-3,"N"1402-3,"1.0"1416-3,"8.15"1417-3,"5.22"1418-3,"0.00"1419-3,"13.37"1420-3,"0.00"1530-3,"8.15"1507-3,"5.22"1531-3,"0.00"1528-3,"13.37"1525-3,"0.00"1532-3,"0.00"194-3,"TUE"195-3,"DFW"409-3,"05Dec06"2399-4,"0"1273-4,"01"1274-4,"90"1090-4,"USD"1402-4,"1.0"1416-4,"3.80"1417-4,"4.19"1418-4,"0.00"1419-4,"7.99"1530-4,"3.80"1507-4,"4.19"1531-4,"0.00"1528-4,"7.99"1525-4,"0.00"3058-4,"1"2399-5,"0"1273-5,"01"1274-5,"92"1090-5,"USD"1402-5,"1.0"1416-5,"3.80"1417-5,"4.56"1418-5,"0.00"1419-5,"8.36"1530-5,"3.80"1507-5,"4.56"1531-5,"0.00"1528-5,"8.36"1525-5,"0.00"3058-5,"1"99,"" Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/catalog/includes/modules/shipping/fedex1.php:593) in /var/www/html/catalog/includes/functions/general.php on line 33 Please help. Thanks. Quote Link to comment Share on other sites More sharing options...
Roaddoctor Posted December 1, 2006 Author Share Posted December 1, 2006 as far as the meter showing... I think you need to set debug to FALSE in the configuaration module settings. Do you currently have it set to true? Quote -Dave Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2006 Share Posted December 1, 2006 Fixed that problem. What about the other? Quote Link to comment Share on other sites More sharing options...
Roaddoctor Posted December 1, 2006 Author Share Posted December 1, 2006 (edited) not sure. Can you provide more details... is the error still showing with debug off? where when etc... post the code from those refenced lines too Edited December 1, 2006 by Roaddoctor Quote -Dave Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2006 Share Posted December 1, 2006 Everything is cleared up. Thanks :) Quote Link to comment Share on other sites More sharing options...
mstephen Posted December 1, 2006 Share Posted December 1, 2006 I just installed configured and enabled this module on OsCommerce 2.2 hosted at www.godaddy.com. During the checkout, the it tries to get the Fedex rates forever till it times out. Any ideas? Do I have to configure the proxy server maybe ? Mashiku Quote Link to comment Share on other sites More sharing options...
mstephen Posted December 1, 2006 Share Posted December 1, 2006 I just installed configured and enabled this module on OsCommerce 2.2 hosted at www.godaddy.com. During the checkout, the it tries to get the Fedex rates forever till it times out. Any ideas? Do I have to configure the proxy server maybe ? Mashiku OK, thanks, I figured out the problem: If you are hosting with Godaddy.com: you need to do the following ; approximately after line number 458 of the file catalog/includes/modules/shipping/fedex1.php add the following piece of code: curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE); curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt($ch, CURLOPT_PROXY, "64.202.165.130:3128"); And you are done. Great module: Mashiku Kuyi Kamani Quote Link to comment Share on other sites More sharing options...
Roaddoctor Posted December 1, 2006 Author Share Posted December 1, 2006 If you are hosting with Godaddy.com: you need to do the following ; approximately after line number 458 of the file catalog/includes/modules/shipping/fedex1.php add the following piece of code: curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE); curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt($ch, CURLOPT_PROXY, "64.202.165.130:3128"); Thank you! I will include that in the next update. Quote -Dave Link to comment Share on other sites More sharing options...
itsdame1 Posted December 7, 2006 Share Posted December 7, 2006 (edited) I've installed the newest version of the fedex module, and followed all the directions. the shipping module will not display the rates at all. I've entered my fedex id correctly, but the "Your Fedex Meter ID NONE " has not picked up a meter id number yet. I had turned on debug mode, and it displays at the shipping confirmation page that " No response to CURL from Fedex server, check CURL availability, or maybe timeout was set too low, or maybe the Fedex site is down " It does state the following above the error above " Federal Express (Total items: 1 pcs. Total weight: 0.5 lbs) " but it is not showing any rates, etc. I previously had the FedEx module and it was working perfectly, until this morning. So I upgraded to the newest shipping module version, and this is the information which it is displaying now and not pulling up any rates. Edited December 7, 2006 by itsdame1 Quote Link to comment Share on other sites More sharing options...
itsdame1 Posted December 7, 2006 Share Posted December 7, 2006 (edited) also, should the meter id in the backend show up automatically once you save your changes, or after a certain amount of time, or did the fedex api change again, or do you think their system is getting overhauled with orders for the holiday season? also just an update, in the readme file, you told the users to Change from: p.manufacturers_id Change to: p.manufacturers_id , p.products_ship_sep directly after the there is a p.manufacturers_id from does that from need to be deleted or does that need to stay in place where it is at? Edited December 7, 2006 by itsdame1 Quote Link to comment Share on other sites More sharing options...
Roaddoctor Posted December 7, 2006 Author Share Posted December 7, 2006 also just an update, in the readme file, you told the users to Change from: p.manufacturers_id Change to: p.manufacturers_id , p.products_ship_sep directly after the there is a p.manufacturers_id from does that from need to be deleted or does that need to stay in place where it is at? The directions call for two instances of that to be changed, with a "find near" cue for each one. I would not delete anything not in the instructions. Your meter should automatically pick up a number from fedex. My install is working fine. When you first updated, did you completely uninstall the module and then reinstall so the new setting are visible? Did you run the sql update first? Check your code and make sure you updated all your files... Sorry to ask basic questions but its good to double check. As for: No response to CURL from Fedex server, check CURL availability, or maybe timeout was set too low, or maybe the Fedex site is down Maybe fedex was down :).. not sure. My entry in the cURL PAth setting is NONE. What was your before the update? Quote -Dave Link to comment Share on other sites More sharing options...
Roaddoctor Posted December 7, 2006 Author Share Posted December 7, 2006 I previously had the FedEx module and it was working perfectly, until this morning. So I upgraded to the newest shipping module version, and this is the information which it is displaying now and not pulling up any rates. So it quit working before you updated? might want to call fedex or something. mayby they cut off your account or some randomness... Quote -Dave Link to comment Share on other sites More sharing options...
itsdame1 Posted December 7, 2006 Share Posted December 7, 2006 So it quit working before you updated? might want to call fedex or something. mayby they cut off your account or some randomness... I had an older version of the module. I just updated to the newest version today. Quote Link to comment Share on other sites More sharing options...
itsdame1 Posted December 7, 2006 Share Posted December 7, 2006 The directions call for two instances of that to be changed, with a "find near" cue for each one. I would not delete anything not in the instructions. Your meter should automatically pick up a number from fedex. My install is working fine. When you first updated, did you completely uninstall the module and then reinstall so the new setting are visible? Did you run the sql update first? Check your code and make sure you updated all your files... Sorry to ask basic questions but its good to double check. As for: No response to CURL from Fedex server, check CURL availability, or maybe timeout was set too low, or maybe the Fedex site is down Maybe fedex was down :).. not sure. My entry in the cURL PAth setting is NONE. What was your before the update? Yeah, the meter # still hasnt updated yet. I did completely uninstall the previous and reinstall with this new version. The sql update I did run first before anything to the correct root directory requested in the installation proceedures. I checked all my files to double check I did make the apprioate changes to them. The enter to the curl path is set at cURL Path /usr/bin/curl which is the directory to the my server which I had to have in last time I had the older version of the fedex module. I took out the curl directory and it still states "No response to CURL from Fedex server, check CURL availability, or maybe timeout was set too low, or maybe the Fedex site is down" Quote Link to comment Share on other sites More sharing options...
itsdame1 Posted December 7, 2006 Share Posted December 7, 2006 So it quit working before you updated? might want to call fedex or something. mayby they cut off your account or some randomness... just called fedex right now, and they say the account is still active and no changes have been made to it. Talking on the phone right now with the WEB API dept. for Fedex to see why I'm not getting a meter id. If I don't get anywhere, I'm going to install the shipping module for the 3rd time. Quote Link to comment Share on other sites More sharing options...
itsdame1 Posted December 7, 2006 Share Posted December 7, 2006 (edited) just called fedex right now, and they say the account is still active and no changes have been made to it. Talking on the phone right now with the WEB API dept. for Fedex to see why I'm not getting a meter id. If I don't get anywhere, I'm going to install the shipping module for the 3rd time. on the phone with the fedex guy and he says everything works fine on fedex's end, but it is not returning the data from fedex to the server... this is what the debug menu looks like from the top. ive replaced the account number and the meter number that the fedex guy gave me below Data sent to Fedex for Rating: 0,"25"10,"mynumber"498,"myoldmeternumber"8,"NV"9,"89509"117,"US"17,"36053"16,""50,"US"75,"LBS"1116,"I"1401,"3.0"1529,"1"1415,"9995.99"68,"USD"440,"Y"1273,"01"1333,"5"1529,"2"99,"" Data returned from Fedex for Rating: Edited December 7, 2006 by itsdame1 Quote Link to comment Share on other sites More sharing options...
Roaddoctor Posted December 7, 2006 Author Share Posted December 7, 2006 if it stopped working before the update, then either FedEx or your host made some sort of change. I would explore those two venues before hacking up the code. Quote -Dave Link to comment Share on other sites More sharing options...
itsdame1 Posted December 7, 2006 Share Posted December 7, 2006 (edited) if it stopped working before the update, then either FedEx or your host made some sort of change. I would explore those two venues before hacking up the code. well, i hacked up the code. and boom; it works now. All I did was input a server for fedex over the phone for the second time, saved it, and uploaded, and boom; it works. I think the fedex guy on his side did something, because the id number actually gave me the new meter id directly after that. Well thank you for helping out and getting back to me with haste man. Thanks again! also the fedex guy said for the holiday season, to set your timeout seconds to around 45 to 55 because of all the seasonally requests. and to change it back in like Jan;Feb 2007. Edited December 7, 2006 by itsdame1 Quote Link to comment Share on other sites More sharing options...
Tymitton Posted December 8, 2006 Share Posted December 8, 2006 Hey all, I'm thinking of installing this module... it looks quite impressive, thanks to everyone that has contributed to it's development. I currently have an existing module installed that allows me to attach weight to attributes ( http://www.oscommerce.com/community/contributions,1622/ ). It's working great. I have two questions: Has anyone used this FedEx mod along with the "Add Weight To Product Attributes" mod? If so, how did it work out? I see Roaddocter added the ability to set a "Ship Seperately" indicator for products, does that functionality only work with the FedEx shipping option or for any option selected? That's a bunch guys! Tyler Quote Link to comment Share on other sites More sharing options...
Roaddoctor Posted December 9, 2006 Author Share Posted December 9, 2006 Has anyone used this FedEx mod along with the "Add Weight To Product Attributes" mod? If so, how did it work out? I have not tested that, but there is no reason I can think of why it should not carry through properly. The mod uses all the standard fedex2.04/osc processes and only deviates slightly when the ship seperately tag is used. I see Roaddocter added the ability to set a "Ship Seperately" indicator for products, does that functionality only work with the FedEx shipping option or for any option selected? As far as I know it is a FedEx 2.06 specific function, but the ship seperate tag could probably be adapted into other mods with some coding effort. Quote -Dave Link to comment Share on other sites More sharing options...
nbnet Posted December 9, 2006 Share Posted December 9, 2006 I attempted to get this mod to work, but I get the following Error message. This is displayed in the admin console, where you wold "Install" and configure this mod. BTW- I'm running OSC 2.2 MS2 Warning: main(/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php): failed to open stream: No such file or directory in /home/islandst/public_html/shop/admin/modules.php on line 128 Warning: main(/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php): failed to open stream: No such file or directory in /home/xxxxxx/public_html/shop/admin/modules.php on line 128 Warning: main(): Failed opening '/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/shop/admin/modules.php on line 128 I checked my installation, I assume it's something I did (or did not) do. Quote Link to comment Share on other sites More sharing options...
nbnet Posted December 9, 2006 Share Posted December 9, 2006 (edited) I attempted to get this mod to work, but I get the following Error message. This is displayed in the admin console, where you wold "Install" and configure this mod. BTW- I'm running OSC 2.2 MS2 Warning: main(/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php): failed to open stream: No such file or directory in /home/islandst/public_html/shop/admin/modules.php on line 128 Warning: main(/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php): failed to open stream: No such file or directory in /home/xxxxxx/public_html/shop/admin/modules.php on line 128 Warning: main(): Failed opening '/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/shop/admin/modules.php on line 128 I checked my installation, I assume it's something I did (or did not) do. I'm so stupid. I had the fedex1.php files in the wrong place :huh: All seems to work as it should. Edited December 9, 2006 by nbnet Quote Link to comment Share on other sites More sharing options...
Roaddoctor Posted December 9, 2006 Author Share Posted December 9, 2006 I'm so stupid. I had the fedex1.php files in the wrong place :huh: All seems to work as it should. hehe, I hate when that happens :P -enjoy Quote -Dave Link to comment Share on other sites More sharing options...
Roaddoctor Posted December 11, 2006 Author Share Posted December 11, 2006 Hi, I have installed FedEx direct 2.06 and I am getting this error " Fatal error: Call to undefined function: curl_init() in /home/shopnatu/public_html/catalog-usa/includes/modules/shipping/fedex1.php on line 454 " Is it conflicting with something else? Any help would be appreciated, Thanks, CL First make sure you have curl installed and enabled Then make sure the Set cURL Path field has the correct location of where cURL is installed on your server. Quote -Dave 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.