【发布时间】:2018-05-10 00:46:34
【问题描述】:
在 TYPO3 CMS 安装工具升级向导中执行“在单行上执行数据库迁移”步骤时,我收到以下错误页面,其中没有错误详细信息。我正在从 TYPO3 7.6 升级到 8.7
我已经在安装工具中将配置预设设置为调试。
如何查看更多错误详情?
[更新 #1]
我刚刚在 TYPO3 后端菜单的“日志”下找到了这个,怀疑它可能是问题或与问题有关,但我仍然不知道如何解决它???
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1486155150: The RecordLinkHandler expects identifier and uid as $parameter configuration. | InvalidArgumentException thrown in file /some/path/vendor/typo3/cms/typo3/sysext/core/Classes/LinkHandling/RecordLinkHandler.php in line 40. Requested URL: https://example.com/typo3/install.php?&install[action]=upgradeWizard&install[controller]=tool&install[context]=standalone
[更新 #2]
原来团队中的其他人在typo3conf/AdditionalConfiguration.php 中有以下内容,这覆盖了typo3conf/LocalConfiguration.php 中的设置...
$GLOBALS['TYPO3_CONF_VARS']['BE']['debug'] = false;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors'] = 0;
一旦我将这些更改为 true,我就能看到错误痕迹......是的!解决了。
【问题讨论】:
-
config.contentObjectExceptionHandler = 0启用错误报告,以便您获得更好的想法。 -
我在我的主 TS 文件中取消了
contentObjectExceptionHandler行的注释,但似乎没有什么不同......仍然没有得到错误跟踪。您对我上面列出的错误有什么想法吗?不知道是什么原因造成的……看来这个错误是基于……if (empty($parameters['identifier']) || empty($parameters['uid']))
标签: php content-management-system typo3 fluid