Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/lsws/NCC/html/framework/libs/Template.php on line 35

Warning: mysqli_connect(): (HY000/1049): Unknown database '1' in /usr/local/lsws/NCC/html/framework/database/drivers/mysql.php on line 21

Warning: mysqli_select_db() expects parameter 1 to be mysqli, string given in /usr/local/lsws/NCC/html/framework/database/drivers/mysql.php on line 29

Fatal error: Uncaught Error: Call to undefined function mysql_error() in /usr/local/lsws/NCC/html/framework/database/drivers/mysql.php:29 Stack trace: #0 /usr/local/lsws/NCC/html/framework/database/database_driver.php(53): mysql_dbdriver->select_db() #1 /usr/local/lsws/NCC/html/framework/database/database.php(69): DB_driver->init() #2 /usr/local/lsws/NCC/html/framework/libs/Fetcher.php(199): db(Array) #3 /usr/local/lsws/NCC/html/app/controllers/ncc.php(27): Fetcher->database() #4 /usr/local/lsws/NCC/html/app/controllers/nsn_catalog.php(12): NCC->__construct() #5 /usr/local/lsws/NCC/html/framework/XPF/init.php(79): Nsn_catalog->__construct() #6 /usr/local/lsws/NCC/html/index.php(56): require('/usr/local/lsws...') #7 {main} thrown in /usr/local/lsws/NCC/html/framework/database/drivers/mysql.php on line 29