Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Error while sending QUERY packet. PID=752804

    Hi

    I've been searching to get to the bottom of this error log. I've never encountered it before.


    PHP Warning: Error while sending QUERY packet. PID=752804 in /home/USER-NAME/public_html/includes/classes/db/mysql/query_factory.php on line 43

    What I have found relates to max_allowed_packet setting for MySQL. Is this something that can be changed in one of the files or is this something the host needs to do?

    thanks for any help.

  2. #2
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Error while sending QUERY packet. PID=752804

    Quote Originally Posted by buildingblocks View Post
    Hi

    I've been searching to get to the bottom of this error log. I've never encountered it before.


    PHP Warning: Error while sending QUERY packet. PID=752804 in /home/USER-NAME/public_html/includes/classes/db/mysql/query_factory.php on line 43

    What I have found relates to max_allowed_packet setting for MySQL. Is this something that can be changed in one of the files or is this something the host needs to do?

    thanks for any help.
    That looks like a limit that someone has put on your hosting/server try turning on the query count in the footer and see at what level it does that I suspect your server/host either can't handle the number of queries or is throttling it.

  3. #3
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Error while sending QUERY packet. PID=752804

    Quote Originally Posted by buildingblocks View Post
    Hi

    I've been searching to get to the bottom of this error log. I've never encountered it before.


    PHP Warning: Error while sending QUERY packet. PID=752804 in /home/USER-NAME/public_html/includes/classes/db/mysql/query_factory.php on line 43

    What I have found relates to max_allowed_packet setting for MySQL. Is this something that can be changed in one of the files or is this something the host needs to do?

    thanks for any help.
    That looks like a limit that someone has put on your hosting/server try turning on the query count in the footer and see at what level it does that I suspect your server/host either can't handle the number of queries or is throttling it.

  4. #4
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Error while sending QUERY packet. PID=752804

    Quote Originally Posted by bislewl View Post
    That looks like a limit that someone has put on your hosting/server try turning on the query count in the footer and see at what level it does that I suspect your server/host either can't handle the number of queries or is throttling it.
    Hi

    are you referring to

    configuration > logging - Log Database Queries ?

    Number of Queries: 542 - Query Time: 0.337355304611

    thanks for responding

  5. #5
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Error while sending QUERY packet. PID=752804

    Quote Originally Posted by buildingblocks View Post
    Hi

    are you referring to

    configuration > logging - Log Database Queries ?

    Number of Queries: 542 - Query Time: 0.337355304611

    thanks for responding
    There is your problem, what page is this happening on?

  6. #6
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Error while sending QUERY packet. PID=752804

    homepage....what do you see is the problem? This is a new one for me

  7. #7
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Error while sending QUERY packet. PID=752804

    You shouldn't have that many queries, what template are you using?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Error while sending QUERY packet. PID=752804

    Quote Originally Posted by bislewl View Post
    You shouldn't have that many queries, what template are you using?
    Er, well, it's not totally uncommon to have a few hundred depending on what's being shown on the page.

    I don't think it had anything to do with "number" of queries. Feels like a server misconfiguration to me.
    Ask your host for the contents of the MySQL my.cnf file (and any sub files it loads)
    .

    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.

  9. #9
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Error while sending QUERY packet. PID=752804

    I had to set this aside for a few days.

    I did a fresh install of zen cart 1.5.4 with demo products and found the classic template was generating just a little less queries than our template. I don't think the template is the problem.

    The hosts response to our inquiry about the error was,

    "That particular error would be related to a problem with the content on the site and possibly with the configuration of the server. I would recommend having your developer look into this issue as it would be a bit outside of what we can help you with."

    Since I don't manage the server I don't believe that would be my responsibility, but as I had to set this aside for a few days I just checked back in the log folder tonight and found that yesterday was the last time the error was generated. I'm hoping this means the host has resolved the issue. I'll keep watch on the logs and if it comes up again I'll request the my.cnf file.

    Thanks

 

 

Similar Threads

  1. An error occurred while sending mail. We do not relay non-local mail. -- XAMPP
    By vadkins in forum Installing on a Windows Server
    Replies: 7
    Last Post: 2 Nov 2009, 07:28 AM
  2. i got this weird code while sending newslettter
    By jikey in forum General Questions
    Replies: 2
    Last Post: 4 Nov 2008, 09:16 AM
  3. Weird text while sending newsletters
    By daneh in forum General Questions
    Replies: 6
    Last Post: 16 Aug 2008, 02:09 AM
  4. sending email error "Query was empty"
    By chac416 in forum General Questions
    Replies: 4
    Last Post: 8 Jun 2006, 04:42 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR