1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Server Issue Database error when trying to start a conversation

Discussion in 'Resolved Bug Reports' started by Umit, Feb 21, 2011.

  1. Umit

    Umit Active Member

    Hi,

    imported from vb3.7.0 to xf rc2

    everything looks fine but cant start a conversation,
    when i try, i get this message:

    An unexpected database error occurred. Please try again later.
    <!-- mysqli prepare error: MYSQL server gone away -->

    i can reply to conversations tho...
    and another strange things is other members can start a conversation.
     
  2. Umit

    Umit Active Member

    just checked "Server Error Logs" in admincp and it says
    no errors have been logged.
     
  3. Shamil

    Shamil Well-Known Member

    this is not a XenForo bug, I'd imagine.

    http://dev.mysql.com/doc/refman/5.1/en/gone-away.html
     
  4. Umit

    Umit Active Member

    Note: i had enabled email transport method to smtp (entered google apps mail settings),
    I've just changed it to "default" option and no any more database error.
     
  5. Shamil

    Shamil Well-Known Member

    Were you constantly getting the error before that change?
     
  6. Umit

    Umit Active Member

    yes, when it was set to SMTP,
    but the strangest thing is other members was sending without error.
     
  7. Shamil

    Shamil Well-Known Member

    Might be something related to the import.

    I am unable to reproduce this on the latest, RC2, stock default, SMTP (->Google Mail) development environment.
     
  8. Mike

    Mike XenForo Developer Staff Member

    That sounds like the SMTP call was taking a long time, triggering MySQL's wait_timeout due to inactivity. Unfortunately, there's not really much we can do about it.
     
  9. Umit

    Umit Active Member

    Hi Mike,

    to solve this problem, can i do something? i really want to use smtp mail.
     

Share This Page