全新安装最新的 TYPO3 9.5 LTS 后无法登录后端 [英] Can't login to backend after fresh install of the latest TYPO3 9.5 LTS

查看:36
本文介绍了全新安装最新的 TYPO3 9.5 LTS 后无法登录后端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Ubuntu 18 主机上全新安装 TYPO3 9.5 LTS.顺利,新数据库,一切.组成后端用户/密码 &完成后,我被发送到后端登录.

Fresh install of TYPO3 9.5 LTS on Ubuntu 18 host. Went smoothly, new database, everything. Made up the backend user/password & when finished, I was sent to the backend to log in.

登录页面似乎刚刚刷新.如果我使用了错误的凭据,它会告诉我它们应该是错误的.转到 sys_log 我看到用户从 x.x.x.x 登录";但我不允许进一步.

The login page seemingly just refreshes. If I use the wrong credentials it tells me they are wrong as it should. Going to sys_log I see "user logged in from x.x.x.x" but I'm not allowed further.

实际发送到服务器的重定向是:

The redirects actually sent to the server are:

303 POST /typo3?loginProvider=....
303 GET index.php?route=/main&token=...
200 GET /typo3/ (returns the login page)

关于检查什么的任何想法表示赞赏:我知道我在服务器上的方式,但我是 TYPO3 的新手.

Any ideas on what to check appreciated: I know my way around servers but I'm new to TYPO3.

推荐答案

Argon2i 类在 TYPO3 中始终可用,但是许多 php 安装没有编译成 php 的必需库.因此课程将失败.如果你想要最通用的解决方案,这里是:在 LocalConfiguration.php 中使用 phppass:

Argon2i class is always available in TYPO3, however many php installations do not have a required library compiled into php. Thus the class will fail. If you want the most universal solution, here it is: use phppass in LocalConfiguration.php:

<?php
return [
    'BE' => [
...
        'passwordHashing' => [
            'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\PhpassPasswordHash'
        ],
...

这篇关于全新安装最新的 TYPO3 9.5 LTS 后无法登录后端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆