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

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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

#1 User is offline   noorkhan885 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 14-June 14
  • Location:Ismabad, Pakistan

Posted 05 August 2014 - 05:52 AM

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
0

#2 User is offline   sefburhan 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 137
  • Joined: 08-February 12
  • Location:islamabad

Posted 05 August 2014 - 05:54 AM

View Postnoorkhan885, on 05 August 2014 - 05:52 AM, said:

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


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

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

#3 User is offline   noorkhan885 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 14-June 14
  • Location:Ismabad, Pakistan

Posted 05 August 2014 - 06:03 AM

Attached File  Screenshot_3.png (61.98K)
Number of downloads: 5

View Postsefburhan, on 05 August 2014 - 05:54 AM, said:

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

0

#4 User is offline   Rohit Suthar 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 167
  • Joined: 12-May 14
  • Location:Mumbai, India

Posted 05 August 2014 - 07:52 AM

Can you show your action controller code???
Thanks & regards,

ROHIT SUTHAR,
Mumbai(India)

Follow me - @rohisuthar

www.yiiframework.us



Don't be shellfish to click +1 button
0

#5 User is offline   noorkhan885 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 14-June 14
  • Location:Ismabad, Pakistan

Posted 06 August 2014 - 06:49 AM

View PostRohit Suthar, on 05 August 2014 - 07:52 AM, said:

Can you show your action controller code???

thanks rohit I solved my problem...
0

#6 User is offline   Rohit Suthar 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 167
  • Joined: 12-May 14
  • Location:Mumbai, India

Posted 06 August 2014 - 06:50 AM

your welcome bro :)...
Thanks & regards,

ROHIT SUTHAR,
Mumbai(India)

Follow me - @rohisuthar

www.yiiframework.us



Don't be shellfish to click +1 button
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users