我正在尝试将旧扩展从6.2.31迁移到8.7.19。我可以激活扩展程序,但尝试使用它,发生以下错误:
我已经检查了扩展中是否存在Controller /在ext_localconf中清除了所有chachs /更改为完整路径/检查了是否以大写字母开头的Template-,Partial-和Layoutfiles(我读到自8.7.x起这是必需的) )/在ext_emconf.php中定义了自动加载定义
没有什么可以帮助我解决问题。我还能做什么?
编辑: 这是一个插件,VideoController可以在那里与视频收藏夹进行交互。
\ TYPO3 \ CMS \ Extbase \ Utility \ ExtensionUtility :: configurePlugin
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'TYPO3.' . $_EXTKEY,
'videofrontend',
array(
'FrontendVideo' => 'list,
show,
filter,
listSelectedPublic,
listSelectedMember,
search,
switchWatchedVideosStatusByAjax,incrementVideoCounterByAjax',
'SelftestEvaluation' => 'evaluateSelftest',
),
// non-cacheable actions
array(
'FrontendVideo' => 'list,
show,
filter,
listSelectedPublic,
listSelectedMember,
search,
switchWatchedVideosStatusByAjax, incrementVideoCounterByAjax',
'SelftestEvaluation' => 'evaluateSelftest',
)
);
\ TYPO3 \ CMS \ Extbase \ Utility \ ExtensionUtility :: registerPlugin
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
$_EXTKEY,
'Videofrontend',
'video verwaltung' );
目录结构
typo3conf
/ext
/ivw
/Classes
/Controller
/VideoController.php
命名空间和类名
namespace TYPO3\Videoverwaltung\Controller;
class VideoController extends
\TYPO3\CMS\Extbase\Mvc\Controller\ActionController
{…