Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DB has a deprecated constructor in /var/www/vhost/clubgusto.es/home/html/include/class/dbnav.php on line 2

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/vhost/clubgusto.es/home/html/include/class/dbnav.php:19 Stack trace: #0 /var/www/vhost/clubgusto.es/home/html/include/class/dbnav.php(12): DB->DB() #1 /var/www/vhost/clubgusto.es/home/html/include/class/dbnav.php(68): DB::init() #2 /var/www/vhost/clubgusto.es/home/html/include/config.php(14): require_once('/var/www/vhost/...') #3 /var/www/vhost/clubgusto.es/home/html/index.php(2): require_once('/var/www/vhost/...') #4 {main} thrown in /var/www/vhost/clubgusto.es/home/html/include/class/dbnav.php on line 19