Warning: Cannot modify header information - headers already sent by (output started at /index.php:1) in /index.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /index.php:1) in /index.php on line 3

Warning: session_start(): Cannot start session when headers already sent in /includes/app_top.php on line 3

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /libs/source/tridb.php:77 Stack trace: #0 /libs/source/tridb.php(222): triDB->__construct('localhost', 'omnicom2', 'hajduszoboszlo', 'omnicom2') #1 /libs/factories/categoriesFactory.php(63): triDB::getInstance() #2 /actions/index.php(5): categoriesFactory::getAll() #3 /index.php(32): include('/actions/index....') #4 {main} thrown in /libs/source/tridb.php on line 77