【发布时间】:2019-11-18 18:05:25
【问题描述】:
在我的 TYPO3 9 LTS 安装中,当带有无效(即没有配置 TypoScript)类型号 (PAGE.typeNum) 的请求进来时,我的安装返回一个丑陋的错误消息:
请求示例:https://www.example.com?type=1234
示例响应:
Service Unavailable (503)
The page is not configured! [type=1234][]. This means that there is no TypoScript object of type PAGE with typeNum=1234 configured.
More information regarding this error might be available online.
更多信息链接指向https://typo3.org/go/exception/CMS/1294587217,但目前没有任何有用的信息如何更好地配置我的安装。
这些错误消息也很烦人,因为它们可能由网络爬虫触发,并且每个请求都会在 TYPO 系统协议中创建一个错误条目。
如果未配置请求的类型编号,我该怎么做才能回退到/提供默认的 type=0 HTML 页面?
【问题讨论】:
标签: typo3 typoscript typo3-9.x