Moin zusammen.
Im Zuge des Updates von 5.5.10 auf 5.6.0 habe ich in unserer Staging-Umgebung die Umstellung von PHP 7.1 auf 7.2 versucht. Das Frontend lässt sich danach noch bedienen, allerdings ist kein Login ins Backend möglich, ein Update auf 5.6.0 hab ich daher noch nicht vorgenommen.
Anfänglich gab es Probleme mit dem CSRF-Token - habe es daher in der config.php erstmal deaktiviert.
The provided CSRF-Token is invalid. If you're sure that the request to path "/backend/Login?file=app&no-cache=1566464531" should be valid, the called controller action needs to be whitelisted using the CSRFWhitelistAware interface. in engine/Shopware/Components/CSRFTokenValidator.php on line 106
Leider kriege ich weder im PHP Error Log, noch an der Oberfläche irgendwelche Fehler, ich werde einfach wieder zurück auf die Backend-Login-Seite geleitet, wenn ich die Daten eingegeben habe.
In der Javascript-Konsole steht auch nix… Habt ihr Ideen, wo ich noch gucken könnte? Alle nicht-default-Plugins habe ich unter PHP 7.1 nochmal testhalber deinstalliert und gelöscht, bringt auch nix.
config.php:
array (
'host' => 'localhost',
'port' => '3306',
'username' => 'xx',
'password' => 'xx',
'dbname' => 'xx',
),
'csrfProtection' => [
'frontend' => false,
'backend' => false
],
//Zeige Low-Level PHP-Fehler
'phpsettings' => [
'display_errors' => 1,
],
// Template-Cache
'template' => [
'forceCompile' => true,
],
// Backend-Cache
'cache' => [
'backend' => 'Black-Hole',
'backendOptions' => [],
'frontendOptions' => [
'write_control' => false
],
],
// Http-Cache
'httpCache' => [
'enabled' => true, // true or false
'debug' => true,
],
);
in der .htaccess hab ich das PHP Error-Log von All-Inkl aktiviert:
php_flag log_errors on
php_value error_log "/www/htdocs/xx/testing_sware_xx/log/error_log.txt"
Bin relativ ratlos…
Danke schonmal.