Ergebnis 1 bis 5 von 5

Thema: "Es ist ein Fehler aufgetreten"

  1. #1
    Contao-Nutzer
    Registriert seit
    10.05.2018.
    Beiträge
    3

    Standard "Es ist ein Fehler aufgetreten"

    Sehr geehrte Community

    Gerade wollte ich anfangen mich mit Contao zu beschäftigen, da ich überlege von TYPO3 umzusteigen.
    Nach zahlreicher Schwierigkeiten mit dem Download (der Mirror scheint bei mir irgendwie nicht zu funktionieren) habe ich es nun endlich geschafft das CMS überhaupt runterzuladen.
    Jetzt habe ich es auf meinem Webspace hochgeladen, wollte es installieren, und bekam die Meldung, ich soll doch das Document Root ändern.
    Ich fand es ziemlich nervig, dass ich das nicht selber entscheiden kann und ich gezwungen wurden, das Root-Verzeichnis zu ändern.
    Wieso gibt es da keine Entscheidungsmöglichkeit?
    Naja wie dem auch sei, jetzt bereits ziemlich genervt von Contao, habe ich das Root-Verzeichnis eingerichtet.
    Ich rufe die Seite nun erneut auf, und die nächste Fehlermeldung spaziert mir auf den Webserver.
    Ich habe leider keine Erklärung für das Problem und suche daher nach einer Lösung.
    Hat jemand schon ähnliche Erfahrungen mit Contao?
    Habe ich evtl. was falsch gemacht?
    Wäre sehr dankbar für jede Hilfestellung.

    Hier der Errorlog:
    Code:
    [2018-05-10 10:44:50] request.INFO: Matched route "contao_index". {"route":"contao_index","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","_route":"contao_index"},"request_uri":"http://contao.vatersta.at/","method":"HEAD"} []
    [2018-05-10 10:44:50] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2018-05-10 10:44:50] request.INFO: Matched route "contao_index". {"route":"contao_index","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","_route":"contao_index"},"request_uri":"http://contao.vatersta.at/","method":"GET"} []
    [2018-05-10 10:44:50] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2018-05-10 10:44:50] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /www/htdocs/w017f92c/vatersta.at/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:112, Doctrine\\DBAL\\Driver\\PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /www/htdocs/w017f92c/vatersta.at/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:50, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /www/htdocs/w017f92c/vatersta.at/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:46)"} []
    [2018-05-10 10:44:50] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_scope":"frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_url_fragment":"system/themes/flexible/fonts.css","_route":"contao_catch_all"},"request_uri":"http://contao.vatersta.at/system/themes/flexible/fonts.css","method":"HEAD"} []
    [2018-05-10 10:44:50] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2018-05-10 10:44:50] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_scope":"frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_url_fragment":"system/themes/flexible/fonts.css","_route":"contao_catch_all"},"request_uri":"http://contao.vatersta.at/system/themes/flexible/fonts.css","method":"GET"} []
    [2018-05-10 10:44:50] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2018-05-10 10:44:50] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Page not found: http://contao.vatersta.at/system/themes/flexible/fonts.css" at /www/htdocs/w017f92c/vatersta.at/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 109 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Page not found: http://contao.vatersta.at/system/themes/flexible/fonts.css at /www/htdocs/w017f92c/vatersta.at/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:109, Contao\\CoreBundle\\Exception\\PageNotFoundException(code: 0): Page not found: http://contao.vatersta.at/system/themes/flexible/fonts.css at /www/htdocs/w017f92c/vatersta.at/contao/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:64)"} []
    [2018-05-10 10:45:06] request.INFO: Matched route "contao_index". {"route":"contao_index","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","_route":"contao_index"},"request_uri":"http://contao.vatersta.at/","method":"HEAD"} []
    [2018-05-10 10:45:06] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2018-05-10 10:45:07] request.INFO: Matched route "contao_index". {"route":"contao_index","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","_route":"contao_index"},"request_uri":"http://contao.vatersta.at/","method":"GET"} []
    [2018-05-10 10:45:07] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2018-05-10 10:45:07] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /www/htdocs/w017f92c/vatersta.at/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:112, Doctrine\\DBAL\\Driver\\PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /www/htdocs/w017f92c/vatersta.at/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:50, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /www/htdocs/w017f92c/vatersta.at/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:46)"} []
    [2018-05-10 10:45:07] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_scope":"frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_url_fragment":"system/themes/flexible/fonts.css","_route":"contao_catch_all"},"request_uri":"http://contao.vatersta.at/system/themes/flexible/fonts.css","method":"HEAD"} []
    [2018-05-10 10:45:07] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2018-05-10 10:45:07] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_scope":"frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_url_fragment":"system/themes/flexible/fonts.css","_route":"contao_catch_all"},"request_uri":"http://contao.vatersta.at/system/themes/flexible/fonts.css","method":"GET"} []
    [2018-05-10 10:45:07] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2018-05-10 10:45:07] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Page not found: http://contao.vatersta.at/system/themes/flexible/fonts.css" at /www/htdocs/w017f92c/vatersta.at/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 109 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Page not found: http://contao.vatersta.at/system/themes/flexible/fonts.css at /www/htdocs/w017f92c/vatersta.at/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:109, Contao\\CoreBundle\\Exception\\PageNotFoundException(code: 0): Page not found: http://contao.vatersta.at/system/themes/flexible/fonts.css at /www/htdocs/w017f92c/vatersta.at/contao/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:64)"} []
    
    [2018-05-10 10:47:06] request.INFO: Matched route "contao_index". {"route":"contao_index","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","_route":"contao_index"},"request_uri":"http://vatersta.at/","method":"HEAD"} []
    
    [2018-05-10 10:47:06] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    
    [2018-05-10 10:47:06] request.INFO: Matched route "contao_index". {"route":"contao_index","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","_route":"contao_index"},"request_uri":"http://vatersta.at/","method":"GET"} []
    
    [2018-05-10 10:47:06] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    
    [2018-05-10 10:47:06] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /www/htdocs/w017f92c/vatersta.at/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:112, Doctrine\\DBAL\\Driver\\PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /www/htdocs/w017f92c/vatersta.at/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:50, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /www/htdocs/w017f92c/vatersta.at/contao/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:46)"} []
    
    [2018-05-10 10:47:07] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_scope":"frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_url_fragment":"system/themes/flexible/fonts.css","_route":"contao_catch_all"},"request_uri":"http://vatersta.at/system/themes/flexible/fonts.css","method":"HEAD"} []
    
    [2018-05-10 10:47:07] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    
    [2018-05-10 10:47:07] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_scope":"frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_url_fragment":"system/themes/flexible/fonts.css","_route":"contao_catch_all"},"request_uri":"http://vatersta.at/system/themes/flexible/fonts.css","method":"GET"} []
    
    [2018-05-10 10:47:07] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    
    
    [2018-05-10 10:47:07] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Page not found: http://vatersta.at/system/themes/flexible/fonts.css" at /www/htdocs/w017f92c/vatersta.at/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 109 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Page not found: http://vatersta.at/system/themes/flexible/fonts.css at /www/htdocs/w017f92c/vatersta.at/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:109, Contao\\CoreBundle\\Exception\\PageNotFoundException(code: 0): Page not found: http://vatersta.at/system/themes/flexible/fonts.css at /www/htdocs/w017f92c/vatersta.at/contao/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:64)"} []
    Mit freundlichen Grüßen,
    bonnieclyde666

  2. #2
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.114
    Partner-ID
    10107

    Standard

    »
    Code:
    SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)

  3. #3
    Contao-Nutzer
    Registriert seit
    10.05.2018.
    Beiträge
    3

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    »
    Code:
    SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)
    Wo kann ich denn die Datenbank-Einstellungen festlegen?
    Dachte das passiert während der Installation.
    Versuche es jetzt mal in der angegebenen Datei.

    LG,

    bonnie

    EDIT:

    Habe in der PDOConnection.php versucht die Datenbankzugangsdaten manuell einzutragen.
    Leider ohne Erfolg.
    Kann mir jemand vlt. erklären wie man die Datenbank einrichtet?
    Laut Internet-Tutorial passiert das wie bei jedem anderen CMS während der Installation. Ich vermute den Fehler also wo anders.
    Vielen Dank.
    Geändert von bonnieclyde666 (10.05.2018 um 10:48 Uhr)

  4. #4
    Administrator Avatar von xchs
    Registriert seit
    19.06.2009.
    Beiträge
    14.557
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Die Datenbank erstellst Du im KAS. Die Contao-Installation erfolgt dann im Contao Installtool (http://vatersta.at/contao/install); dort trägst Du dann die Zugangsdaten zur betreffenden Datenbank ein.

    Und die Änderungen in der PDOConnection.php nimmst Du bitte wieder zurück.
    Geändert von xchs (10.05.2018 um 11:19 Uhr)
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  5. #5
    Contao-Nutzer
    Registriert seit
    10.05.2018.
    Beiträge
    3

    Standard

    Zitat Zitat von xchs Beitrag anzeigen
    Die Datenbank erstellst Du im KAS. Die Contao-Installation erfolgt dann im Contao Installtool (http://vatersta.at/contao/install); dort trägst Du dann die Zugangsdaten zur betreffenden Datenbank ein.

    Und die Änderungen in der PDOConnection.php nimmst Du bitte wieder zurück.
    Vielen Dank!

    Ich habe der Dokumentation entnommen, das Root-Verzeichnis werde zum Installieren verwendet.
    Ich dachte, die Seite die erscheint, wenn ich das Root-Verzeichnis aufrufe sei das Installationspanel.
    War einfach ein dummes Missverständnis.
    Ich möchte mich nochmal herzlich bedanken für die einerseits schnelle Reaktionszeit und vor allem auch die gute Hilfestellung und ich finde es toll, dass es für Contao auch so eine starke Community gibt.

    MfG,
    Bonnie

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •