can any one please help me…
i was getting this error, after i created crud.
this the error:
[size="5"]include(Controllers.php): failed to open stream: No such file or directory[/size]
can any one please help me…
i was getting this error, after i created crud.
this the error:
[size="5"]include(Controllers.php): failed to open stream: No such file or directory[/size]
Hi
Please give us more details about your issue
Which were the parameters passed to the gii crud ?
Base controller class is CController, not Controllers.
Check if the protected/config/main.php includes
'import' => array(
'application.components.*',
),
if you are use specific Controller in your module add also the ‘application.modules.invmgvt.components.*’,
Orey, You are right! I didn’t see this little detail!
in which file you are talking about?
in my ContactController.php i tried with both CController and Contorller.
either way, it’s giving the same error.
include(Controllers.php): failed to open stream: No such file or directory
oops…
i added those lines as you said.
still, i am getting same error.
include(Controllers.php): failed to open stream: No such file or directory
Orey said that you have to extends Controller (not Controllers)
So the error warning you that Controllers does not exist
So, try crud generator using Controller instead Controllers in "Base controller class" section
which class inherits the ContactController.php ?
ya… u r right.
now, that error gone.
thanks…