Warning: Use of undefined constant DB_USERNAME - assumed 'DB_USERNAME' (this will throw an Error in a future version of PHP) in /var/www/birota.ru/httpdocs/catalogues/db.php on line 2
Warning: Use of undefined constant DB_PASS - assumed 'DB_PASS' (this will throw an Error in a future version of PHP) in /var/www/birota.ru/httpdocs/catalogues/db.php on line 3
Warning: Use of undefined constant DB_SERVER - assumed 'DB_SERVER' (this will throw an Error in a future version of PHP) in /var/www/birota.ru/httpdocs/catalogues/db.php on line 4
Warning: Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in /var/www/birota.ru/httpdocs/catalogues/db.php on line 5
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/birota.ru/httpdocs/catalogues/db.php:11
Stack trace:
#0 /var/www/birota.ru/httpdocs/catalogues/db.php(19): db_query()
#1 /var/www/birota.ru/httpdocs/catalogues/index.php(142): db_fetch_all_as_array()
#2 /var/www/birota.ru/httpdocs/catalogues/index.php(3): main()
#3 {main}
thrown in /var/www/birota.ru/httpdocs/catalogues/db.php on line 11