TYPO3:所有网址都显示起始页(如何调试?) [英] TYPO3: all urls show the start page (How to debug?)

查看:32
本文介绍了TYPO3:所有网址都显示起始页(如何调试?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了 TYPO3 9LTS,其中所有 URl 都显示上次部署后的起始页.

I have an installation with TYPO3 9LTS where all URls show the start page after the last deployment.

我们的系统部署分为三个步骤:开发、测试、生产.

Our system has a deployment in three steps: dev, test, prod.

我在 dev 上构建了新功能并使其正常工作,因此我将其部署到测试系统(包括对 TYPO3 最新版本 9.5.18 的更新).在测试系统(以前运行良好)上,我只能看到起始页,因为所有 URL(计算正确)都会导致显示起始页.

I have build new features on dev and got it working so I deployed it to the test system (including an update to the latest version 9.5.18 of TYPO3). On the testsystem (which worked nicely before) I can see only the startpage as all URLs (which are calculated correctly) result in showing the startpage.

使用 ext:realurl 我冷检查数组 $_GET 以检查 realurl 已解码的参数.

With ext:realurl I cold inspect the array $_GET to inspect which paramters realurl has decoded.

TYPO3 在哪里存储检测到的页面 uid 和可能的其他参数?

也许我在 routeEnhancers 的 YAML 配置中有一些错误.
如何检测 routeEnhancers 配置中的错误?(尽管相同的配置适用于开发系统)

Maybe I have some errors in the YAML configuration of the routeEnhancers.
How can I detect errors in the routeEnhancers configuration? (although the same configuration works on the dev system)

因为有多个答案暗示 uniqueInSite:可能有多个错误,但我有一个解决方案可以使我的安装正常工作:我不能使用域的条件.

As there are multiple answers hinting to uniqueInSite: maybe there are multiple errors, but I have one solution which makes my installation work: I can't use conditions for the domain.

只要没有系统地查找 URL 解析错误的解决方案,我就将问题悬而未决/未回答.

I leave the question open/ unanswered as long as there is no solution to systematicly find an error in URL-resolving.

uniqueInSite 也可能存在问题,但通常会导致 404,该 404 是单独处理的,并且通常不会导致显示起始页.

There might be also problems with the uniqueInSite, but that results normaly in a 404 which is handled separately and which nomaly does not result in the startpage to display.

推荐答案

我遇到了同样的问题.对我来说,这是由在 htaccess 中转发到 https 引起的(工作得很好),但在站点配置中有一个常规的 http 路径.该页面看起来应该是这样,但所有页面都显示了主页内容,同时在地址中包含了正确的 slug.将站点配置更改为 https 后,一切正常.愚蠢的我:)

I had the same problem. For me it was caused by havin a forward to https in the htaccess (which worked just fine) but a regular http path in the sites config. The page looked as it should but all pages showed the homepage content while having the correct slug in the address. After changing the site config to https everything worked as should. Stupid me :)

这篇关于TYPO3:所有网址都显示起始页(如何调试?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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