Below is the warning which I got a little while earlier :
****
Warning: fsockopen(): php_network_getaddresses: gethostbyname failed in c:\web\catalog007\includes\classes\http_client.php on line 330
Warning: fsockopen(): unable to connect to www.ups.com:80 in c:\web\catalog007\includes\classes\http_client.php on line 330
*****
According to the code documentation available at oscdox guide, http_client.php page is:
"Referenced 2 times:
* /includes/modules/shipping/ups.php -> line 247
* /includes/modules/shipping/usps.php -> line 223"
I have never even opened any of the above 3 files. However I did install the Royal Mail Uk contribution [URL: http://www.oscommerce.com/community/...rch,royal+mail ]. This contribution actually installs 3 shipping modules.
After getting the above warning, i uninstalled the 3 uk shipping modules of the royal mail contribution and then reinstalled them. I dont get the error now. But I am curious to know why did I get that error in the first place.





LinkBack URL
About LinkBacks






Bookmarks