Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in /home/knigi/book-fair.ru/docs/wa-system/database/waDbConnector.class.php on line 49

Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in /home/knigi/book-fair.ru/docs/wa-system/database/waDbConnector.class.php on line 49

Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in /home/knigi/book-fair.ru/docs/wa-system/database/waDbConnector.class.php on line 49

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/knigi/book-fair.ru/docs/wa-system/database/waDbMysqlAdapter.class.php:32 Stack trace: #0 /home/knigi/book-fair.ru/docs/wa-system/database/waDbAdapter.class.php(30): waDbMySQLAdapter->connect(Array) #1 /home/knigi/book-fair.ru/docs/wa-system/database/waDbConnector.class.php(49): waDbAdapter->__construct(Array) #2 /home/knigi/book-fair.ru/docs/wa-system/database/waModel.class.php(76): waDbConnector::getConnection('default', false) #3 /home/knigi/book-fair.ru/docs/wa-system/contact/waContact.class.php(67): waModel->__construct() #4 /home/knigi/book-fair.ru/docs/wa-system/user/waUser.class.php(22): waContact->init() #5 /home/knigi/book-fair.ru/docs/wa-system/user/waAuthUser.class.php(32): waUser->init() #6 /home/knigi/book-fair.ru/docs/wa-system/user/waAuthUser.class.php(27): waAuthUser->init() #7 /home/knigi/book-fair.ru/docs/wa-system/waSystem.class.php(250): waAuthUser->__construct(NULL, Array) #8 /home/knigi/book-fair.ru/docs/wa-system/waSyst in /home/knigi/book-fair.ru/docs/wa-system/database/waDbMysqlAdapter.class.php on line 32