升级10.4 - 11.5后TYPO3登录加载404?

问题描述 投票:0回答:1

我刚刚将 TYPO3 从

10.4
升级到
11.5

当我尝试登录后端时,登录表单提交会将我带到 404 页面。

mysite.com/typo3/login?loginProvider=1433416747

前端似乎正在运行,安装工具也正在运行。

如果我运行

vendor/bin/typo3cms
,它会告诉我:

TYPO3 Console 7.1.6
TYPO3 CMS 11.5.33 (Application Context: Production)

TYPO3 is not fully set up.
Command list is reduced to only show low level commands.
Not listed commands will not work until TYPO3 is set up.
Run "vendor/bin/typo3cms --all" to list all commands.

Some commands could not be configured and are missing in this list:
Command name: "scheduler:run", error: "The requested database connection named "Default" has not been configured."
Command name: "impexp:export", error: "Warning: Undefined global variable $LANG"
Command name: "impexp:import", error: "Warning: Undefined global variable $LANG"

我该如何解决这个问题?

typo3 typo3-11.x
1个回答
0
投票

TYPO3 v10 和 v11 之间的一个重要(“突破性”)变化是在 TYPO3 后端引入了人类可读的 URL(也称为“深度链接”,请参阅发布公告了解更多详细信息)。

升级后登录时出现 404 错误的典型根本原因是无效/过时的 Web 服务器配置(重写规则)。 TYPO3 尝试自动迁移配置,但如果您不使用 TYPO3 Core 附带的默认配置,这可能会失败。

如果您使用的是 Apache httpd,请检查

.htaccess
文件是否存在。请遵循 TYPO3 的更改日志中记录的迁移说明。

一旦您可以再次登录后端,请确保所有升级后任务均已完成。

© www.soinside.com 2019 - 2024. All rights reserved.