Yii2 Development Blog

Scribblings of a Yii noob

In chapter 2 (around pages 54-56) we should now be able to save a record using our new form but you may run into some errors such as being redirected to the wrong page after submission and an unknown method error.

Continue Reading...

In chapter 2 (p53) we should be able to view our newly created form, but it's likely (if you are just following along with the book) that you will be getting errors such as 'Class 'app\controllers\CustomerRecord' not found' when trying to view the page.

Continue Reading...

In chapter 2 (p50) we start to build the user interface for the project, but the actions in the controller are not given correctly in the book. This is already noted on the packtpub site in the book errata but I'm adding it here for completeness.

Continue Reading...

In chapter 2 (p42) we need to start using the yii command line in order to create our database migrations. As the book assumes that you run a unix base system, the directions given will not work on a Windows based computer.

Continue Reading...

In chapter 2 (p34) we start to install yii2 into the application. The require line given in the book will not work with our original composer.json file which will need some edits.

Continue Reading...