A "Server gone away" error is generally not caused by the database itself, but by something in PHP taking too long. It's often a side-effect and not the actual problem. The database is only willing to wait to be issued a query for so long before it closes the connection (we only open a db connection once, at the start and not per query). If you issue a query after the database has closed its end of the connection, then you get a "Server gone away" error. We tend to see this in actions related to emails where it's taking a long time to send all the emails and the database connection times out. That's why you'll see it often when trying to add log entries about email timeouts; the PHP side hit a timeout while sending the email, but the database's timeout was less than that. That's why disabling board wide emails will also appear to fix the problem.
This is what's happening here. A log entry is being inserted after the database has closed its connection. From the log entry in the query, you can see it's an email error. The SMTP server you're using is taking a long time to respond, our code detects the STMP error and then tries to log it and fails.
Your SMTP settings appear to be using:
This is what's happening here. A log entry is being inserted after the database has closed its connection. From the log entry in the query, you can see it's an email error. The SMTP server you're using is taking a long time to respond, our code detects the STMP error and then tries to log it and fails.
Your SMTP settings appear to be using:
rforum.kirkbird.com:465
as the SMTP server. Unless your server has the SMTP server on it, that may be the wrong address. If that's what your host told you to use, you'll need to go back to them and verify since it doesn't seem to be working.Statistics: Posted by Noxwizard — Thu Mar 27, 2025 11:03 pm