Author Topic: help with VM 1.1.2 and J 1.5.8  (Read 5265 times)

g0d0fh3ll

  • Beginner
  • *
  • Posts: 2
help with VM 1.1.2 and J 1.5.8
« on: November 26, 2008, 09:54:22 am »
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

barjas

  • Beginner
  • *
  • Posts: 3
Re: help with VM 1.1.2 and J 1.5.8
« Reply #1 on: January 13, 2009, 19:00:19 pm »
same error happening here with me !!!! did u solve it ?

websnare

  • Beginner
  • *
  • Posts: 15
Re: help with VM 1.1.2 and J 1.5.8
« Reply #2 on: October 22, 2009, 19:15:08 pm »
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! :)