Giỏ hàng


Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2) in /home/gqakefophosting/public_html/vendor/illuminate/database/Connectors/Connector.php:70 Stack trace: #0 /home/gqakefophosting/public_html/vendor/illuminate/database/Connectors/Connector.php(70): PDO->__construct() #1 /home/gqakefophosting/public_html/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection() #2 /home/gqakefophosting/public_html/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection() #3 /home/gqakefophosting/public_html/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect() #4 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() #5 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(1064): call_user_func() #6 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(1100): Illuminate\Database\Connection->getPdo() #7 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(442): Illuminate\Database\Connection->getReadPdo() #8 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(368): Illuminate\Database\Connection->getPdoForSelect() #9 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(705): Illuminate\Database\Connection->Illuminate\Database\{closure}() #10 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(784): Illuminate\Database\Connection->runQueryCallback() #11 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(764): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() #12 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(675): Illuminate\Database\Connection->handleQueryException() #13 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(376): Illuminate\Database\Connection->run() #14 /home/gqakefophosting/public_html/vendor/illuminate/database/Query/Builder.php(2414): Illuminate\Database\Connection->select() #15 /home/gqakefophosting/public_html/vendor/illuminate/database/Query/Builder.php(2402): Illuminate\Database\Query\Builder->runSelect() #16 /home/gqakefophosting/public_html/vendor/illuminate/database/Query/Builder.php(2936): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #17 /home/gqakefophosting/public_html/vendor/illuminate/database/Query/Builder.php(2403): Illuminate\Database\Query\Builder->onceWithColumns() #18 /home/gqakefophosting/public_html/application/core/MY_Model.php(304): Illuminate\Database\Query\Builder->get() #19 /home/gqakefophosting/public_html/views/plugins/sicommerce-cart/include/helper-attributes.php(80): MY_Model->gets() #20 /home/gqakefophosting/public_html/views/plugins/sicommerce-cart/include/template-detail.php(5): Attributes::getsByProduct() #21 /home/gqakefophosting/public_html/system/libraries/Hook.php(307): product_detail_cart_data() #22 /home/gqakefophosting/public_html/system/libraries/Hook.php(331): WP_Hook->apply_filters() #23 /home/gqakefophosting/public_html/system/plugin.php(453): WP_Hook->do_action() #24 /home/gqakefophosting/public_html/views/theme-store/sicommerce/product_detail_layout_two.php(15): do_action() #25 /home/gqakefophosting/public_html/application/libraries/plugin.php(236): include('/home/gqakefoph...') #26 /home/gqakefophosting/public_html/views/plugins/sicommerce/function.php(114): plugin::partial() #27 /home/gqakefophosting/public_html/views/plugins/sicommerce/include/template-detail.php(9): Prd::template() #28 /home/gqakefophosting/public_html/system/libraries/Hook.php(307): product_detail_layout() #29 /home/gqakefophosting/public_html/system/libraries/Hook.php(331): WP_Hook->apply_filters() #30 /home/gqakefophosting/public_html/system/plugin.php(453): WP_Hook->do_action() #31 /home/gqakefophosting/public_html/views/theme-store/products-detail.php(8): do_action() #32 /home/gqakefophosting/public_html/system/core/Loader.php(839): include('/home/gqakefoph...') #33 /home/gqakefophosting/public_html/system/core/Loader.php(420): CI_Loader->_ci_load() #34 /home/gqakefophosting/public_html/application/libraries/template.php(396): CI_Loader->view() #35 /home/gqakefophosting/public_html/views/theme-store/template-full-width.php(17): Template->render_view() #36 /home/gqakefophosting/public_html/system/core/Loader.php(839): include('/home/gqakefoph...') #37 /home/gqakefophosting/public_html/system/core/Loader.php(420): CI_Loader->_ci_load() #38 /home/gqakefophosting/public_html/application/libraries/template.php(374): CI_Loader->view() #39 /home/gqakefophosting/public_html/application/controllers/frontend/products.php(20): Template->render() #40 /home/gqakefophosting/public_html/system/core/CodeIgniter.php(360): products->detail() #41 /home/gqakefophosting/public_html/index.php(224): require_once('/home/gqakefoph...') #42 {main} Next Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2) (SQL: select * from `cle_relationships` where `object_id` = 646 and `category_id` = attribute_op_13 and `object_type` = attributes) in /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php:712 Stack trace: #0 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(784): Illuminate\Database\Connection->runQueryCallback() #1 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(764): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() #2 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(675): Illuminate\Database\Connection->handleQueryException() #3 /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php(376): Illuminate\Database\Connection->run() #4 /home/gqakefophosting/public_html/vendor/illuminate/database/Query/Builder.php(2414): Illuminate\Database\Connection->select() #5 /home/gqakefophosting/public_html/vendor/illuminate/database/Query/Builder.php(2402): Illuminate\Database\Query\Builder->runSelect() #6 /home/gqakefophosting/public_html/vendor/illuminate/database/Query/Builder.php(2936): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #7 /home/gqakefophosting/public_html/vendor/illuminate/database/Query/Builder.php(2403): Illuminate\Database\Query\Builder->onceWithColumns() #8 /home/gqakefophosting/public_html/application/core/MY_Model.php(304): Illuminate\Database\Query\Builder->get() #9 /home/gqakefophosting/public_html/views/plugins/sicommerce-cart/include/helper-attributes.php(80): MY_Model->gets() #10 /home/gqakefophosting/public_html/views/plugins/sicommerce-cart/include/template-detail.php(5): Attributes::getsByProduct() #11 /home/gqakefophosting/public_html/system/libraries/Hook.php(307): product_detail_cart_data() #12 /home/gqakefophosting/public_html/system/libraries/Hook.php(331): WP_Hook->apply_filters() #13 /home/gqakefophosting/public_html/system/plugin.php(453): WP_Hook->do_action() #14 /home/gqakefophosting/public_html/views/theme-store/sicommerce/product_detail_layout_two.php(15): do_action() #15 /home/gqakefophosting/public_html/application/libraries/plugin.php(236): include('/home/gqakefoph...') #16 /home/gqakefophosting/public_html/views/plugins/sicommerce/function.php(114): plugin::partial() #17 /home/gqakefophosting/public_html/views/plugins/sicommerce/include/template-detail.php(9): Prd::template() #18 /home/gqakefophosting/public_html/system/libraries/Hook.php(307): product_detail_layout() #19 /home/gqakefophosting/public_html/system/libraries/Hook.php(331): WP_Hook->apply_filters() #20 /home/gqakefophosting/public_html/system/plugin.php(453): WP_Hook->do_action() #21 /home/gqakefophosting/public_html/views/theme-store/products-detail.php(8): do_action() #22 /home/gqakefophosting/public_html/system/core/Loader.php(839): include('/home/gqakefoph...') #23 /home/gqakefophosting/public_html/system/core/Loader.php(420): CI_Loader->_ci_load() #24 /home/gqakefophosting/public_html/application/libraries/template.php(396): CI_Loader->view() #25 /home/gqakefophosting/public_html/views/theme-store/template-full-width.php(17): Template->render_view() #26 /home/gqakefophosting/public_html/system/core/Loader.php(839): include('/home/gqakefoph...') #27 /home/gqakefophosting/public_html/system/core/Loader.php(420): CI_Loader->_ci_load() #28 /home/gqakefophosting/public_html/application/libraries/template.php(374): CI_Loader->view() #29 /home/gqakefophosting/public_html/application/controllers/frontend/products.php(20): Template->render() #30 /home/gqakefophosting/public_html/system/core/CodeIgniter.php(360): products->detail() #31 /home/gqakefophosting/public_html/index.php(224): require_once('/home/gqakefoph...') #32 {main} thrown in /home/gqakefophosting/public_html/vendor/illuminate/database/Connection.php on line 712