User Authentication

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.

Regards

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




demos

  blog

    protected

      data

        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.