Warning: mysqli_query(): MySQL server has gone away in /var/www/radioniks.ru/vendor/pinahq/framework/src/Pina/DatabaseDriver.php on line 51
Warning: mysqli_query(): Error reading result set's header in /var/www/radioniks.ru/vendor/pinahq/framework/src/Pina/DatabaseDriver.php on line 51
Warning: mysqli_connect(): (HY000/2002): Connection refused in /var/www/radioniks.ru/vendor/pinahq/framework/src/Pina/DatabaseDriver.php on line 23
Fatal error: Uncaught RuntimeException: Can`t connect to database in /var/www/radioniks.ru/vendor/pinahq/framework/src/Pina/DatabaseDriver.php:27
Stack trace:
#0 /var/www/radioniks.ru/vendor/pinahq/framework/src/Pina/DatabaseDriver.php(38): Pina\DatabaseDriver->connect()
#1 /var/www/radioniks.ru/vendor/pinahq/framework/src/Pina/DatabaseDriver.php(54): Pina\DatabaseDriver->reconnect()
#2 /var/www/radioniks.ru/vendor/pinahq/framework/src/Pina/DatabaseDriver.php(43): Pina\DatabaseDriver->doQuery('SELECT COUNT(*)...', false)
#3 /var/www/radioniks.ru/vendor/pinahq/framework/src/Pina/DatabaseDriver.php(116): Pina\DatabaseDriver->query('SELECT COUNT(*)...')
#4 /var/www/radioniks.ru/vendor/pinahq/framework/src/Pina/SQL.php(674): Pina\DatabaseDriver->one('SELECT COUNT(*)...')
#5 /var/www/radioniks.ru/vendor/pinahq/framework/src/Pina/SQL.php(351): Pina\SQL->pagingCount(false, true)
#6 /var/www/radioniks.ru/app/default/Modules/Cart/Products.php(97): Pina\SQL->paging(Object(Pina\Paging), false)
#7 /var/www/radioniks.ru/app/default/Mo in /var/www/radioniks.ru/vendor/pinahq/framework/src/Pina/DatabaseDriver.php on line 27