Search the Community
Showing results for tags 'errata'.
-
I believe I found an error in the digital online copy. It is in Chapter 2 under "Handling an HTML Form". Paragraph 3 reads: PHP is case-sensitive when it comes to variable names, so $_REQUEST[‘city’] will work, but $_REQUEST[‘city’] and $_REQUEST[‘city’] will have no value. I'm not seeing any difference in the three variable names. I believe this sentence needs to be fixed.
-
These are the errors I can point out so far while reading the book. On page 90, the example script on line 14 missing the letter "r" in one of its function. On page 103, the description for image D should be "The HTML source, corresponding to C", not B. On page 128, this might not be an error, but I think I should point it out anyway. The gap between the singe quote used in $var3 is too wide. It can make people think that there's a space between them. empty() function will return true only if there's no space between quotation marks. If it contains a space, then th
-
Error location: Chapter 7, page 205 Incorrect text: } else { //Development (print the error) Corrected text: } else { //Production (email the error)
-
Is there, or shouldn't there be, a place to post potential Errata for the Yii2 book? I've stumbled across a few things here and there and don't see them mentioned in the forum. For instance, on page 684 (as of the PDF versioin I have which I just dowloaded) there are references to the "protected/views/site/pages/company" path. But the Yii2 book and the documentation specify that the "protected" folder has been eliminated.This just leads to confusion in what can be an already-confusing quest for a MVC and Yii noobie. Thanks
-
Hi Larry, I think that there is a little mistake on page 94. According to the db table "page" there are two date fields, "date_published" and "date_updated", but in the book, printing the # protected/models/Page.php::rules(), you wrote "date_entered" and "date_published". One more time I have to say thank you for your hard work! edit: found another little errata on page 95, when you print # protected/models/User.php::rules(), there is the "date_updated" attribute that doesn't exist in the "user" table, let me know if I have an old/wrong version of the db file! edit2: another little thi
-
I think there is a mistake at page 65: When you create page table, the date_entered index should followed by (date_published ASC) instead of (date_entered ASC). If I am wrong, please tell me. Thank you!