Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Help - my website is unable to give shipping costs since approx 2 days

 

Quote

the error customers see is as follows

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /hsphere/local/home/mshisha/britishhomemarket.com/includes/classes/http_client.php on line 330

 

Warning: fsockopen(): unable to connect to production.shippingapis.com:80 in /hsphere/local/home/mshisha/britishhomemarket.com/includes/classes/http_client.php on line 330

 

Unquote

 

I had UPS and USPS shipping offered and it was showing the error but also showing rates for USPS. When I disabled UPS it shows this error for USPS.

I havent changed this file at all.

Cant understand the problem - can anyone help?

Posted
Cant understand the problem

From the url in the error message this is a problem with the USPS module, not UPS (actually with the class http-client). There are about 119,000 results in Google for that fsockopen error. Has to do with resolving the name to an IP-address. There does not seem to be a general solution to it. Some have results with this, others with that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...