contao/import — Issue #152: PHP Fatal error when using replaceInsertTags Hook in outputFromCache
Author: aschempp
Created: 2011-11-29 15:46:25+00:00
State: open
Labels: Defect, frontend

Szenario:
- output is cached
- an extension using replaceInsertTags hook is installed
- custom inserttag is used

TYPOlight fails, because:
1. index.php calls outputFromCache
2. outputFromCache tries to load hook class
3. this triggers the Controller::classFileExists
4. classFileExists calls $this->Config->getActiveModules to find the class
5. Controller->Config does not exist
6. PHP generates a fatal error because it's trying to call a function of a non-existing class.

--- _Originally created on October 1st, 2008, at 12:29pm (ID 152)_