[TYPO3-dev] Problem with ext_autoload.php in TYPO3 6.2?
Stefan Kruse
besucher80 at gmx.de
Mon Apr 13 08:10:48 CEST 2015
Hi,
i would like to use a pbase extension in TYPO3 6.2.
I have in my main class some require_once statements to include some other classes. The included classes extends my main class tx_tl24_pi1. When now a method in a included extension was called i got an fatal error: Class 'tx_tl24_pi1' not found in 'PATH---'.
Then i try to put an ext_autoload.php in my extension root directory with:
$extensionPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('tl24');
#var_dump($extensionPath . 'pi1/class.tx_tl24_pi1.php');die;
return array(
'tx_tl24_pi1' => $extensionPath . 'pi1/class.tx_tl24_pi1.php'
);
But the error is always present.
Has maybe someone a hint? Do i forgot something?
Thanks Stefan
More information about the TYPO3-dev
mailing list