Warning: mysqli::__construct(): (HY000/1044): Access denied for user '1dr'@'localhost' to database '1dr' in /var/www/testwork/data/www/testwork.ru/app/core/model.php on line 42

Warning: mysqli::__construct(): (HY000/1044): Access denied for user '1dr'@'localhost' to database '1dr' in /var/www/testwork/data/www/testwork.ru/app/core/model.php on line 42

Warning: mysqli::__construct(): (HY000/1044): Access denied for user '1dr'@'localhost' to database '1dr' in /var/www/testwork/data/www/testwork.ru/app/core/model.php on line 42

Fatal error: Uncaught Error: Call to a member function prepare() on string in /var/www/testwork/data/www/testwork.ru/app/models/model__cities.php:149 Stack trace: #0 /var/www/testwork/data/www/testwork.ru/app/controllers/cities.php(45): Model_cities->get_city(0, 'driver') #1 /var/www/testwork/data/www/testwork.ru/app/core/route.php(49): cities->get_city(0, 'driver') #2 /var/www/testwork/data/www/testwork.ru/app/bootstrap.php(13): Route::init() #3 /var/www/testwork/data/www/testwork.ru/index.php(25): require_once('/var/www/testwo...') #4 {main} Next Error: Call to a member function close() on string in /var/www/testwork/data/www/testwork.ru/app/core/model.php:27 Stack trace: #0 /var/www/testwork/data/www/testwork.ru/app/core/route.php(49): Model->__destruct() #1 /var/www/testwork/data/www/testwork.ru/app/bootstrap.php(13): Route::init() #2 /var/www/testwork/data/www/testwork.ru/index.php(25): require_once('/var/www/testwo...') #3 {main} Next Error: Call to a member function close() on string in /var/www/testwork/data/www in /var/www/testwork/data/www/testwork.ru/app/core/model.php on line 27