Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2004
    Posts
    39
    Plugin Contributions
    0

    red flag Where is the message 2013

    What piece of code displays the message:
    2013 Lost connection to MySQL server during query
    in:

    I am also having trouble with this and I want to log each occurrence so I know just how often it is happening and from where on the site it is happening. (Is this done already?) If not I'm willing to do the code, just need to know where to put the hook

    I turned off the USPS time feature as suggested and that seems to have helped.

    Thanks,
    Mike Cassidy

  2. #2
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Where is the message 2013

    This is not in the Zen Cart code anywhere. It is server / MySQL error message indicating the connection to the database could not be established.

    I would check with your host or google the error message for ideas.

    "2013 Lost connection to MySQL server during query" you'll find a lot of information.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  3. #3
    Join Date
    Sep 2004
    Posts
    39
    Plugin Contributions
    0

    red flag Re: Where is the message 2013

    Hi eric, thanks for the reply. But you missed the question or I asked it badly.

    Somewhere in all of the zen cart code a call is made to mysql that comes back with the 2013 error condition. That is what I'm looking for. And I'm asking because i'm being lazy. So can someone point me to the code that handles the mysql calls.

    Thanks

  4. #4
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Where is the message 2013

    Check in /includes/functions/functions_general.php

    You may find what you are looking for in there.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Where is the message 2013

    Quote Originally Posted by mikecass View Post
    Somewhere in all of the zen cart code a call is made to mysql that comes back with the 2013 error condition. That is what I'm looking for. And I'm asking because i'm being lazy. So can someone point me to the code that handles the mysql calls.
    The only way to find out exactly where the database call is coming from is to look at the query that's failing, and then find where that query is built in the code.
    As to the "actual" query call to the database, the database abstraction layer class is in the files in /includes/classes/db/
    .

    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.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Where is the message 2013

    Who's your hosting company? Is it the same or different for all your sites?
    Which shipping modules do you have enabled?
    Which page is this happening on?


    And please ... don't post the same question on a hundred different discussions ... one will suffice...
    .

    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
    Oct 2007
    Posts
    22
    Plugin Contributions
    0

    Default Re: Where is the message 2013

    Hosting company is godady in all cases. Shipping is FedEx and USPS. I have one site that has flat rate shipping and it works fine. I would guess it is the usps module. I have unchecked the weight and time boxes and still have the problem.

  8. #8
    Join Date
    Oct 2007
    Posts
    22
    Plugin Contributions
    0

    Default Re: Where is the message 2013

    I uninstalled the FedEx modules and things started working again.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Where is the message 2013

    Have you asked GoDaddy about it?

    If you're losing connection to the database during a 1-second query, something's amuck with their server configurations. Either they're not talking to each other properly or they're way too busy.

    If you're encountering delays or timeouts when communicating to external resources, then their outbound communications configuration is wonky, or too busy.

    Others have reported problems with extreme slowness on GoDaddy servers when trying to connect to use PayPal for payment processing ... it's pretty clear that their servers are overloaded or the bandwidth usage is overly high and thus slowing down normal operations.

    I'm not sure how committed you are to using GoDaddy for hosting ... but ... you'll find their track record for running ecommerce shops isn't so hot. I'm not a fan, but I'll try not to push my opinion on you.

    Either way, I suspect this is a matter you'll have to take up with GoDaddy ... especially if the problem "just started", as it suggests they've changed something in/on their server/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.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 28 Jul 2013, 08:02 PM
  2. Replies: 22
    Last Post: 27 Mar 2013, 06:55 PM
  3. getting rid of the Sales Message Goes Here message
    By brianrudie in forum General Questions
    Replies: 13
    Last Post: 7 Aug 2009, 09:24 AM
  4. Replies: 2
    Last Post: 28 Sep 2007, 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