Yii Framework Forum: User Authentication - Yii Framework Forum

Jump to content

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

User Authentication User Authentication Rate Topic: -----

#1 User is offline   Alishah 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 01-January 13

Posted 01 January 2013 - 05:15 PM

Hi all,

I am very new to Yii and I have been following the 'BUILDING A BLOG SYSTEM USING YII' tutorial to create a small web application. While the blog database contains user table already populated with username and password, my database has initially no entries in the user table. The problem is how do i log in to perform any action as i am taken to log in page and there's no username password in the user's table. I have tried inserting a record using mysql which is displayed when i access the view of the user, but i can not log in using this information.


#2 User is offline   softark 

  • Keep It Simple
  • Yii
  • Group: Moderators
  • Posts: 3,630
  • Joined: 16-February 11
  • Location:Japan

Posted 01 January 2013 - 08:21 PM

You will find a table schema for the program in Yii release download.
        schema.mysql.sql   ... for mysql
        schema.sqlite.sql  ... for sqlite

Use them to fill the table with the initial sample data.

And, yeah, welcome to the forum, Alishah.

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