Zen Cart Logo
Forums / General Questions / Time outs during Checkout - DB problem? Help?

Time outs during Checkout - DB problem? Help?

Locked

Views: 3,123

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
18 Mar 2007, 11:02 PM
#1
buzzville avatar

buzzville

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Time outs during Checkout - DB problem? Help?

I've been dealing with major checkout issues for the past few days. Some background: site has been running at reasonable speed for almost a year - lots of successful transactions both through authorize.net and Paypal Express Checkout. But, last week we suddenly started experiencing some intermitent slow load times in admin and the shop. Then, this weekend, the checkout process suddenly started timing out on virtually every attempt. I assumed it was a host issue and called them. They checked at their end and said everything looked fine, but that I might have a scripting error or db optimization issues. So, I read a bunch about optimization and followed the steps in phpmyadmin. Everything seemed to go fine with the optimization, but the time outs during checkout were still there.

Every now and then, a transaction will go through successfully, so things are working some of the time. Unfortunately, we also have 2 instances of a transaction going through at the Admin end, but it doesn't seem to get processed through authorize.net (AIM module). In other words, completed transactions with no billing (including a test I was conducting using the automatic decline credit card number!). I took the site down today and uploaded a backup of the site, in case something got somehow corrupted. Problem is still there. I also removed and re-installed the Authorize.net AIM module thinking this might help. Still no luck.

My host still fervently maintains that everything is fine at their end, and that it must be something in the DB. They've washed their hands of the problem, and I'm on my own. I'm at the last resort of restoring a backup of my DB, but I cringe at the thought of what will be lost - orders, customer data, sales data, etc. So, I'm hoping someone might have another possible solution, including maybe just restoring one or a couple of the DB tables, rather than the entire DB?

Some observations: the time outs are more severe in IE7 (gives 404 page), but Firefox seems to hang in there longer and sometimes gets the page loaded, although very slowly. When Firefox fails, there is a blank page. The time outs occur when trying to load these pages:

https://superbuzzy.com/index.php?main_page=checkout_shipping

and

https://superbuzzy.com/index.php?main_page=checkout_payment

You can get to both of these and observe the painfully slow load-time and or timeout without actually completing the transaction.

I'm running 1.3.7 with a bunch of mods: Attributes Controller, Simple Google Analytics, Image Handler, Super Orders, Stocks by Attributes, Singapore, Newsletter Subscribe.

PHP is 4.3.11, MySQL 4.0.27 Server load times look to be ok - haven't seen anything over 2.0 since this started happening, assuming these are accurate.

I'm getting pretty desperate at this point, and would really appreciate suggestions of what might be going on, or how I might troubleshoot this further. I'm no expert! Of course, what I haven't mentioned yet is that my host is GoDaddy (eek!). I'm taking them at their word for the moment that this is not their problem, but perhaps I shouldn't?!?

22 Mar 2007, 3:57 AM
#2
uasport avatar

uasport

New Zenner

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

Re: Time outs during Checkout - DB problem? Help?

I'm having the same problem all of a sudden, My site is hosted by GoDaddy also.

22 Mar 2007, 4:12 PM
#3
uasport avatar

uasport

New Zenner

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

Re: Time outs during Checkout - DB problem? Help?

I found my issue. I disabled the USPS shipping module and my cart works fine. Now I need to figure out why the USPS module is timing out the cart and giving me problems. I'm currently in testing and want to go live on April 1st. My USPS module is in production phase and worked fine before. My future customers will want the USPS cheaper shipping rates.

Try it and get back to me. Any ideas on killing the country drop down on the create acct. page. We will only ship to US customers and it looks like a little TOO much if I was a customer creating an account.

22 Mar 2007, 4:46 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Time outs during Checkout - DB problem? Help?

buzzville:

I've been dealing with major checkout issues for the past few days. Some background: site has been running at reasonable speed for almost a year - lots of successful transactions both through authorize.net and Paypal Express Checkout. But, last week we suddenly started experiencing some intermitent slow load times in admin and the shop.

... my host is GoDaddy (eek!). I'm taking them at their word for the moment that this is not their problem, but perhaps I shouldn't?!?

Authorize.net and PayPal Express Checkout both use CURL to communicate to external services. On GoDaddy, this requires use of their Proxy server to do that.
I suspect the problem is with timeouts between your server, the proxy server and the external services.

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

22 Mar 2007, 5:46 PM
#5
uasport avatar

uasport

New Zenner

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

Re: Time outs during Checkout - DB problem? Help?

I use PayPal IPN and still experienced the timing out. ?????

22 Mar 2007, 6:48 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Time outs during Checkout - DB problem? Help?

Please enable debug logging and post logs for investigation.
http://www.zen-cart.com/forum/showthread.php?t=61199

What version of Zen Cart are you using?

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

22 Mar 2007, 7:29 PM
#7
uasport avatar

uasport

New Zenner

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

Re: Time outs during Checkout - DB problem? Help?

Thanks for the advice. My site checkout is GOOD after I disabled the USPS shipping module, but I don't consider that a permanent fix. I'm running 1.3.7

24 Mar 2007, 3:43 PM
#8
buzzville avatar

buzzville

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: Time outs during Checkout - DB problem? Help?

This was basically the last straw from GoDaddy for me. I switched hosts (thank you Camelot Hosting!), and now everything is working smoothly. Repeat - whatever problem I was having was fixed by switching hosts, despite what I was told by GoDaddy. Camelot transferred the site as-is and everything is now working smoothly. Might be worth a call to GoDaddy to tell them this. Good luck!

24 Mar 2007, 3:48 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Time outs during Checkout - DB problem? Help?

Thanks for the update and glad to hear that one of our Zen Cart Certified Hosting sites was able to get you fixed up the right way ... :cool:

Good luck with your site!

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Mar 2007, 7:51 PM
#10
seamstobesew avatar

seamstobesew

Zen Follower

Join Date:
Nov 2005
Location:
Germany
Posts:
110
Plugin Contributions:
0

Re: Time outs during Checkout - DB problem? Help?

I had a problem like this crop up today myself and had I not seen this note about it being a USPS module for shipping, it occurred to me that I had not reinstalled the Canada Post module, and that turned out to be the fix for the solution as well. So it doesn't necessarily need to be USPS, if you have any module that deals with the shopping_cart.php file, it's worth checking it to be sure you can resolve it.

Either or, I'm just glad to have it fixed now,

All the sites I maintain now are finally caught up to 1.37.

Marian

Marian
http://www.seamstobesew.com
Tip: Always place your zen-cart version in your messages.

25 Mar 2007, 5:56 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: Time outs during Checkout - DB problem? Help?

If your shipping provider's website is not responding, your checkout_shipping page could hang for up to 30 seconds while your store waits for a response.

If it "was" working fine but is now getting timeouts, you need to contact "their" tech support department. (assuming you didn't change servers, or edit files on your server, or your host changed firewall settings or upgrade PHP etc)

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

2 May 2007, 2:26 AM
#12
thedidgmaster avatar

thedidgmaster

New Zenner

Join Date:
Apr 2007
Posts:
29
Plugin Contributions:
0

Re: Time outs during Checkout - DB problem? Help?

Hi,
I'm new to zenland and I'm trying to get Canada Post to work, but in the check out area this is the message that appears under the CP spot. Whats going on? What am I missing? I had talked to my webhost before I signed up and they told me and assured me that opening up port 30000 was no problem and they could/would do that, and I have an account setup with CP??? Thanks

Cannot reach Canada Post Server. You may refresh this page (Press F5 on your keyboard) to try again.
110 Connection timed out
If you prefer to use Canada Post as your shipping method, please contact the Didgmaster Reflexology & Industries via Email.

11 May 2007, 10:19 PM
#13
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Time outs during Checkout - DB problem? Help?

who is your current host

Zen cart PCI compliant Hosting

12 May 2007, 4:17 AM
#14
thedidgmaster avatar

thedidgmaster

New Zenner

Join Date:
Apr 2007
Posts:
29
Plugin Contributions:
0

Re: Time outs during Checkout - DB problem? Help?

I got it all figured out, port 30000 wasn't opened bidirectionally. It is now and working fine. Thanks

12 May 2007, 8:40 PM
#15
helshop avatar

helshop

New Zenner

Join Date:
Jan 2007
Location:
York
Posts:
34
Plugin Contributions:
0

Re: Time outs during Checkout - DB problem? Help?

I have been getting error 400 messages from near enough day one in my admin though not from the customer side of things. Put it down to my pc, it isnt just my store it happens on, also happens on 2 others. Only in admin - you try and insert or confirm or change page and wham - time out even if only seconds.

Any one else had this problem? I dont have any shipping other than flat rate.

H