Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/vhosts/legalbox.es/httpdocs/promo/application/database.php:17 Stack trace: #0 /var/www/vhosts/legalbox.es/httpdocs/promo/application/application.php(73): __Database->Conection() #1 /var/www/vhosts/legalbox.es/httpdocs/promo/index.php(28): Application->__construct() #2 {main} thrown in /var/www/vhosts/legalbox.es/httpdocs/promo/application/database.php on line 17