Warning: mysqli::__construct(): (HY000/2002): Cannot assign requested address in /home/ebrconce/www/liberary/db.php on line 20

Fatal error: Uncaught Error: Call to undefined method mysqli::connect_error() in /home/ebrconce/www/liberary/db.php:23 Stack trace: #0 /home/ebrconce/www/liberary/db.php(31): db->connect() #1 /home/ebrconce/www/liberary/model.php(1347): db->do_query('select * from #...') #2 /home/ebrconce/www/modules/menu/index.php(43): Model->liste_menu(NULL, '1', 'principal', 0) #3 /home/ebrconce/www/modules/menu/index.php(30): menuModule->get_mainmenu('principal', 0) #4 /home/ebrconce/www/liberary/module.php(22): menuModule->display() #5 /home/ebrconce/www/liberary/factory.php(71): Module->execute('principal') #6 /home/ebrconce/www/liberary/framework.php(82): Factory->build_module('menu', 'principal') #7 /home/ebrconce/www/liberary/framework.php(33): Site->get_modules() #8 /home/ebrconce/www/index.php(35): Site->build_site(Object(Site)) #9 {main} thrown in /home/ebrconce/www/liberary/db.php on line 23