Fatal Error: Class 'yii' Not Found In C:\wamp\www\streamswitcher\themes\stream\views\site\login.php On Line 6

hy all

I have a login form when I redirect to this login form from index.php I get this error

Fatal error: Class ‘Yii’ not found in C:\wamp\www\streamswitcher\themes\stream\views\site\login.php on line 6

can u post error? by default we have Yii::app()->user->returnUrl redirection !


have u checked the login action in site controller! and file in views



Can you show your action controller code???

thanks rohit I solved my problem…

your welcome bro :)