Hallo zusammen,
ich habe folgendes Problem:
Nach dem Frontend-Login kommt die Contao Fehlerseite "Bei der Ausführung des Skriptes ist ein Fehler aufgetreten. Irgendetwas funktioniert nicht richtig."
Wenn ich zurück gehe, ist der Login aber ausgeführt.
In der aktuellsten error.log steht folgendes:
Code:
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] request.INFO: Matched route "contao_managerapi_contao_jwtcookie__invoke". {"route":"contao_managerapi_contao_jwtcookie__invoke","route_parameters":{"_route":"contao_managerapi_contao_jwtcookie__invoke","_controller":"Contao\\ManagerApi\\Controller\\Contao\\JwtCookieController"},"request_uri":"https://www.shiningline.eu/contao-manager.phar.php/api/contao/jwt-cookie","method":"PUT"} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"api","authenticators":3} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] security.DEBUG: Calling getCredentials() on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] security.DEBUG: Passing guard token information to the GuardAuthenticationProvider {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] security.INFO: Guard authentication successful! {"token":"[object] (Symfony\\Component\\Security\\Guard\\Token\\PostAuthenticationGuardToken: PostAuthenticationGuardToken(user=\"Thorsten\", authenticated=true, roles=\"ROLE_ADMIN\"))","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] security.DEBUG: Guard authenticator set no success response: request continues. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] security.DEBUG: Remember me skipped: it is not configured for the firewall. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[06-Feb-2021 09:58:53 Europe/Berlin] [2021-02-06 09:58:53] app.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "The cookie name "Deprecated: Using integers for registered date claims is deprecated, please use DateTimeImmutable objects instead. in /var/www/web28983828/html/www.regiozahn.de/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/web28983828/html/www.regiozahn.de/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/web28983828/html/www.regiozahn.de/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/web28983828/html/www.regiozahn.de/vendor/lcobucci/jwt/src/Builder.php on line 506 contao_settings" contains invalid characters." at phar:///var/www/web28983828/html/www.regiozahn.de/web/contao-manager.phar.php/vendor/symfony/http-foundation/Cookie.php line 102 {"exception":"[object] (InvalidArgumentException(code: 0): The cookie name \"Deprecated: Using integers for registered date claims is deprecated, please use DateTimeImmutable objects instead. in /var/www/web28983828/html/www.regiozahn.de/vendor/lcobucci/jwt/src/Builder.php on line 151\n\nDeprecated: Using integers for registered date claims is deprecated, please use DateTimeImmutable objects instead. in /var/www/web28983828/html/www.regiozahn.de/vendor/lcobucci/jwt/src/Builder.php on line 151\n\nDeprecated: Implicit conversion of keys from strings is deprecated. Please use InMemory or LocalFileReference classes. in /var/www/web28983828/html/www.regiozahn.de/vendor/lcobucci/jwt/src/Builder.php on line 471\n\nDeprecated: Not specifying the signer and key to Builder#getToken() is deprecated. Please move the arguments from Builder#sign() to Builder#getToken(). in /var/www/web28983828/html/www.regiozahn.de/vendor/lcobucci/jwt/src/Builder.php on line 506\ncontao_settings\" contains invalid characters. at phar:///var/www/web28983828/html/www.regiozahn.de/web/contao-manager.phar.php/vendor/symfony/http-foundation/Cookie.php:102)"} []
Alle Systemwartungen habe ich bereits ausgeführt.
Den Debug-Modus kann ich nicht aktivieren aufgrund eines Error 500:
Code:
ERROR 500
The cookie name "Deprecated: Using integers for registered date claims is deprecated, please use DateTimeImmutable objects instead. in /var/www/web28983828/html/www.regiozahn.de/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/web28983828/html/www.regiozahn.de/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/web28983828/html/www.regiozahn.de/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/web28983828/html/www.regiozahn.de/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".
Kann mir hier jemand helfen? Ich weiß nicht mehr weiter.
Vielen Dank schonmal!
Lesezeichen