Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Posts
    47
    Plugin Contributions
    0

    Default Please Help (fsockopen Error when checking out on shipping page) - GoDaddy

    When i try to move from the cart, to the first step of the checkout process, i get this error:

    (it takes a while to load fully, and they appear one at a time, over a minute or two)

    Code:
    Warning: fsockopen(): unable to connect to www.ups.com:80 in /home/content/d/e/s/designertoybox/html/includes/classes/http_client.php on line 319
    
    Warning: fsockopen(): unable to connect to production.shippingapis.com:80 in /home/content/d/e/s/designertoybox/html/includes/classes/http_client.php on line 319
    
    Warning: fsockopen(): unable to connect to production.shippingapis.com:80 in /home/content/d/e/s/designertoybox/html/includes/classes/http_client.php on line 319
    
    Warning: fsockopen(): unable to connect to production.shippingapis.com:80 in /home/content/d/e/s/designertoybox/html/includes/classes/http_client.php on line 319
    
    Warning: fsockopen(): unable to connect to production.shippingapis.com:80 in /home/content/d/e/s/designertoybox/html/includes/classes/http_client.php on line 319
    2013 Lost connection to MySQL server during query2006 MySQL server has gone away
    Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

    i recently got a new ip (my servers were migrated by my hosting provider) would this be why? how can i fix it?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Please Help (Error when checking out)

    You should advise your hosting company of the error.

    It appears that the function calls for fsockopen ... which is used to talk to the external servers for your shipping quotes ... are being blocked because either the PHP configuration won't allow it, or because your webserver's DNS configuration isn't allowing name lookups from the server itself.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2005
    Posts
    47
    Plugin Contributions
    0

    Default Re: Please Help (Error when checking out)

    Quote Originally Posted by DrByte View Post
    You should advise your hosting company of the error.

    It appears that the function calls for fsockopen ... which is used to talk to the external servers for your shipping quotes ... are being blocked because either the PHP configuration won't allow it, or because your webserver's DNS configuration isn't allowing name lookups from the server itself.
    omg thank you so much for a response....

    could you expand a bit....

    i'm gonna call godaddy right now(again)

    what do i tell 'em?

    i'm really quite over my head with this whole thing, but up til now it's been nothing i couldn't handle..

    i'm thinking them changing my ip address is what the problem is... is there a place in zencart to change my ip address? could that fix it (i think it could) but i can't remember if i ever had to enter my ip into zencart....

    (fwiw, the ip at the top of my admin page, isn't correct for some reason.)

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Please Help (fsockopen Error when checking out on shipping page)

    Good luck getting GoDaddy to fix that. Hopefully they do in fact discover a DNS problem.
    Otherwise it'll be a proxy problem, which the shipping modules don't support.

    GoDaddy's fine for cheap hosting ... but not great for advanced ecommerce systems.

    As for your admin showing a bad address, if you're referring to the URL in your browser, then you should be able to fix it in your /admin/includes/configure.php file.

    http://www.zen-cart.com/wiki/index.p...Switch_Servers
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Apr 2005
    Posts
    47
    Plugin Contributions
    0

    Default Re: Please Help (fsockopen Error when checking out on shipping page)

    Quote Originally Posted by DrByte View Post
    Good luck getting GoDaddy to fix that. Hopefully they do in fact discover a DNS problem.
    Otherwise it'll be a proxy problem, which the shipping modules don't support.

    GoDaddy's fine for cheap hosting ... but not great for advanced ecommerce systems.

    As for your admin showing a bad address, if you're referring to the URL in your browser, then you should be able to fix it in your /admin/includes/configure.php file.

    http://www.zen-cart.com/wiki/index.p...Switch_Servers


    thanks much.. i'm on the phone with them now... i'm sure they'll say it's nothing on they're end, so what should i look into, if it is 'a proxy problem'...?

    also, re: the ip showing wrong: i think it was just my router's ip showing in admin, and i was thinking it was wrong.

    i suppose my question is really, in regards to the ip, if your ip address has changed, because your servers were migrated by your hosting company, do you need to change or update anything in zencart to make my store continue to function properly solely because i have a new ip address?

    thanks much dr. byte!

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Please Help (fsockopen Error when checking out on shipping page)

    Quote Originally Posted by DTB View Post
    i suppose my question is really, in regards to the ip, if your ip address has changed, because your servers were migrated by your hosting company, do you need to change or update anything in zencart to make my store continue to function properly solely because i have a new ip address?
    No, the change should be transparent if they configured things properly on their end.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Apr 2005
    Posts
    47
    Plugin Contributions
    0

    Default Re: Please Help (fsockopen Error when checking out on shipping page)

    Quote Originally Posted by DrByte View Post
    GoDaddy's fine for cheap hosting ... but not great for advanced ecommerce systems.
    do you have a suggestion as far as a good hosting company, for the small website with big aspirations ?

    anyone?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Please Help (fsockopen Error when checking out on shipping page)

    At the top of this page are links to a few popular areas ... "hosting" is one of them. I'm sure you can find a great host there, after checking out the available options to be sure they suit your needs.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v137 error message when checking out
    By Pool in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 2 Jul 2012, 12:38 AM
  2. Blank page when checking out?? Help!
    By cooperNYR in forum General Questions
    Replies: 10
    Last Post: 27 Dec 2010, 10:13 PM
  3. error (10413) occurs when checking out
    By gameower in forum General Questions
    Replies: 1
    Last Post: 24 Sep 2008, 09:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg