:-O
Database connect error: SQLSTATE[HY000] [2006] MySQL server has gone away code: 2006
File:
File:/data/wwwroot/training_system/client/coolphp/Connection.php Line:129
Trace
Exception: Database connect error: SQLSTATE[HY000] [2006] MySQL server has gone away code: 2006 in /data/wwwroot/training_system/client/coolphp/Connection.php:129
Stack trace:
#0 /data/wwwroot/training_system/client/coolphp/Connection.php(79): Cool\Connection::connect(Array, Array)
#1 /data/wwwroot/training_system/client/coolphp/Model.php(83): Cool\Connection::instance(Array, Array)
#2 /data/wwwroot/training_system/client/coolphp/Model.php(53): Cool\Model->connect('mysql', 'default', Array)
#3 /data/wwwroot/training_system/client/coolphp/Model.php(65): Cool\Model->__construct()
#4 /data/wwwroot/training_system/client/coolphp/Model.php(146): Cool\Model::instance()
#5 /data/wwwroot/training_system/client/app/Model/ItemsSite.php(27): Cool\Model::where(Array)
#6 /data/wwwroot/training_system/client/app/Model/Items.php(17): App\Model\ItemsSite::checkSite(175)
#7 /data/wwwroot/training_system/client/app/Controller/Api/Items/DetailController.php(19): App\Model\Items::getDetail(175)
#8 [internal function]: App\Controller\Api\Items\DetailController->index()
#9 /data/wwwroot/training_system/client/coolphp/App.php(27): call_user_func_array(Array, Array)
#10 /data/wwwroot/training_system/client/public/cnfeels.com/index.php(4): Cool\App::run()
#11 {main}