2014-02-12

Moin,

wollte kurz local (xampp) etwas testen und habe mir wie sonst auch contao von meinem webserver gezogen und local hinkopiert und die DB importiert.

Beim aufrufen steht nun das contao keine Verbindung zur DB hat, obwohl die Daten korrekt sind. Mehrmals getestet. Woran könnte es liegen?

Zitat:

Fatal error: Uncaught exception Exception with message Could not connect to database (Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte. ) thrown in …\system\libraries\Database.php on line 78

#0 …\system\libraries\Database.php(135): Database->__construct()

#1 [internal function]: Database::getInstance()

#2 …\system\libraries\System.php(176): call_user_func(Array)

#3 …\system\libraries\Model.php(86): System->import('Database')

#4 …\system\modules\frontend\FrontendUser.php(91): Model->__construct()

#5 …\system\modules\frontend\FrontendUser.php(173): FrontendUser->__construct()

#6 [internal function]: FrontendUser::getInstance()

#7 …\system\libraries\System.php(176): call_user_func(Array)

#8 …\index.php(65): System->import('FrontendUser', 'User')

#9 …\index.php(400): Index->__construct()

#10 {main}

Show more