Zen Cart Logo
Forums / PayPal Express Checkout support / "2006 MySQL server has gone away" Error

"2006 MySQL server has gone away" Error

Views: 1,789

Results 1 to 5 of 5
12 Feb 2011, 6:04 AM
#1
zfw88788301 avatar

zfw88788301

New Zenner

Join Date:
Dec 2010
Posts:
28
Plugin Contributions:
0

"2006 MySQL server has gone away" Error

Hello!

I'm getting a

“2006 MySQL server has gone away
in:
[SELECT count(*) as count FROM subscribers WHERE email_address = '[email protected]] ...”

errors when using paypal, after i establish a connection to the proxy server on my site.

Here is what paypal moducle said:

PayPal Express Checkout (rev1.3.8a)
Manage your PayPal account.

Configuration Instructions:

  1. Sign up for your PayPal account - click here.

  2. Ensure you have entered the appropriate security data for username/pwd etc, below.

  3. In your PayPal account, enable Instant Payment Notification:
    under "Profile", select Instant Payment Notification Preferences

Requirements:
*CURL is used for bidirectional communication with the gateway, so must be active on your hosting server (if you need to use a CURL proxy, set the CURL proxy settings under Admin->Configuration->My Store.)

Please Help! Thank you!

12 Feb 2011, 8:54 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: "2006 MySQL server has gone away" Error

Simple: You're using an old version of Zen Cart which sometimes encounters database disconnections and has no recovery code built-in. Upgrading to the latest version would be a good starting point.

12 Feb 2011, 2:49 PM
#4
zfw88788301 avatar

zfw88788301

New Zenner

Join Date:
Dec 2010
Posts:
28
Plugin Contributions:
0

Re: "2006 MySQL server has gone away" Error

DrByte:

Simple: You're using an old version of Zen Cart which sometimes encounters database disconnections and has no recovery code built-in. Upgrading to the latest version would be a good starting point.

Hi! Drbyte,
thank you for reply! what's the easy way I can update from the 1.38a to the lastest version of the zencart?
thank you!

12 Feb 2011, 8:01 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: "2006 MySQL server has gone away" Error

The regular upgrade instructions are already included in your /docs/ folder, as well as several tutorial articles: https://www.zen-cart.com/tutorials/index.php?article=98