Warning: mysqli_select_db() expects parameter 1 to be mysqli, string given in /var/sites/c/casalcatala.ca/public_html/cfg/db_conex.inc on line 3

Fatal error: Uncaught Error: Call to undefined function mysql_error() in /var/sites/c/casalcatala.ca/public_html/cfg/db_conex.inc:3 Stack trace: #0 /var/sites/c/casalcatala.ca/public_html/_header.inc(10): require() #1 /var/sites/c/casalcatala.ca/public_html/index.php(3): require('/var/sites/c/ca...') #2 {main} thrown in /var/sites/c/casalcatala.ca/public_html/cfg/db_conex.inc on line 3