sahostking Posted August 29, 2015 Share Posted August 29, 2015 Hi Getting this error: Fatal error: Uncaught exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away (SQL: select * from `tblemailtemplates` where `id` = 1 limit 1) (SQL: select * from `tblemailtemplates` where `id` = 1 limit 1)' in /home/domain/public_html/my/includes/classes/WHMCS/Terminus.php:0 Stack trace: #0 /home/domain/public_html/my/includes/classes/WHMCS/Terminus.php(0): WHMCS\Terminus::whmcsExceptionHandler() #1 [internal function]: WHMCS\Terminus->whmcsExceptionHandler(Object(Illuminate\Database\QueryException)) #2 {main} thrown in /home/domain/public_html/my/includes/classes/WHMCS/Terminus.php on line 0 We have increased wait_timeout to 600 from 60s and mysql_allowed_packet is set to 256MB already. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted August 29, 2015 Share Posted August 29, 2015 when or in what page do you get this error? 0 Quote Link to comment Share on other sites More sharing options...
ghh Posted September 1, 2015 Share Posted September 1, 2015 I'm getting the same error every time I try to search for a domain (domainchecker.php) even using the default unmodified WHMCS six theme. Everything freezes up for a minute then this error is returned. I don't know if its related but if I look up google.com the System Activity Log shows a lookup against every google.XXX TLD in the database which is not what wanted and could maybe why the query is timing out? (assuming that's what this error actually means) 0 Quote Link to comment Share on other sites More sharing options...
ghh Posted September 1, 2015 Share Posted September 1, 2015 Actually I've solved my own issue. The Domain Lookup in the General Settings in WHMCS had every TLD selected which was probably timing out the system. I unselected them all and the results are returned super fast now. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted September 1, 2015 Share Posted September 1, 2015 I saw the same error message many times in different installations, something isn't completely correct! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.