Project

General

Profile

Actions

Bug #66845

closed

Fatal error Extension Manager: "Class 't3lib_BEfunc' not found"

Added by Arek van Schaijk over 9 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Extension Manager
Target version:
-
Start date:
2015-05-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Fatal error: Class 't3lib_BEfunc' not found in C:\wamp\www\*****\typo3\sysext\extensionmanager\Classes\Utility\UpdateScriptUtility.php(111) : eval()'d code on line 53

(see attachment)

Exception thrown when entering the Extension Manager after upgrading from 6.2.12 to 7.2.0 (without any upgrade issues).

I've tried:

  • Removed typo3temp completely and restructured the folder structure via the install tool
  • Clear all caches install tool
  • Flush caches inside the back-end
  • Reloaded it a couple of time
  • Restarted wamp

Can't get it working...


Files

screenshot.png (332 KB) screenshot.png Arek van Schaijk, 2015-05-07 20:53

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #66263: Access method in extension manager not respectedClosed2015-04-03

Actions
Actions #2

Updated by Arek van Schaijk over 9 years ago

Call Stack
  1. Time Memory Function Location
    1 0.0000 247272 {main}( ) ..\mod.php:0
    2 0.0130 2143032 TYPO3\CMS\Core\Core\Bootstrap->run( ) ..\mod.php:24
    3 0.0750 8398704 TYPO3\CMS\Backend\BackendModuleRequestHandler->handleRequest( ) ..\Bootstrap.php:191
    4 0.2060 17935768 TYPO3\CMS\Backend\BackendModuleRequestHandler->dispatchModule( ) ..\BackendModuleRequestHandler.php:72
    5 0.2100 18043024 TYPO3\CMS\Extbase\Core\ModuleRunner->callModule( ) ..\BackendModuleRequestHandler.php:140
    6 0.2120 18091936 TYPO3\CMS\Extbase\Core\Bootstrap->run( ) ..\ModuleRunner.php:67
    7 0.8320 26356912 TYPO3\CMS\Extbase\Core\Bootstrap->handleRequest( ) ..\Bootstrap.php:185
    8 0.8490 26765488 TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler->handleRequest( ) ..\Bootstrap.php:196
    9 0.8550 27008312 TYPO3\CMS\Extbase\Mvc\Dispatcher->dispatch( ) ..\BackendRequestHandler.php:31
    10 0.9271 29967872 TYPO3\CMS\Extbase\Mvc\Controller\ActionController->processRequest( ) ..\Dispatcher.php:70
    11 0.9491 30955408 TYPO3\CMS\Extbase\Mvc\Controller\ActionController->callActionMethod( ) ..\ActionController.php:154
    12 1.8821 31824184 TYPO3\CMS\Fluid\View\AbstractTemplateView->render( ) ..\ActionController.php:288
    13 1.9661 34023128 TYPO3\CMS\Fluid\Core\Parser\ParsingState->render( ) ..\AbstractTemplateView.php:182
    14 1.9661 34023160 TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\RootNode->evaluate( ) ..\ParsingState.php:82
    15 1.9661 34023336 TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode->evaluateChildNodes( ) ..\RootNode.php:26
    16 1.9661 34023976 TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode->evaluate( ) ..\AbstractNode.php:47
    17 1.9681 34036928 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper->initializeArgumentsAndRender( ) ..\ViewHelperNode.php:132
    18 1.9681 34037496 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper->callRenderMethod( ) ..\AbstractViewHelper.php:230
    19 1.9681 34039832 call_user_func_array:{C:\wamp\www\*****\typo3\sysext\fluid\Classes\Core\ViewHelper\AbstractViewHelper.php:248} ( ) ..\AbstractViewHelper.php:248
    20 1.9681 34042192 TYPO3\CMS\Fluid\ViewHelpers\Be\ContainerViewHelper->render( ) ..\AbstractViewHelper.php:248
    21 1.9721 34058304 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper->renderChildren( ) ..\ContainerViewHelper.php:123
    22 1.9721 34058480 TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode->evaluateChildNodes( ) ..\AbstractViewHelper.php:278
    23 1.9941 34739064 TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode->evaluate( ) ..\AbstractNode.php:47
    24 1.9941 34740792 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper->initializeArgumentsAndRender( ) ..\ViewHelperNode.php:132
    25 1.9941 34740792 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper->callRenderMethod( ) ..\AbstractViewHelper.php:230
    26 1.9941 34741944 call_user_func_array:{C:\wamp\www\*****\typo3\sysext\fluid\Classes\Core\ViewHelper\AbstractViewHelper.php:248} ( ) ..\AbstractViewHelper.php:248
    27 1.9941 34742568 TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper->render( ) ..\AbstractViewHelper.php:248
    28 1.9941 34743752 TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic( ) ..\RenderViewHelper.php:98
    29 1.9941 34744056 TYPO3\CMS\Fluid\View\AbstractTemplateView->renderSection( ) ..\RenderViewHelper.php:119
    30 1.9941 34745232 FluidCache_Extensionmanager_List_action_index_aed1a3a660e4cdd6095284bfa2d0b159504a96b8->section_4f9be057f0ea5d2ba72fd2c810e8d7b9aa98b469( ) ..\AbstractTemplateView.php:222
    31 2.0071 35148928 TYPO3\CMS\Fluid\ViewHelpers\ForViewHelper::renderStatic( ) ..\Extensionmanager_List_action_index_aed1a3a660e4cdd6095284bfa2d0b159504a96b8.php:1585
    32 2.7992 36611280 FluidCache_Extensionmanager_List_action_index_aed1a3a660e4cdd6095284bfa2d0b159504a96b8->{closure:C:\wamp\www\*****\typo3temp\Cache\Code\fluid_template\Extensionmanager_List_action_index_aed1a3a660e4cdd6095284bfa2d0b159504a96b8.php:380-1583}( ) ..\ForViewHelper.php:122
    33 2.8042 36619928 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper->initializeArgumentsAndRender( ) ..\Extensionmanager_List_action_index_aed1a3a660e4cdd6095284bfa2d0b159504a96b8.php:1575
    34 2.8042 36619928 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper->callRenderMethod( ) ..\AbstractViewHelper.php:230
    35 2.8042 36620808 call_user_func_array:{C:\wamp\www\*****\typo3\sysext\fluid\Classes\Core\ViewHelper\AbstractViewHelper.php:248} ( ) ..\AbstractViewHelper.php:248
    36 2.8042 36621144 TYPO3\CMS\Extensionmanager\ViewHelpers\ProcessAvailableActionsViewHelper->render( ) ..\AbstractViewHelper.php:248
    37 2.8042 36621144 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper->renderChildren( ) ..\ProcessAvailableActionsViewHelper.php:41
    38 2.8042 36621816 FluidCache_Extensionmanager_List_action_index_aed1a3a660e4cdd6095284bfa2d0b159504a96b8->{closure:C:\wamp\www\*****\typo3temp\Cache\Code\fluid_template\Extensionmanager_List_action_index_aed1a3a660e4cdd6095284bfa2d0b159504a96b8.php:1349-1568}( ) ..\AbstractViewHelper.php:276
    39 2.8052 36621736 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper->initializeArgumentsAndRender( ) ..\Extensionmanager_List_action_index_aed1a3a660e4cdd6095284bfa2d0b159504a96b8.php:1439
    40 2.8062 36620632 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper->callRenderMethod( ) ..\AbstractViewHelper.php:230
    41 2.8062 36621512 call_user_func_array:{C:\wamp\www\*****\typo3\sysext\fluid\Classes\Core\ViewHelper\AbstractViewHelper.php:248} ( ) ..\AbstractViewHelper.php:248
    42 2.8062 36621848 TYPO3\CMS\Extensionmanager\ViewHelpers\UpdateScriptViewHelper->render( ) ..\AbstractViewHelper.php:248
    43 2.8062 36622024 TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility->checkUpdateScriptExists( ) ..\UpdateScriptViewHelper.php:50
    44 2.8072 36627224 ext_update554bb3ddcc348->access( )
Actions #3

Updated by Stephan Großberndt over 9 years ago

I guess its an extension that is causing this issue.

t3lib_BEfunc is not a valid classname in 7.2 any more.

Either uninstall own extensions and install EXT:compatibility6 or fix the extensions (or have them fixed)

You might find help in #typ3-cms on Slack: https://forger.typo3.org/slack

Actions #4

Updated by Stephan Großberndt over 9 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (7.2 (Frontend))
Actions #5

Updated by Arek van Schaijk over 9 years ago

You're right but you can't do it inside TYPO3, it needs to be activated manually in PackageStates.php.

Actions #6

Updated by Wouter Wolters over 9 years ago

  • Status changed from Needs Feedback to On Hold

We are currently discussing what to do with this issue. Stay tuned for more infomration soon

Actions #7

Updated by Christian Kuhn over 9 years ago

  • Target version set to 6.2.13
Actions #8

Updated by Anja Leichsenring over 9 years ago

  • Sprint Focus set to Stabilization Sprint
Actions #9

Updated by Christian Kuhn over 9 years ago

  • Target version deleted (6.2.13)
  • Sprint Focus deleted (Stabilization Sprint)
Actions #10

Updated by Christian Kuhn over 9 years ago

We're still discussing options in slack channel #ext-update-foo :)

This is an issue in core version 7, and not in 6.2 ...

Current discussed options:
  • Try to catch the fatal and react somehow: Will end up in really ugly code
  • Add functionality to install tool to directly unload a specific extension: Will not honor dependencies, can cause other hazard eg. if "core" is unloaded, is dangerous, but gives options to fix this and other issues where an extension may trigger fatal backend errors, would be relatively easy to implement)
  • Add detection for this specific thing in the extension checker of the install tool: Requires a not trivial adaption of this code part)
  • Reject issue as won't fix with "sorry, you need to fix the extension by hand or unload it in PackageStates.php manually"
Actions #11

Updated by Arek van Schaijk over 9 years ago

I can live with the last option. But there should be an option to (de)activate it via the install tool. There may be many different error messages where people get stuck into, so this section of the install tool can explain and prevent that (including unnecessary tickets regarding this issue).

Actions #12

Updated by Christian Kuhn over 8 years ago

  • Status changed from On Hold to Rejected

the proposed solutions are all either evil hacks or a lot of work. it seems there is no major demand in this area. it is imho up to an extension author to maintain the update script, it is very hard for core to catch issues like an old class name usage here.

i'll close this issue as rejected.

Actions

Also available in: Atom PDF