Hallo zusammen,
mein Hoster (Alfahosting) hat mir empfohlen, ein Update von PHP 5.6 auf PHP 7 zu machen. Das habe ich jetzt umgesetzt und bekomme beim Aufruf der URL folgende Fehlermeldung:
Code:
Fatal error: Uncaught exception Error with message Call to undefined function Contao\Database\mysql_connect() thrown in system/modules/core/library/Contao/Database/Mysql.php on line 47
#0 system/modules/core/library/Contao/Database.php(81): Contao\Database\Mysql->connect()
#1 system/modules/core/library/Contao/Database.php(165): Contao\Database->__construct(Array)
#2 [internal function]: Contao\Database::getInstance()
#3 system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#4 system/modules/core/library/Contao/User.php(158): Contao\System->import('Database')
#5 system/modules/core/classes/FrontendUser.php(62): Contao\User->__construct()
#6 system/modules/core/library/Contao/User.php(220): Contao\FrontendUser->__construct()
#7 system/modules/pct_customelements/config/config.php(170): Contao\User::getInstance()
#8 system/modules/core/library/Contao/Config.php(141): include('/var/www/web321...')
#9 system/modules/core/library/Contao/Config.php(108): Contao\Config->initialize()
#10 system/initialize.php(162): Contao\Config::getInstance()
#11 index.php(16): require('/var/www/web321...')
#12 {main}
Kann mir jemand helfen, wo der Fehler liegt und wie ich ihn beseitigt bekomme?
Vielen Dank.
Lesezeichen