[TYPO3-mvc] Problems with class loader

Steffen Kamper info at sk-typo3.de
Wed Jul 22 13:00:42 CEST 2009


Hi,

are you sure you used latest version of extbase? Registration changed.

Example from our extension:

ext_tables.php
Tx_Extbase_Utility_Plugin::registerPlugin(
	'MvcExtjsSamples',
	'HelloWorld',
	'MVC ExtJS Samples - Hello World'
);

ext_localconf.php
Tx_Extbase_Utility_Plugin::configureDispatcher(
	'MvcExtjsSamples',
	'HelloWorld',
	array('HelloWorld' => 'index'),
	array()
);

vg Steffen

Andriy Kushnarov schrieb:
> Dear all,
> 
> I'm trying to write a new extension based on extbase from scratch.
> I register new plugin, like it was done in blog_example.
> "Tx_Extbase_Utility_Plugin::registerPlugin"
> 
> But I've got fatal error:
> "Class 'Tx_MyPlugin_Controller_ProjectController' not found in
> ....\t3lib\class.t3lib_div.php on line 4794"
> But this controller class presents in the right place.
> 
> If I do the same inside blog_example I don't have such problem.
> What can it be the problem ?
> 


More information about the TYPO3-project-typo3v4mvc mailing list