Giacomo79
(Kylnas)
1
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.
mbi
(mbi)
2
'import'=>array(
//'application.models.*',
'application.components.*',
),
Giacomo79
(Kylnas)
3
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
dckurushin
(Diavolonok)
4
what you doing should work.
check the spelling of Controller in your components directory.
Giacomo79
(Kylnas)
5
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