【问题标题】:TYPO3 CMS 8.7.13 Install Tool Upgrade Wizard: Error when doing "Execute database migrations on single rows"TYPO3 CMS 8.7.13 安装工具升级向导:执行“在单行上执行数据库迁移”时出错
【发布时间】: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


【解决方案1】:

有关错误的更多详细信息,您需要在Locanconfiguration.php 文件中设置debug => true。如下所示。

'BE' => [
    'debug' => true
],

还可以在您的打字稿模板中添加以下行。

config.contentObjectExceptionHandler = 0

【讨论】:

  • 仍然没有得到错误跟踪。 Debug 已设置为 true,并且我在我的主 TS 模板中取消了 config.contentObjectExceptionHandler = 0 的注释...但我不确定打字稿是否会对安装工具错误报告产生影响???
  • 有关我遇到问题的原因的更多详细信息,请参阅原始问题中的更新 #2。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-12-05
  • 2012-05-09
  • 2017-11-26
  • 2012-03-21
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多