Contao-Camp 2024
Ergebnis 1 bis 3 von 3

Thema: Contao Install nicht aufrufbar

  1. #1
    Contao-Fan
    Registriert seit
    20.06.2009.
    Ort
    Küps
    Beiträge
    344

    Standard Contao Install nicht aufrufbar

    Kann jemand mit der Log Datei was anfangen.

    Contao-Manager läuft super aber ich komme nicht in /contao/install nicht rein da kommt nur weiße Seite.

    Code:
    [2018-01-08 15:32:27] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction","_route":"contao_install"},"request_uri":"http://www.landhausstil.info/contao/install","method":"HEAD"} []
    [2018-01-08 15:32:27] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction","_route":"contao_install"},"request_uri":"http://www.landhausstil.info/contao/install","method":"GET"} []
    [2018-01-08 15:32:27] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Type error: Return value of Doctrine\\Common\\Annotations\\AnnotationRegistry::registerFile() must be an instance of Doctrine\\Common\\Annotations\\void, none returned at /home/bksoldbx/www.landhausstil.info/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php:67)"} []
    Auch beim Aufruf von /contao kommt diese Meldung sonst auch nur weiße Seite:
    Code:
    [2018-01-08 15:35:36] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_scope":"backend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\BackendController::mainAction","_route":"contao_backend"},"request_uri":"http://www.landhausstil.info/contao","method":"HEAD"} []
    [2018-01-08 15:35:36] security.INFO: Attempting SimplePreAuthentication. {"key":"backend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
    [2018-01-08 15:35:36] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) at /home/bksoldbx/www.landhausstil.info/vendor/contao-bootstrap/core/src/Environment.php:119)"} []

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

    Standard

    Wie hast du Contao 4 und contao-bootstrap installiert? Es scheint als hättest du die Installation bzw. das composer update mit einer anderen PHP Version durchgeführt, als dein Webserver tatsächlich benutzt.

  3. #3
    Contao-Fan
    Registriert seit
    20.06.2009.
    Ort
    Küps
    Beiträge
    344

    Standard

    Danke Spooky das stimmt daran habe ich gar nichtmehr gedacht.

    Ich teste das mal mit den richtigen PHP Versionen

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
  •