Extend the controller - "File not found" error

Hi everybody,

I can not extend the controller, cause I get the "file not found" error.

This is the code in the config file:




'import'=>array(

	//'application.models.*',

	'application.components.Controller',

),



The file "Controller.php" (with the "Controller" class inside it) is in the "protected/components" dir.

I don’t know where I’m doing wrong.

Thanks.




'import'=>array(

        //'application.models.*',

        'application.components.*',

),



I did it, and this is the error:

include(Controller.php) [<a href=‘function.include’>function.include</a>]: failed to open stream: No such file or directory

what you doing should work.

check the spelling of Controller in your components directory.

Thanks. I was looking spelling error on file name, instead there is a spelling error in the directory name =)

i have the same error but i dont have spelling errors.It happens when i decided to move to webhost