Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2006
    Posts
    44
    Plugin Contributions
    0

    Default MySQL error when updating order status

    Hi,

    I keep getting this error message when updating the order status. Interestingly, when I choose not to notify the customer, it goes through almost immediately.

    2013 Lost connection to MySQL server during query
    in:
    [insert into email_archive (email_to_name, email_to_address, email_from_name, email_from_address, email_subject, email_html, email_text, date_sent, module) values ('Joanne beasley', '[email protected]', 'UKSoccershop.com', '[email protected]', 'Order Update #26921', '

    Dear Joanne beasley,
    UKSoccershop.com
    Order Number: 26921
    Detailed Invoice
    Date Ordered: Saturday 12 August, 2006
    The comments for your order are: Just a quick update, we have just printed your shirt and will dispatch it in the morning. Regards, Simon
    Your order has been updated to the following status:
    New status: Received stock Received stock
    Please reply to this email if you have any questions.
    Copyright © 2004 Zen Cart. Powered by Zen Cart
    This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to uksoccershop AT aol DOT com
    This e-mail is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.
    ', 'UKSoccershop.com ------------------------------------------------------ Order Number: 26921 Detailed Invoice: http://www.uksoccershop.com/index.ph...order_id=26921 Date Ordered: Saturday 12 August, 2006 The comments for your order are: Just a quick update, we have just printed your shirt and will dispatch it in the morning. Regards, Simon Your order has been updated to the following status: New status: Received stock Please reply to this email if you have any questions.', now() , 'order_status')]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: MySQL error when updating order status

    Quote Originally Posted by spretswell
    2013 Lost connection to MySQL server during query
    You should talk to your host about why connection is being lost mid-transaction.

    In the meantime, since it appears to be happening during the archiving of email records, you could turn off email history archiving in Admin->Configuration->Email Options
    .

    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.

  3. #3
    Join Date
    Feb 2006
    Posts
    44
    Plugin Contributions
    0

    Default Re: MySQL error when updating order status

    Thanks, if I do that, what will happen to the email history archive?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: MySQL error when updating order status

    Quote Originally Posted by spretswell
    Thanks, if I do that, what will happen to the email history archive?
    It just won't log a copy of all emails sent anymore...
    .

    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.

  5. #5
    Join Date
    Feb 2006
    Posts
    44
    Plugin Contributions
    0

    Default Re: MySQL error when updating order status

    Quote Originally Posted by DrByte
    It just won't log a copy of all emails sent anymore...
    But will it still be viewable from the admin?

    Should I clear the archive and if so, how would I do that?

  6. #6
    Join Date
    Feb 2006
    Posts
    44
    Plugin Contributions
    0

    Default Re: MySQL error when updating order status

    I turned it off and it's still not working, any futher ideas?

  7. #7
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: MySQL error when updating order status

    Quote Originally Posted by spretswell
    I turned it off and it's still not working, any futher ideas?
    what's the new error message?

    More importantly, what is your web HOST saying about this?

    If the database is disconnecting, you have a hosting problem, not a Zen Cart problem.
    .

    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.

  8. #8
    Join Date
    Feb 2006
    Posts
    44
    Plugin Contributions
    0

    Default Re: MySQL error when updating order status

    It seems to be working now, not sure how it got fixed but thanks for your help!

 

 

Similar Threads

  1. v154 Error when changing order status
    By delia in forum General Questions
    Replies: 4
    Last Post: 14 Jan 2016, 07:00 PM
  2. v150 Send PDF invoice when updating order status in admin area
    By inky100 in forum Customization from the Admin
    Replies: 3
    Last Post: 18 Dec 2013, 11:11 PM
  3. v150 Error message when wanting to change the order status
    By kath7_hoffi in forum Managing Customers and Orders
    Replies: 2
    Last Post: 22 Jan 2013, 11:09 PM
  4. 500 Internal Server Error when updating Order Status to "Update [4]"
    By rlexyd in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 28 Apr 2010, 07:09 AM
  5. Error encountered when updating order status
    By Dunk in forum General Questions
    Replies: 4
    Last Post: 9 Feb 2009, 09:23 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