[TYPO3-mvc] Extbase - external Class - autoloader
S.Korth
s.korth at dms-arts.com
Sun May 2 13:37:53 CEST 2010
Hey all,
i build my first extbase extension. Now i try to include an external
class. At first i used the normal include, but as i read about the
autoloader i tried that:
// Generates the needed ext_autoload.php file
$extutil = new Tx_Extbase_Utility_Extension;
$extutil->createAutoloadRegistryForExtension($_EXTKEY,
t3lib_extMgm::extPath($_EXTKEY));
So far so good. I get my autoload file and it works on my local mamp
installation. All Classes get loaded.
Now i export the extension and test it on my server.
But, on my server this doesn't work. It doesn't load the external class.
I checked all my configurations, pathes. It's the same typo3, extbase
version.
php error -> Fatal error: Class 'myclass' not found in /folder.....
What could that be ?
Typo3 4.3.3
Extbase 1.0.2
Thanks so far,
Sascha
More information about the TYPO3-project-typo3v4mvc
mailing list