我目前正在将我的 Typo3 6.x 迁移到 8.7。我知道这里有很多类似的问题,但我已经尝试了一切,提出了每一个解决方案。对于我的问题:当我访问具有 powermail 表单的页面时,我收到此错误:
The default controller for extension "Powermail" and plugin "Pi1" can not be
determined. Please check for
TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin() in your
ext_localconf.php.
由于 Powermail 显然没有任何错误,因此它必须对我的配置做一些事情。
每当FormController
在Powermail
.
ext_localconf.php
我的扩展:
<?php
defined('TYPO3_MODE') || die('Access denied.');
call_user_func(
function ($extKey) {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:extKeyHere/Configuration/TypoScript/setup.ts">');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptConstants('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:extKeyHere/Configuration/TypoScript/constants.ts">');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'TYPO3.' . $extKey,
'Integration',
array(
'Integration' => 'integration',
),
// non-cacheable actions
array(
'Integration' => 'integration',
)
);
},
$_EXTKEY
);
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\CMS\Extbase\SignalSlot\Dispatcher');
$signalSlotDispatcher->connect(
'In2code\Powermail\Controller\FormController', // namespace of Class: In2code\Powermail\Controller
'createActionAfterMailDbSaved',
'Typo3\extName\Controller\IntegrationController', //namespace of Class: Typo3\extName\Controller
'integration',
FALSE);
?>
我无法弄清楚问题是什么。我已经删除了 Powermail 扩展程序,重新激活它,清除了所有现金(也通过使用安装工具:清除所有缓存)等,但没有成功。
提前致谢。