Database Error:
Failed connecting to the database with the supplied connection details. Please check the details are correct and your MySQL user has permissions to access this database.

Last Rendered Query:
UPDATE download_tracker SET date_finished=NOW(), status='cancelled' WHERE status='downloading' AND date_updated < DATE_SUB(NOW(), INTERVAL 1 second)

#0 /var/www/androidhost.ru/app/core/Database.class.php(106): App\Core\Database->notify('...')
#1 /var/www/androidhost.ru/app/core/Database.class.php(43): App\Core\Database->connect()
#2 /var/www/androidhost.ru/app/core/Database.class.php(59): App\Core\Database->__construct(true, NULL, NULL, NULL, NULL, NULL)
#3 /var/www/androidhost.ru/app/helpers/DownloadTrackerHelper.class.php(78): App\Core\Database::getDatabase(true)
#4 /var/www/androidhost.ru/app/controllers/FileController.class.php(172): App\Helpers\DownloadTrackerHelper::purgeDownloadData()
#5 [internal function]: App\Controllers\FileController->downloadHandler('...')
#6 /var/www/androidhost.ru/app/helpers/RouteHelper.class.php(396): call_user_func_array(Array, Array)
#7 /var/www/androidhost.ru/app/core/Framework.class.php(222): App\Helpers\RouteHelper::processRoutes()
#8 /var/www/androidhost.ru/app/core/Framework.class.php(25): App\Core\Framework::dispatch()
#9 /var/www/androidhost.ru/index.php(21): App\Core\Framework::run()

Database Error:
Failed connecting to the database with the supplied connection details. Please check the details are correct and your MySQL user has permissions to access this database.

Last Rendered Query:
UPDATE download_tracker SET date_finished=NOW(), status='cancelled' WHERE status='downloading' AND date_updated < DATE_SUB(NOW(), INTERVAL 1 second)

#0 /var/www/androidhost.ru/app/core/Database.class.php(106): App\Core\Database->notify('...')
#1 /var/www/androidhost.ru/app/core/Database.class.php(43): App\Core\Database->connect()
#2 /var/www/androidhost.ru/app/core/Database.class.php(59): App\Core\Database->__construct(true, NULL, NULL, NULL, NULL, NULL)
#3 /var/www/androidhost.ru/app/helpers/SessionHelper.class.php(51): App\Core\Database::getDatabase(true)
#4 [internal function]: App\Helpers\SessionHelper::write('...', '...')
#5 [internal function]: session_write_close()