The highlighted section in red is the error message being returned. This is quite a bit different from the other error messages listed in this thread....
The error message your query is showing typically means the connection to the MySQL server was disconnected by the server while Zen Cart was loading a page... Or PHP could not (re)initiate a connection to the MySQL server (while a page was loading)... Zen Cart typically re-tries the connection a few times before giving up...
Just to be on the safe side, double check the settings you have in both of your "configure.php" files and make sure they match the correct username, password, database, and server address for MySQL. If these are of you will constantly see such messages in the Zen Cat debug logs.
When this error is occurring intermittently with Zen Cart... The fix is usually a call to the hosting company. They can look into exactly what was causing the issue (with their HTTP server / PHP talking to their MySQL server). In some cases (after looking into the issues) I've had hosting providers report anything from needing to "restart" the server, they needed to adjust some settings for the MySQL server, they had another "shared account" hogging the CPU, were dealing with some current "attacks" against their servers, or they were working to address some issues with their servers / network...
I'd be leery of a hosting provider who could not help solve the issue... Or one where the issue intermittently keeps happening after it has been "fixed"... I've not yet had to ever call more than once about this type of issue in a one year time frame... And on most providers have never even run into this issue occurring on a regular basis while running Zen Cart).
If this is on your own installation of WAMP, LAMP, MAMP, etc... Make sure you have configured MySQL with a large enough setting for "max_allowed_packet". You can read more about other possible causes
here.
Others may be able to shed additional light, but if this is happening on a hosted server.... The hosting provider will have access to additional logs and data helpful in determining what is happening.
Bookmarks