Problem beim Umzug einer Installation
Hallo,
der Titel sagt es schon. Ich musste meine komplette Contao Seite von einem auf den anderen Server umziehen.
Folgendes durchgeführt.
1. FTP Transfer der Seite von A nach B
2. DB Export der Datenbank (Exportfunktion in phpMyAdmin)
3. DB Import der Datenbank (Importfunktion in phpMyAdmin)
Dann Aufruf der Frontendseite mit folgender Fehlermeldung:
HTML-Code:
Fatal error: Uncaught exception Exception with message Could not connect to database (Can't create TCP/IP socket (0)) thrown in /mnt/web4/41/37/5664837/htdocs/system/libraries/Database.php on line 78
#0 /mnt/web4/41/37/5664837/htdocs/system/libraries/Database.php(136): Database->__construct()
#1 [internal function]: Database::getInstance()
#2 /mnt/web4/41/37/5664837/htdocs/system/libraries/System.php(147): call_user_func(Array)
#3 /mnt/web4/41/37/5664837/htdocs/system/libraries/Model.php(86): System->import('Database')
#4 /mnt/web4/41/37/5664837/htdocs/system/modules/frontend/FrontendUser.php(91): Model->__construct()
#5 /mnt/web4/41/37/5664837/htdocs/system/modules/frontend/FrontendUser.php(173): FrontendUser->__construct()
#6 [internal function]: FrontendUser::getInstance()
#7 /mnt/web4/41/37/5664837/htdocs/system/libraries/System.php(147): call_user_func(Array)
#8 /mnt/web4/41/37/5664837/htdocs/index.php(59): System->import('FrontendUser', 'User')
#9 /mnt/web4/41/37/5664837/htdocs/index.php(318): Index->__construct()
#10 {main}
Dann Aufruf des Backends:
HTML-Code:
Fatal error: Uncaught exception Exception with message Could not connect to database (Can't create TCP/IP socket (0)) thrown in /mnt/web4/41/37/5664837/htdocs/system/libraries/Database.php on line 78
#0 /mnt/web4/41/37/5664837/htdocs/system/libraries/Database.php(136): Database->__construct()
#1 [internal function]: Database::getInstance()
#2 /mnt/web4/41/37/5664837/htdocs/system/libraries/System.php(147): call_user_func(Array)
#3 /mnt/web4/41/37/5664837/htdocs/system/libraries/Model.php(86): System->import('Database')
#4 /mnt/web4/41/37/5664837/htdocs/system/modules/backend/BackendUser.php(73): Model->__construct()
#5 /mnt/web4/41/37/5664837/htdocs/system/modules/backend/BackendUser.php(158): BackendUser->__construct()
#6 [internal function]: BackendUser::getInstance()
#7 /mnt/web4/41/37/5664837/htdocs/system/libraries/System.php(147): call_user_func(Array)
#8 /mnt/web4/41/37/5664837/htdocs/contao/index.php(61): System->import('BackendUser', 'User')
#9 /mnt/web4/41/37/5664837/htdocs/contao/index.php(137): Index->__construct()
#10 {main}
Weiss jemand wo ich hier einen Fehler gemacht habe ?
Gruß Mike