Yii Framework Forum: user management in yii - Yii Framework Forum

Jump to content

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

user management in yii user management

#1 User is offline   shakeel rehmani layyah 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 04-June 12

Posted 05 June 2012 - 12:55 AM

HI
i am new to yii user framework i am work on yii user management and using Yii-User version 0.3 module but i have found the fatal error Fatal error: Call to a member function t() on a non-object in D:\wamp\www\userapp\protected\views\layouts\main.php on line 35.is there any solution



plz reply.............


thanks
0

#2 User is offline   Rajith R 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 884
  • Joined: 20-April 11
  • Location:India

Posted 05 June 2012 - 01:00 AM

View Postshakeel rehmani layyah, on 05 June 2012 - 12:55 AM, said:

HI
i am new to yii user framework i am work on yii user management and using Yii-User version 0.3 module but i have found the fatal error Fatal error: Call to a member function t() on a non-object in D:\wamp\www\userapp\protected\views\layouts\main.php on line 35.is there any solution



plz reply.............


thanks





thats translate function t(), remove that or include translate function....
Rajith Ramachandran,
Wiwo inc.
| Mobile: 919995504508
0

#3 User is offline   Pravin Gajera 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 137
  • Joined: 25-October 11
  • Location:India

Posted 05 June 2012 - 01:09 AM

View Postshakeel rehmani layyah, on 05 June 2012 - 12:55 AM, said:

HI
i am new to yii user framework i am work on yii user management and using Yii-User version 0.3 module but i have found the fatal error Fatal error: Call to a member function t() on a non-object in D:\wamp\www\userapp\protected\views\layouts\main.php on line 35.is there any solution



plz reply.............


thanks

Hello,

use like echo Yii::t('file_name', text_string);
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