Hallo,
bei einem derzeitigen Projekt sollte ich aufgrund einer Seitenüberarbeitung eine Kopie der Seite erstellen (Contao 3.5.28). Diese habe ich auf einen Testserver bei 1und1 gezogen und sobald ich die Seite aufrufe, lädt entweder nichts oder ich erhalte einen 500 Error.
Meine .htaccess habe ich bereits bereinigt und auch durch "http://www.htaccesscheck.com/" durchlaufen lassen, selbst wenn ich die Datei komplett lösche lädt die Seite auch nicht.
Ebenfalls habe ich schon versucht Contao im coreOnlyMode laufen zu lassen, dann lädt zumindest die Errorseite von Contao.
Installierte Plugins sind im Screenshot anbei zu sehen.
Hat jemand eine Idee?
Anbei die Fehlermeldungen bei jeweils aktivieretem coreOnlyMode und ohne diesen:
Ohne coreOnlyMode:
Code:
[17-Oct-2018 10:25:58 Europe/Berlin]
PHP Warning: mysqli::real_connect(): (HY000/2002): Connection refused in /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database/Mysqli.php on line 46
#0 [internal function]: __error(2, 'mysqli::real_co...', '/homepages/44/d...', 46, Array)
#2 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database.php(81): Contao\Database\Mysqli->connect()
#3 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database.php(165): Contao\Database->__construct(Array)
#4 [internal function]: Contao\Database::getInstance()
#5 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#6 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/User.php(158): Contao\System->import('Database')
#7 /homepages/44/d141589236/htdocs/*/system/modules/core/classes/FrontendUser.php(62): Contao\User->__construct()
#8 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/User.php(220): Contao\FrontendUser->__construct()
#9 [internal function]: Contao\User::getInstance()
#10 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#11 /homepages/44/d141589236/htdocs/*/system/modules/core/controllers/FrontendIndex.php(31): Contao\System->import('FrontendUser', 'User')
#12 /homepages/44/d141589236/htdocs/*/index.php(19): Contao\FrontendIndex->__construct()
#13 {main}
[17-Oct-2018 10:25:58 Europe/Berlin] PHP Fatal error: Uncaught exception 'Exception' with message 'Connection refused' thrown in /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database/Mysqli.php on line 50
#0 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database.php(81): Contao\Database\Mysqli->connect()
#1 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database.php(165): Contao\Database->__construct(Array)
#2 [internal function]: Contao\Database::getInstance()
#3 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#4 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/User.php(158): Contao\System->import('Database')
#5 /homepages/44/d141589236/htdocs/*/system/modules/core/classes/FrontendUser.php(62): Contao\User->__construct()
#6 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/User.php(220): Contao\FrontendUser->__construct()
#7 [internal function]: Contao\User::getInstance()
#8 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#9 /homepages/44/d141589236/htdocs/*/system/modules/core/controllers/FrontendIndex.php(31): Contao\System->import('FrontendUser', 'User')
#10 /homepages/44/d141589236/htdocs/*/index.php(19): Contao\FrontendIndex->__construct()
#11 {main}
Mit coreOnlyMode:
Code:
[17-Oct-2018 10:27:39 Europe/Berlin]
PHP Warning: mysqli::real_connect(): (HY000/2002): Connection refused in /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database/Mysqli.php on line 46
#0 [internal function]: __error(2, 'mysqli::real_co...', '/homepages/44/d...', 46, Array)
#2 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database.php(81): Contao\Database\Mysqli->connect()
#3 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database.php(165): Contao\Database->__construct(Array)
#4 [internal function]: Contao\Database::getInstance()
#5 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#6 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/User.php(158): Contao\System->import('Database')
#7 /homepages/44/d141589236/htdocs/*/system/modules/core/classes/FrontendUser.php(62): Contao\User->__construct()
#8 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/User.php(220): Contao\FrontendUser->__construct()
#9 [internal function]: Contao\User::getInstance()
#10 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#11 /homepages/44/d141589236/htdocs/*/system/modules/core/controllers/FrontendIndex.php(31): Contao\System->import('FrontendUser', 'User')
#12 /homepages/44/d141589236/htdocs/*/index.php(19): Contao\FrontendIndex->__construct()
#13 {main}
[17-Oct-2018 10:27:39 Europe/Berlin] PHP Fatal error: Uncaught exception 'Exception' with message 'Connection refused' thrown in /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database/Mysqli.php on line 50
#0 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database.php(81): Contao\Database\Mysqli->connect()
#1 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database.php(165): Contao\Database->__construct(Array)
#2 [internal function]: Contao\Database::getInstance()
#3 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#4 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/User.php(158): Contao\System->import('Database')
#5 /homepages/44/d141589236/htdocs/*/system/modules/core/classes/FrontendUser.php(62): Contao\User->__construct()
#6 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/User.php(220): Contao\FrontendUser->__construct()
#7 [internal function]: Contao\User::getInstance()
#8 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#9 /homepages/44/d141589236/htdocs/*/system/modules/core/controllers/FrontendIndex.php(31): Contao\System->import('FrontendUser', 'User')
#10 /homepages/44/d141589236/htdocs/*/index.php(19): Contao\FrontendIndex->__construct()
#11 {main}
[17-Oct-2018 10:27:40 Europe/Berlin]
PHP Warning: mysqli::real_connect(): (HY000/2002): Connection refused in /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database/Mysqli.php on line 46
#0 [internal function]: __error(2, 'mysqli::real_co...', '/homepages/44/d...', 46, Array)
#2 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database.php(81): Contao\Database\Mysqli->connect()
#3 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/Database.php(165): Contao\Database->__construct(Array)
#4 [internal function]: Contao\Database::getInstance()
#5 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#6 /homepages/44/d141589236/htdocs/*/system/modules/core/classes/Frontend.php(49): Contao\System->import('Database')
#7 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/System.php(160): Contao\Frontend->__construct()
#8 /homepages/44/d141589236/htdocs/*/system/modules/core/library/Contao/System.php(340): Contao\System::importStatic('DMAElementGener...')
#9 /homepages/44/d141589236/htdocs/*/system/modules/core/templates/backend/be_error.html5(5): Contao\System::loadLanguageFile('exception')
#10 /homepages/44/d141589236/htdocs/*/system/helper/functions.php(151): include('/homepages/44/d...')
#11 /homepages/44/d141589236/htdocs/*/system/helper/functions.php(131): die_nicely('be_error', 'An error occurr...')
#12 /homepages/44/d141589236/htdocs/*/system/helper/functions.php(115): show_help_message()
#13 [internal function]: __exception(Object(Exception))
#14 {main}
Danke schonmal im vorraus!
Lesezeichen