Feature #28063
closed
Use caching framework in autoloader
Added by Christian Kuhn over 13 years ago.
Updated over 11 years ago.
Description
The patch initializes the caching framework earlier during bootstrap and rewrites the autoloader to use the new phpcode cache as a register of all available classes.
Patch set 1 of change I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5 has been pushed to the review server.
It is available at http://review.typo3.org/3254
I get this one after cleaning all typo3conf/temp_* files.
( ! ) Fatal error: Class 'Tx_Extbase_Object_Container_Container' not found in /home/phil/t3-playground/t3-git/t3lib/class.t3lib_div.php on line 4727
Call Stack
# Time Memory Function Location
1 0.0022 937368 {main}( ) ../index.php:0
2 0.0036 1135624 require( '/home/phil/t3-playground/t3-git/typo3/init.php' ) ../index.php:38
3 0.0242 4219016 require( '/home/phil/t3-playground/t3-git/t3lib/config_default.php' ) ../init.php:201
4 0.0325 5575896 require( '/home/phil/t3-playground/dummy/typo3conf/temp_CACHED_ps9124_ext_localconf.php' ) ../config_default.php:948
5 0.0334 5921016 t3lib_div::makeInstance( ) ../temp_CACHED_ps9124_ext_localconf.php:392
The offending line is from extbase/ext_localconf.php
It is the first (code) line which fails...
// We need to set the default implementation for Storage Backend & Query Settings
// the code below is NO PUBLIC API! It's just to make sure that
// Extbase works correctly in the backend if the page tree is empty or no
// template is defined.
$extbaseObjectContainer = t3lib_div::makeInstance('Tx_Extbase_Object_Container_Container'); // Singleton
$extbaseObjectContainer->registerImplementation('Tx_Extbase_Persistence_Storage_BackendInterface', 'Tx_Extbase_Persistence_Storage_Typo3DbBackend');
$extbaseObjectContainer->registerImplementation('Tx_Extbase_Persistence_QuerySettingsInterface', 'Tx_Extbase_Persistence_Typo3QuerySettings');
unset($extbaseObjectContainer);
- Status changed from New to Under Review
- Target version changed from 1281 to 4.6.0-beta1
Patch set 2 of change I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5 has been pushed to the review server.
It is available at http://review.typo3.org/3254
Patch set 3 of change I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5 has been pushed to the review server.
It is available at http://review.typo3.org/3254
Patch set 4 of change I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5 has been pushed to the review server.
It is available at http://review.typo3.org/3254
Patch set 5 of change I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5 has been pushed to the review server.
It is available at http://review.typo3.org/3254
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
- Target version deleted (
4.6.0-beta1)
Also available in: Atom
PDF