Nach einem Update von Contao 2.9.2 auf 3.3.5 bekomme ich folgende Fehlerausgabe (sensible Daten durch ******** ersetzt):
Code:
Deprecated notice: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in system/modules/core/library/Contao/Database/Mysql.php on line 58
#0 [internal function]: __error(8192, 'mysql_connect()...', '/********...', 58, Array)
#1 system/modules/core/library/Contao/Database/Mysql.php(58): mysql_connect('mysql5.********...', '********', '********')
#2 system/modules/core/library/Contao/Database.php(77): Contao\Database\Mysql->connect()
#3 system/modules/core/library/Contao/Database.php(161): Contao\Database->__construct(Array)
#4 [internal function]: Contao\Database::getInstance()
#5 system/modules/core/library/Contao/System.php(122): call_user_func(Array)
#6 system/modules/core/library/Contao/User.php(89): Contao\System->import('Database')
#7 system/modules/core/classes/FrontendUser.php(79): Contao\User->__construct()
#8 system/modules/core/library/Contao/User.php(151): Contao\FrontendUser->__construct()
#9 [internal function]: Contao\User::getInstance()
#10 system/modules/core/library/Contao/System.php(122): call_user_func(Array)
#11 index.php(47): Contao\System->import('FrontendUser', 'User')
#12 index.php(443): Index->__construct()
#13 {main}
Warning: Cannot modify header information - headers already sent by (output started at /********/system/helper/functions.php:70) in system/modules/core/library/Contao/System.php on line 524
#0 [internal function]: __error(2, 'Cannot modify h...', '/********...', 524, Array)
#1 system/modules/core/library/Contao/System.php(524): setcookie('FE_USER_AUTH', '8251f026441618b...', 1409583689, '/', '', false, true)
#2 system/modules/core/classes/Frontend.php(535): Contao\System::setCookie('FE_USER_AUTH', '8251f026441618b...', 1409583689, NULL, NULL, false, true)
#3 index.php(52): Contao\Frontend->getLoginStatus('FE_USER_AUTH')
#4 index.php(443): Index->__construct()
#5 {main}
Fatal error: Uncaught exception Exception with message Could not find template "nav_subnav" thrown in system/modules/core/library/Contao/TemplateLoader.php on line 127
#0 system/modules/core/library/Contao/Controller.php(70): Contao\TemplateLoader::getPath('nav_subnav', 'xhtml', 'templates/********...')
#1 system/modules/core/library/Contao/BaseTemplate.php(85): Contao\Controller::getTemplate('nav_subnav', 'xhtml')
#2 system/modules/core/library/Contao/Template.php(244): Contao\BaseTemplate->parse()
#3 system/modules/core/classes/FrontendTemplate.php(46): Contao\Template->parse()
#4 system/modules/core/modules/Module.php(371): Contao\FrontendTemplate->parse()
#5 system/modules/core/modules/ModuleNavigation.php(105): Contao\Module->renderNavigation('2', 1, NULL, NULL)
#6 system/modules/core/modules/Module.php(163): Contao\ModuleNavigation->compile()
#7 system/modules/core/modules/ModuleNavigation.php(57): Contao\Module->generate()
#8 system/modules/core/library/Contao/Controller.php(309): Contao\ModuleNavigation->generate()
#9 system/modules/core/pages/PageRegular.php(138): Contao\Controller::getFrontendModule(Object(Contao\ModuleModel), 'left')
#10 index.php(260): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#11 index.php(444): Index->run()
#12 {main}
Zuvor habe ich die Struktur in Contao umgestellt, um das "Keine Startpunkte im Root"-Problem zu lösen. Hier zwei Screens wie sich der Seitenbaum geändert hat:
In Contao 2.9.2: contao_before.jpg
In Contao 3.3.5: contao_after.jpg
Ich habe nach dem Update den Installer durchlaufen lassen und die DB entsprechend geupdatet. Ich bin auch bereits über UTF-8 ohne BOM gestolpert und habe die genannte Datei (system/helper/functions.php) diverse Male in allen mir zur Verfügung stehenden Editoren neu gespeichert, scheint aber nichts geholfen zu haben. Der PHP BOM Finder spuckt jedoch auch 0-Resultat aus. Wenn ich die Fehlerausgabe nicht deaktivere, ist übrigens nicht einmal das Einloggen im Backend möglich. Die verwendete PHP-Version ist die 5.6.0.
Da Google nichts mehr ausspuckt bin ich inzwischen recht ratlos und hoffe, dass ihr mir weiterhelfen könnt.
Lesezeichen