Warning: session_start(): Cannot start session when headers already sent in /var/www/vhosts/hosting122556.a2fbe.netcup.net/httpdocs/sql.php on line 2

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/vhosts/hosting122556.a2fbe.netcup.net/httpdocs/sql.php:8 Stack trace: #0 /var/www/vhosts/hosting122556.a2fbe.netcup.net/httpdocs/index.php(167): sql->connect() #1 /var/www/vhosts/hosting122556.a2fbe.netcup.net/httpdocs/index.php(202): template->show_template() #2 {main} thrown in /var/www/vhosts/hosting122556.a2fbe.netcup.net/httpdocs/sql.php on line 8