Jump to content
Larry Ullman's Book Forums

Yii Book Cms Code Example - Install Question


damcinnis
 Share

Recommended Posts

I may be missing the obvious but is there someplace that describes how to install and run the code provided in the example files?

 

1. I have installed Yii

2. I have created the database and populated it using the sql code provided.

3. I have moved the CMS files over to the protected directories.

4. I have confirmed that main.php has database data for the cms application

 

So I am thinking everything should be good, except i need a username (email) and password to login. Lost, please help,

 

David

Link to comment
Share on other sites

The code you've downloaded is not a complete, working example. It's a bunch of code that implements many of the things explained in the book. It's not intended that you can just do the steps you've done and have a working CMS. The intention is to say you typing in code (or to allow you to more accurately cut and paste). So you'll need to read the book to see how one would login and use the site and such. For example, in an early chapter how you'd login will be different than it is in an older chapter.

Link to comment
Share on other sites

  • 4 weeks later...

Yes, the code is not complete, but it would be nice to know the password you used on the sample data. :-)

 

it does appear to be all the same password though.

 

Drumroll please, the password is "password"  ;-)

 

Ray

Link to comment
Share on other sites

 Share

×
×
  • Create New...