Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Please Help (fsockopen Error when checking out on shipping page) - GoDaddy

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

Locked

Views: 4,534

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
4 Jul 2007, 6:09 AM
#1
dtb avatar

dtb

New Zenner

Join Date:
Apr 2005
Posts:
47
Plugin Contributions:
0

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)

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?

4 Jul 2007, 6:14 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

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.

4 Jul 2007, 6:25 AM
#3
dtb avatar

dtb

New Zenner

Join Date:
Apr 2005
Posts:
47
Plugin Contributions:
0

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

DrByte:

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 Jul 2007, 6:29 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

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.php/Server_Admin_-_Switch_Servers

4 Jul 2007, 6:43 AM
#5
dtb avatar

dtb

New Zenner

Join Date:
Apr 2005
Posts:
47
Plugin Contributions:
0

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

DrByte:

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.php/Server_Admin_-_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!

4 Jul 2007, 6:46 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

DTB:

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.

4 Jul 2007, 6:49 AM
#7
dtb avatar

dtb

New Zenner

Join Date:
Apr 2005
Posts:
47
Plugin Contributions:
0

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

DrByte:

No, the change should be transparent if they configured things properly on their end.

word...ty.

this idiot at godaddy is saying "well you need to talk to the shoppingcart people, as it's on their end"

i said "No, they are telling me (lie, i know but it IS godaddy) that it's on your end, and it's something to do with name lookups... it worked, you told me you were changin something, and you did, and now it doesn't work... can we fix it..."

he's off yet again to the support guy (why can't i just talk to him) with this new info, to see....

::fingers crossed::

4 Jul 2007, 7:13 AM
#8
dtb avatar

dtb

New Zenner

Join Date:
Apr 2005
Posts:
47
Plugin Contributions:
0

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

DTB:

word...ty.

this idiot at godaddy is saying "well you need to talk to the shoppingcart people, as it's on their end"

i said "No, they are telling me (lie, i know but it IS godaddy) that it's on your end, and it's something to do with name lookups... it worked, you told me you were changin something, and you did, and now it doesn't work... can we fix it..."

he's off yet again to the support guy (why can't i just talk to him) with this new info, to see....

::fingers crossed::

ugh.

so well, they said i def. need to contact my 'shopping cart people' and tell them that line 319 is wrong (yeah, i too can read, godaddy)

i dont' understand how it can be wrong, when it was just fine for over 2 years now, and they change my ip and bam, i'm no longer functioning properly.

if someone can help, i'd be eternally grateful and pay you or whatever...

4 Jul 2007, 5:22 PM
#9
dtb avatar

dtb

New Zenner

Join Date:
Apr 2005
Posts:
47
Plugin Contributions:
0

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

DTB:

ugh.

so well, they said i def. need to contact my 'shopping cart people' and tell them that line 319 is wrong (yeah, i too can read, godaddy)

i dont' understand how it can be wrong, when it was just fine for over 2 years now, and they change my ip and bam, i'm no longer functioning properly.

if someone can help, i'd be eternally grateful and pay you or whatever...

well, i changed it last night so i could attempt to sleep... removed both UPS and USPS shpping and have setteled a temp fix... flat rate shipping.

Well, this is almost working (we have had orders) but the problem now is that asside from the emails from paypal telling me we have money, we're not seeing any orders in the "Orders" or "Advanced Orders Management" sections of the Admin...

how can i figure out what they ordered, if it's not showwing up in the admin?

oh man, i'm so screwed.

4 Jul 2007, 11:57 PM
#10
dtb avatar

dtb

New Zenner

Join Date:
Apr 2005
Posts:
47
Plugin Contributions:
0

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

DrByte:

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?

5 Jul 2007, 12:05 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

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.

5 Jul 2007, 12:07 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

You paypal problem is related to your fsockopen problem ... because the PayPal IPN module relies on fsockopen to talk to PayPal to get the authorization for completed payments. Until that's fixed, you'll have to either use the Express Checkout module, or not use PayPal.

While it may be frustrating to not get the support needed from them, switching hosts may be the best move you make :)