Project

General

Profile

Actions

Bug #65141

closed

Fatal Error: 'tx_div2007_core' not found

Added by Michael Pfenning about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-02-18
Due date:
% Done:

0%

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

Description

Website crash 2-3 times every week with Fatal error:
Class 'tx_div2007_core' not found in /kunden/298030_70794/rp-hosting/xxxxxxxxx/typo3cms/websites/bghm_62/htdocs/typo3conf/ext/tt_products/ext_localconf.php on line 10
The extension tt_products is installed well and work fine, checked by the author.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #55727: EM Fatal error: tx_div2007_core not foundClosed2014-02-06

Actions
Related to TYPO3 Core - Bug #66838: ExtensionManager loads ext_autoload.php to lateClosedMathias Schreiber2015-05-07

Actions
Actions #1

Updated by Michael Pfenning about 9 years ago

PHP 5.5 is in use

Actions #2

Updated by Stephan Großberndt about 9 years ago

  • PHP Version changed from 5.3 to 5.5
Actions #3

Updated by Stephan Großberndt about 9 years ago

  • Subject changed from Fatal Error DIV2007 to Fatal Error: 'tx_div2007_core' not found

I don't see how this is core-related. Anyway:

  • How is the reference to 'tx_div2007_core' defined in the ext/tt_products/ext_localconf.php on line 10?
  • Which versions of div2007 and tt_products are installed?
  • Which TYPO3 6.2 version is installed? 6.2.9? 6.2.10-rc1?
  • If the tt_products version you are using references tx_div2007_core, is it set as depends in ext_emconf.php?
Actions #4

Updated by Wouter Wolters about 9 years ago

  • Status changed from New to Needs Feedback
Actions #5

Updated by Michael Pfenning about 9 years ago

  • der Aufruf erfolgt aus der Datei ext_localconf.php von tt_products.
  • $typoVersion = tx_div2007_core::getTypoVersion();
  • Die Abhängigkeit ist in der Datei ext_emconf.php von tt_products auch gesetzt:
  • 'dependencies' => 'cms,table,div2007,func_wizards',
  • Typo3 Version 6.2.9
Actions #6

Updated by Stephan Großberndt about 9 years ago

  • Which versions of div2007 and tt_products are installed?

Since I couldn't find anything regarding "func_wizards" in the officially released version I guess you are using the beta 2.8.0 of tt_products?

https://github.com/TYPO3-svn-archive/tt_products/blob/Version-2-8-0/ext_emconf.php

Actions #7

Updated by Franz Holzinger almost 9 years ago

There are many versions of tt_products, where this error happens. E.g. this is in tt_products 2.7.12:

$typoVersion = tx_div2007_core::getTypoVersion();

It is not an error of tt_products, but of TYPO3. This function call has become necessary for extensions which must check the TYPO3 version, because this is very different for each TYPO3 version. An extension must in many cases check the TYPO3 version, because TYPO3 class names did change. Otherwise severe PHP errors would happen.

The same error is with any TYPO3 extension which uses the call to a function of tx_div2007_core.

( ! ) Fatal error: Class 'tx_div2007_core' not found in /path/typo3conf/ext/agency/ext_tables.php on line 6
Call Stack
#    Time    Memory    Function    Location
1    0.0002    256144    {main}( )    ../mod.php:0
2    0.0893    17502632    TYPO3\CMS\Extbase\Core\ModuleRunner->callModule( ) ../mod.php:38
3    0.0901    17554360    TYPO3\CMS\Extbase\Core\Bootstrap->run( ) ../ModuleRunner.php:67
4    0.2111    24584768    TYPO3\CMS\Extbase\Core\Bootstrap->handleRequest( ) ../Bootstrap.php:184
5    0.2210    25014144 TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler->handleRequest( ) ../Bootstrap.php:195
6    0.2248    25312144    TYPO3\CMS\Extbase\Mvc\Dispatcher->dispatch( ) ../BackendRequestHandler.php:33
7    0.4474    28060392 TYPO3\CMS\Extbase\Mvc\Controller\ActionController->processRequest( ) ../Dispatcher.php:69
8    0.6928    30456152 TYPO3\CMS\Extbase\Mvc\Controller\ActionController->callActionMethod( ) ../ActionController.php:157
9    0.6929    30458296    call_user_func_array ( )    ../ActionController.php:286
10    0.6929    30459008 TYPO3\CMS\Extensionmanager\Controller\ActionController->toggleExtensionInstallationStateAction( )    ../ActionController.php:286
11    0.7355    30888880 TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService->installExtension( )    ../ActionController.php:64
12    0.7364    30927448 TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService->installDependencies( )    ../ExtensionManagementService.php:158
13    0.7515    30929672 TYPO3\CMS\Extensionmanager\Utility\InstallUtility->install( ) ../ExtensionManagementService.php:254
14    2.3496    31325168 TYPO3\CMS\Extensionmanager\Utility\InstallUtility->reloadCaches( ) ../InstallUtility.php:110
15    2.3561    31380536    TYPO3\CMS\Core\Core\Bootstrap->loadExtensionTables( )    ../InstallUtility.php:284
16    2.3705    31492832 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtTables( ) ../Bootstrap.php:944
17    2.3705    31492880 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadSingleExtTablesFiles( )    ../ExtensionManagementUtility.php:1744
18    2.3788    31729368    require( '/path/typo3conf/ext/agency/ext_tables.php' ) ../ExtensionManagementUtility.php:1766 
Actions #8

Updated by Franz Holzinger almost 9 years ago

This is a general bug of the TYPO3 6.2.12 in the FE. I did not see this error in TYPO3 6.2.4.

Fatal error: Class 'tx_div2007_core' not found in /home/path/typo3conf/ext/agency/lib/class.tx_agency_tca.php on line 49
Call Stack
#    Time    Memory    Function    Location
1    0.0157    236272    {main}( )    ../index.php:0
2    0.0383    3776872    require( '/home/path/typo3_src-6.2.12/typo3/sysext/cms/tslib/index_ts.php' )    ../index.php:28
3    1.1442    27821888    TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript( )    ../index_ts.php:232
4    1.1445    27953376    TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent( )    ../TypoScriptFrontendController.php:3617
5    1.1448    27962232    TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process( )    ../TypoScriptFrontendController.php:3649
6    1.1451    28065688    TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->USER( )    ../TypoScriptFrontendController.php:3701
7    1.1452    28065944    TYPO3\CMS\Frontend\ContentObject\UserContentObject->render( )    ../ContentObjectRenderer.php:862
8    1.1453    28069728    TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction( )    ../UserContentObject.php:41
9    1.1453    28071344    call_user_func_array ( )    ../ContentObjectRenderer.php:6634
10    1.1453    28071456    tx_agency->main( )    ../ContentObjectRenderer.php:6634
11    1.1461    28151272    tx_agency_pi_base->main( )    ../class.tx_agency.php:47
12    1.2566    30097544    tx_agency_control_main->main( )    ../class.tx_agency_pi_base.php:69
13    1.2568    30109160    tx_agency_control_main->init( )    ../class.tx_agency_control_main.php:84
14    1.2582    30374376    tx_agency_tca->init( )    ../class.tx_agency_control_main.php:160

Somehow the file ext_autoload.php of the extension div2007 is ignored.

$extensionPath = t3lib_extMgm::extPath('div2007');
...
'tx_div2007_core' => $extensionPath . 'class.tx_div2007_core.php',

Actions #9

Updated by Franz Holzinger almost 9 years ago

I have now found a workaround:
Deinstall the extensions agency, voucher and div2007.
Install div2007 and then agency and voucher. Now it works again in the FE.

However on the next day I got the same error message again. I had to reinstall div2007 a second time to get it working again.

However this problem in the BE remains:

Fatal error: Class 'tx_div2007_core' not found in /home/path/typo3conf/ext/agency/ext_tables.php on line 6
Actions #10

Updated by Nicole Cordes almost 9 years ago

  • Status changed from Needs Feedback to Resolved

Should be resolved with patch https://review.typo3.org/39112/

Actions #11

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF