我刚刚将 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"
Run Code Online (Sandbox Code Playgroud)
我该如何解决?
TYPO3 v10 和 v11 之间的一个重要(“突破性”)变化是在 TYPO3 后端引入了人类可读的 URL(也称为“深度链接”,请参阅发布公告以了解更多详细信息)。
升级后登录时出现 404 错误的典型根本原因是无效/过时的 Web 服务器配置(重写规则)。TYPO3 尝试自动迁移配置,但如果您不使用 TYPO3 Core 附带的默认配置,或者不使用Apache httpd ,则此操作可能会失败。
如果您使用的是 Apache,请检查该.htaccess文件是否存在。请遵循 TYPO3更改日志中记录的迁移说明。
再次登录后台后,请确保所有升级后任务均已完成。
| 归档时间: |
|
| 查看次数: |
129 次 |
| 最近记录: |