Project

General

Profile

Bug #95825

Updated by Oliver Hader almost 3 years ago

When I press the button to execute "Check TCA in ext_tables.php" from the Upgrade module, then this results in an error message. 
 This happens only because the file ext_localconf.php has not been included before the TCA file is executed. The constant TT_BOARD_EXT is defined there. 

 <pre> 
 


 *(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception 
 PHP Warning: Use of undefined constant TT_BOARD_EXT - assumed 'TT_BOARD_EXT' 

 * 
 _ (this will throw an Error in a future version of PHP) in /var/www/html/develop/typo3conf/ext/tt_board/Configuration/TCA/tt_board.php line 21 

 in /var/www/html/develop/typo3_src-10.4.17/typo3/sysext/core/Classes/Error/ErrorHandler.php line 134 
             E_DEPRECATED => 'PHP Runtime Deprecation Notice' 
         ];          $message = $errorLevels[$errorLevel] . ': ' . $errorMessage . ' in ' . $errorFile . ' line ' . $errorLine; 
         if ($errorLevel & $this->exceptionalErrors) { 
             throw new Exception($message, 1476107295); 
         } 
         switch ($errorLevel) { 
             case E_USER_ERROR: 
             case E_RECOVERABLE_ERROR: 
 at TYPO3\CMS\Core\Error\ErrorHandler->handleError() 
 in /var/www/html/develop/typo3conf/ext/tt_board/Configuration/TCA/tt_board.php line 21 
         'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy', 
         'enablecolumns' => [ 
             'disabled' => 'hidden' 
         ], 
         'title' => 'LLL:EXT:' . TT_BOARD_EXT . DIV2007_LANGUAGE_SUBPATH . 'locallang_tca.xlf:tt_board', 
         'typeicon_column' => 'parent', 
         'typeicons' => [ 
             '0' => 'tt_faq_board_root.gif' 
         ], 
 _</pre> _

Back