Warning: preg_replace(): Unknown modifier 'g' in /var/www/vhosts/inright.ru/httpdocs/index.php on line 24

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/vhosts/inright.ru/httpdocs/common/db.class.php:67 Stack trace: #0 /var/www/vhosts/inright.ru/httpdocs/common/db.class.php(405): ADB->connect() #1 /var/www/vhosts/inright.ru/httpdocs/common/db.class.php(272): ADB->query('select PARENT_I...') #2 /var/www/vhosts/inright.ru/httpdocs/common/db.class.php(207): ADB->execute('select PARENT_I...', 33) #3 /var/www/vhosts/inright.ru/httpdocs/common/pages.php(29): ADB->selectRow('select PARENT_I...', 33) #4 /var/www/vhosts/inright.ru/httpdocs/include/tag.php(18): APages->initPath(33) #5 /var/www/vhosts/inright.ru/httpdocs/common/_document.php(78): APage->init() #6 /var/www/vhosts/inright.ru/httpdocs/index.php(98): AAbstractDocument->render() #7 {main} thrown in /var/www/vhosts/inright.ru/httpdocs/common/db.class.php on line 67