繁体   English   中英

Typo3 8.7:Powermail 6.1:无法确定扩展名“ Powermail”和插件“ Pi1”的默认控制器

[英]Typo3 8.7: Powermail 6.1: the default controller for extension “Powermail” and plugin “Pi1” can not be determined

我目前正在将Typo3 6.x迁移到8.7。 我知道这里有很多类似的问题,但是我已经尝试了所有方法,提出了每种解决方案。 我的问题:当我访问具有超级邮件表格的页面时,出现此错误:

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显然没有任何错误,因此必须对我的配置进行一些处理。

每当在PowermailFormController中处理表单时,我都会使用其他扩展名来添加cronjob(DB中的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扩展名,将其重新激活,清除了所有现金(也使用安装工具:清除所有缓存)等,但均未成功。

提前致谢。

我自己找到了解决方案。 我的数据库中存储powermail形式的powermail为空。 我必须向该表tx_powermail_domain_model_form添加表单。 我的表格记录位于表tx_powermail_domain_model_formS ,因此在TYPO3后端的特定模板的插件配置内未找到任何表格。

(页面->使用Powermailform选择模板->插件->主设置->选择Powermailform(为空))。

也许这对其他人有帮助!

暂无
暂无

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

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