Fr3DBr Posted March 18, 2017 Share Posted March 18, 2017 Hi, guys. I'm not even touching MySQL in my code yet, but by just using Zend/XML-RPC extension (for some unknown reason), the MySQL Database handler is lost: Warning: Error while sending STMT_PREPARE packet. PID=6322 in /home/xxx/public_html/vendor/illuminate/database/Illuminate/Database/Connection.php on line 278 Fatal error: Uncaught exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away (SQL: select `domain`, `username` from `tblhosting` inner join `tblproducts` on `tblproducts`.`id` = `tblhosting`.`packageid` where `server` = 2 and `type` = reselleraccount and `domainstatus` in (Active, Suspended)) (SQL: select `domain`, `username` from `tblhosting` inner join `tblproducts` on `tblproducts`.`id` = `tblhosting`.`packageid` where `server` = 2 and `type` = reselleraccount and `domainstatus` in (Active, Suspended))' in /home/xxx/public_html/includes/classes/WHMCS/Terminus.php:0 Stack trace: #0 [internal function]: WHMCS\Terminus->whmcsExceptionHandler(Object(Illuminate\Database\QueryException)) #1 {main} thrown in /home/xxx/public_html/includes/classes/WHMCS/Terminus.php on line 0 Any ideas in how I could prevent this ? Or at least, force a "restore" of the default database handler ? 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.