Hi everyone,
Im trying to configure Fedex with no success.
I had registred in Fedex developer and recieved test Account number and Meter:
Shipping Module Configuration: fedex.php
FedEx Account Number :xxxxxx
FedEx Meter Number :xxxxxx
FedEx Server Address :https://gatewaybeta.fedex.com/GatewayDC
All looks right but when i try to checkout get these errors:
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/virtual/xxxxxx/htdocs/administrator/components/com_virtuemart/classes/shipping/fedex/fedexdc.php on line 430
Warning: fsockopen(): unable to connect to https://gatewaybeta.fedex.com/GatewayDC:80 in /var/www/virtual/xxxxxx/htdocs/administrator/components/com_virtuemart/classes/shipping/fedex/fedexdc.php on line 430
Error: unable to process services_rate
My host is using PHP4.
Any sugestions?
Thanks in advance
same error happening here with me !!!! did u solve it ?
I figured out what it is.. at least it worked for me..
THE GOOD NEWS IS.. YOUR REALLY REALLY CLOSE..
BASICALLY YOU NEED TO FIND
administrator/components/com_virtuemart/classes/shipping/fedex.cfg.php
AND CHANGE THE FILE PERMISSIONS SO IT IS WRITABLE -- JUST SET IT 777 FOR A TEST.. THEN ADJUST IT AFTER YOU HAVE IT WORKING TO LOWEST VALUE THAT WORKS..
THE ERROR IS CAUSED BY THE LACK OF ABLITY TO WRITE TO THE FEDEX CFG FILE.. THE CONFIGURATION FILE FOR FEDEX..
I also noticed while overcoming the pitfalls of the FedEx module that the Meter Number is assigned automatically (and this might be why it is trying to write to the cfg file.. to update your meter number..
in review .. find the fedex.cfg.php and change its file permissons to allow for write ..
hope that helps! :)