Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

USPS shipping module- ready to scream....


builder_bob

Recommended Posts

I get a Warning: unable to connect to production.shippingapis.com :80 (connection timed out) in blah blah blah http_client.php line 330.

 

here is line 318 to line 331:

// connect if necessary

if ( ($this->socket == false) || (feof($this->socket)) ) {

if ($this->useProxy) {

$host = $this->proxyHost;

$port = $this->proxyPort;

} else {

$host = $this->url['host'];

$port = $this->url['port'];

}

 

if (!tep_not_null($port)) $port = 80;

 

if (!$this->socket = fsockopen($host, $port, $this->reply, $this->replyString)) {

return false;

 

 

why must this happen it was working fine....!!!>!>!>1

Link to comment
Share on other sites

Which USPS module? Some modules use curl to connect to connect. Look at admin/server_info.php and search for "curl". If it's not enabled, curl functions wouldn't be available to the shipping module and it'd fail to communicate back with the USPS server(s).

 

-jared

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...