Typo3 8.7.19扩展迁移。错误:无法分析课程

时间:2018-08-27 12:20:38

标签: php typo3 typo3-8.x typo3-extensions

我正在尝试将旧扩展从6.2.31迁移到8.7.19。我可以激活扩展程序,但尝试使用它,发生以下错误:

1289386765:无法分析类:“ TYPO3 ... \ Controller \ VideoController”可能未加载或没有自动加载器? TYPO3 ... \ Controller \ VideoController类不存在

我已经检查了扩展中是否存在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
{…

0 个答案:

没有答案