简体   繁体   English

TYPO3平滑迁移会导致致命错误

[英]TYPO3 smooth migration causes fatal error

I have TYPO3 version 4.7.3-dev . 我有TYPO3版本4.7.3-dev I want to upgrade to version 6.2 LTS and I found a migration checking tool Smooth migration . 我想升级到6.2 LTS版本,发现了一个迁移检查工具“ 平滑迁移” When I want to show the results I get an error: 当我想显示结果时,出现错误:

Fatal error: Call to a member function getResultAnalyzer() on a non-object in \typo3conf\ext\smoothmigration\Classes\ViewHelpers\ResultAnalyzerViewHelper.php on line 47

Is there any other way to show the results except searching in database? 除了在数据库中搜索之外,还有其他方法可以显示结果吗?

Hmm i think you should take another way. 嗯,我认为您应该采取另一种方式。 Its easier to link the new Typo3 Sources and go to the installation Tool. 链接新的Typo3源并转到安装工具更加容易。 There you have the upgrade Wizard. 那里有升级向导。 During the Update you get a lot of informations how to check extensions and make the upgrade to 6.2. 在更新过程中,您会获得很多有关如何检查扩展并将其升级到6.2的信息。

Most times its easier to get that way. 在大多数情况下,更容易获得这种方式。 The installer will first check all your extensions and disable unsupported and incompatible extensions. 安装程序将首先检查您的所有扩展,并禁用不受支持和不兼容的扩展。 After that he check the complete folder structure and after all checks the upgrade starts. 之后,他检查完整的文件夹结构,然后检查升级开始。

The Smooth Migration extension and the Install Tool don't cover the same areas of a migration. 平滑迁移扩展和安装工具没有涵盖迁移的相同区域。 The Smooth Migration gives you hints about code in extensions that will fail in new TYPO3 versions, eg require statements to TYPO3 core files that have a new location, Fluid ViewHelpers that were removed and functions that were deprecated or removed. 平滑迁移为您提供了有关扩展中的代码的提示,这些代码在新的TYPO3版本中将失败,例如,对具有新位置的TYPO3核心文件的require语句,已删除的Fluid ViewHelper以及不建议使用或已删除的功能。 This helps you to fix the code of your extensions. 这可以帮助您修复扩展程序的代码。 This is especially useful if you have custom extensions or old extensions that are not maintained anymore and helps you to upgrade on your own. 如果您有不再保留的自定义扩展名或旧扩展名,这将特别有用,它可以帮助您自行升级。 If EXT:smoothmigration doesn't work, clear all the caches (also typo3temp/Cache) and try again. 如果EXT:smoothmigration不起作用,请清除所有缓存(还包括typo3temp / Cache),然后重试。

The Install Tool guides your through the core updating process. 安装工具将指导您完成核心更新过程。 I suggest to disable all non-core extensions (in PackageStates.php --> set active to inactive after this file has been generated) so you can first have the core functions running again. 我建议禁用所有非核心扩展(在PackageStates.php中->生成此文件后,将active设置为inactive),以便首先使核心功能再次运行。 Then, re-install and upgrade if necessary the extensions piece by piece and get all the functionality back. 然后,如果需要,请逐个重新安装和升级扩展,并重新获得所有功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM