TYPO3 日志 parsedUri“https:///”似乎格式错误

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

有人可以帮助我吗?这个错误大约每秒出现一次:而且我不知道它来自哪里。


Thu, 19 Oct 2023 08:59:52 +0200 [CRITICAL] request="a6c6e1b6ae6ec" component="TYPO3.CMS.Core.Error.ProductionExceptionHandler": Core: Exception handler (WEB: BE): InvalidArgumentException, code #1436717322, file #######typo3_src-11.5.30/typo3/sysext/core/Classes/Http/Uri.php, line 125: The parsedUri "https:///" appears to be malformed - {"mode":"WEB","application_mode":"BE","exception_class":"InvalidArgumentException","exception_code":1436717322,"file":"#######typo3_src-11.5.30/typo3/sysext/core/Classes/Http/Uri.php","line":125,"message":"The parsedUri \"https:///\" appears to be malformed","request_url":"https:///","exception":null}

2023 年 10 月 19 日星期四 08:59:53 +0200 [关键] 请求 =“3a2bdcc91d8aa”组件 =“TYPO3.CMS.Core.Error.ProductionExceptionHandler”:核心:异常处理程序(WEB:BE):InvalidArgumentException,代码 #1436717322 ,文件 #######typo3_src-11.5.30/typo3/sysext/core/Classes/Http/Uri.php,第 125 行:parsedUri“https:///”似乎格式错误 - {“mode” :“WEB”,“application_mode”:“BE”,“exception_class”:“InvalidArgumentException”,“exception_code”:1436717322,“文件”:“#######typo3_src-11.5.30/typo3/sysext/core /Classes/Http/Uri.php","line":125,"message":"解析的Uri "https:///"似乎格式错误","request_url":"https:///","异常“:空}


我检查了日志和数据库中的“https:///”,但没有运气。我希望 v11 的更新能够解决这个问题,但事实并非如此。 我们在不同的服务器上有与 DEV 相同的页面,问题不会出现

logging typo3 typo3-11.x
2个回答
0
投票

查看您的站点配置

Sites Management
->
Sites
位于选项卡
general
字段
Entry Point [base]
)。

您应该拥有一个完整的域名。

也许您在此处或任何变体中只有

/
(字段
Variants for the Entry Point[baseVariants]
)?


0
投票

这是一个较长的日志:

Fri, 20 Oct 2023 08:15:38 +0200 [CRITICAL] request="4bec869b88187" component="TYPO3.CMS.Core.Error.DebugExceptionHandler": Core: Exception handler (WEB: BE): InvalidArgumentException, code #1436717322, file /var/www/edag-latest/typo3_src-11.5.30/typo3/sysext/core/Classes/Http/Uri.php, line 125: The parsedUri "https:///" appears to be malformed- InvalidArgumentException: The parsedUri "https:///" appears to be malformed, in file /var/www/edag-latest/typo3_src-11.5.30/typo3/sysext/core/Classes/Http/Uri.php:125 - {"mode":"WEB","application_mode":"BE","exception_class":"InvalidArgumentException","exception_code":1436717322,"file":"/var/www/edag-latest/typo3_src-11.5.30/typo3/sysext/core/Classes/Http/Uri.php","line":125,"message":"The parsedUri \"https:///\" appears to be malformed","request_url":"https:///","exception":"InvalidArgumentException: The parsedUri \"https:///\" appears to be malformed in /var/www/edag-latest/typo3_src-11.5.30/typo3/sysext/core/Classes/Http/Uri.php:125\nStack trace:\n#0 /var/www/edag-latest/typo3_src-11.5.30/typo3/sysext/core/Classes/Http/Uri.php(111): TYPO3\\CMS\\Core\\Http\\Uri->parseUri()\n#1 /var/www/edag-latest/typo3_src-11.5.30/typo3/sysext/core/Classes/Http/ServerRequestFactory.php(65): TYPO3\\CMS\\Core\\Http\\Uri->__construct()\n#2 /var/www/edag-latest/typo3_src-11.5.30/typo3/sysext/core/Classes/Http/AbstractApplication.php(100): TYPO3\\CMS\\Core\\Http\\ServerRequestFactory::fromGlobals()\n#3 /var/www/edag-latest/typo3_src-11.5.30/index.php(20): TYPO3\\CMS\\Core\\Http\\AbstractApplication->run()\n#4 /var/www/edag-latest/typo3_src-11.5.30/index.php(21): {closure}()\n#5 {main}"}
© www.soinside.com 2019 - 2024. All rights reserved.