Ergebnis 1 bis 3 von 3

Thema: Error 500 beim Aktivieren des Debug-Modus im Contao Manager

  1. #1
    Contao-Fan Avatar von mdoll
    Registriert seit
    25.06.2009.
    Ort
    Wietze
    Beiträge
    342

    Standard Error 500 beim Aktivieren des Debug-Modus im Contao Manager

    Hallo,

    ich habe eine Contao 4.9.10 bei netcup, bei der ich einen Error 500 erhalte, wenn ich im Contao Manager den Debugmodus aktivieren möchte.

    Fehlermeldung:
    Code:
    The cookie name "Deprecated: Using integers for registered date claims is deprecated, please use
    DateTimeImmutable objects instead. in /var/www/vhosts/xxx.netcup.net/httpdocs
    /xxx/vendor/lcobucci/jwt/src/Builder.php on line 151 Deprecated: Using integers for
    registered date claims is deprecated, please use DateTimeImmutable objects instead. in /var/www
    /vhosts/xxx.netcup.net/httpdocs/xxx/vendor/lcobucci/jwt/src
    /Builder.php on line 151 Deprecated: Implicit conversion of keys from strings is deprecated. Please
    use InMemory or LocalFileReference classes. in /var/www/vhosts/xxx.netcup.net
    /httpdocs/xxx/vendor/lcobucci/jwt/src/Builder.php on line 471 Deprecated: Not
    specifying the signer and key to Builder#getToken() is deprecated. Please move the arguments from
    Builder#sign() to Builder#getToken(). in /var/www/vhosts/xxx.netcup.net/httpdocs
    /xxx/vendor/lcobucci/jwt/src/Builder.php on line 506 contao_settings" contains
    invalid characters.
    
    Es scheint ein unbekannter Fehler aufgetreten zu sein. Prüfe die Log-Dateien deines Webservers
    (Apache/Nginx) und des Contao Managers im Ordner "contao-manager/logs".
    Das Log des Contao Manager ist ewig lang, beginnt mit:
    Code:
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] request.INFO: Matched route "contao_managerapi_server_config__invoke". {"route":"contao_managerapi_server_config__invoke","route_parameters":{"_route":"contao_managerapi_server_config__invoke","_controller":"Contao\\ManagerApi\\Controller\\Server\\ConfigController"},"request_uri":"https://meinedomain.de/contao-manager.phar.php/api/server/config","method":"GET"} []
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"api","authenticators":3} []
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] security.DEBUG: Calling getCredentials() on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] security.DEBUG: Passing guard token information to the GuardAuthenticationProvider {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] security.INFO: Guard authentication successful! {"token":"[object] (Symfony\\Component\\Security\\Guard\\Token\\PostAuthenticationGuardToken: PostAuthenticationGuardToken(user=\"cm.lk\", authenticated=true, roles=\"ROLE_ADMIN\"))","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] security.DEBUG: Guard authenticator set no success response: request continues. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
    [13-Jan-2021 15:53:10 Europe/Berlin] [2021-01-13 15:53:10] security.DEBUG: Remember me skipped: it is not configured for the firewall. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
    Wie kann ich das beheben und den Debugmodus aktivieren?

    Danke und Gruß
    Mathias
    “Ah," said Mr Pin. "Right. I remember. You are concerned citizens." He knew about concerned citizens. Wherever they were, they all spoke the same private language, where 'traditional values' meant 'hang someone'.”
    ― Terry Pratchett, The Truth

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

    Standard

    https://github.com/contao/contao-manager/issues/612

    Den Debug-Modus kannst du derzeit nur über das Contao Backend aktivieren (bis dass eine neue Version des Contao Managers veröffentlicht wurde). Außerdem musst du den Debug-Modus über das Contao Backend deaktivieren, bevor du den Contao Manager aufrufst.

  3. #3
    Contao-Fan Avatar von mdoll
    Registriert seit
    25.06.2009.
    Ort
    Wietze
    Beiträge
    342

    Standard

    Oh, alles klar.

    Danke!
    “Ah," said Mr Pin. "Right. I remember. You are concerned citizens." He knew about concerned citizens. Wherever they were, they all spoke the same private language, where 'traditional values' meant 'hang someone'.”
    ― Terry Pratchett, The Truth

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
  •