Using Drupal

Errata for Using Drupal

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date Submitted
Printed Page xix
middle of page

default username of "admin" and paswword of "oreilly" was not created when installing the job posting site for chapter 3. i had to manually change the users database in order to access the adminstrative area of the site. the information in the database for the admin users name after the install was "placholder_ for_ user_ id_1" or something like that? weird...

Anonymous  Jul 07, 2012 
Printed Page xviii
Last paragraph

In order to use the book's source code while avoiding a plethora of errors and alerts, do this: 1. download the book's source code as advised 2. download the latest Drupal version 3. in the new Drupal folder replace two folders by the book's source code folders:   sites   profiles More tips can be read below.

Rob Vunderink  Jan 15, 2013 
ePub Page ebook

Table 4-4 re configuring review type, mentioned Enable Browser Plugins There is no Enable browser plugins on my installation.

stu ducklow  Apr 14, 2013 
ePub Page ebook

Following para in Chapter 4 doesn't make any sense. Can't find link. Don't know where to look. When you’re starting a new site, it is often handy to be able to import a whole bunch of files at once, instead of having to upload them all one by one—for example, when you have files on your computer that you want to upload, or a previous website that hosted media files. The Media module provides a way to do this. If you navigate to Content→Files, and then click the “Import media” link (admin/content/file/import), you’ll see a field where you can enter a directory from which to import files, as shown on Figure 4-20 (you can also use a file matching pattern to limit the files that will be uploaded). Enter the name of the directory (for example, sites/default/files/my_pictures) where your files are, click Preview, and then click Confirm to pull all those files into Drupal. The files will immediately be ready for use in the media browser. Note that you need the “Import media files from the local filesystem” permission to be able to import media files this way.

stu ducklow  Apr 14, 2013 
ePub Page ebook

Chapter 4 promised to be a chapter about building an on-line photo gallery. It's about building a record review site. Nothing to do with a gallery.

stu ducklow  Apr 14, 2013 
ePub Page EPUB
Chap 4 on Displaying Media Files

In the administrative toolbar, click Structure→“Content types,” then click the “manage display” link for the Review content type (admin/structure/types/manage/review/display).At the bottom of the page, expand the “Custom display settings” fieldset, check the box for “Full content,” and click Save. Once you check that box, it’s no !!!!--CAN'T EXPAND CUSTOM DISPLAY SETTINGS. GODDAMMIT-- WHY CAN'T YOU GUYS ADD A FORUM FOR THIS BOOK SO ORDINARY READERS CAN GET THROUGH THE PROCESS OF DEALING WITH THIS SHIT WITHOUT HAVING TO PUZZLE IT OUT ALL THE FUCKING TIME!!! I AM SO SICK OF SHITTY BOOKS WITH INACCURATE TEXT-- YOU'RE ALL THE SAME. CHARGE $50 AND PRODUCE GARBAGE!!

stu ducklow  Apr 14, 2013 
Other Digital Version 1
United States

Page 1 is fictitious. I'm reading the Kobo E-book version and cannot determine the actual page number. Chapter 3: I have attempted to install with the chapter 3 installation profile using the method described in the book. But I am getting a large number of warnings (although the site does finally appear after that). I assume I am supposed to use the (old) version of Drupal that came with the source code for this. The warnings are all similar to this: Notice: Array to string conversion in menu_link_save() (line 3155 of /home/david/programming/drupal/usingdrupalsource7/drupal-7/includes/ But there are hundreds of them. I have PHP 5.4.6 if that helps. What should I do?

David Shochat  Feb 18, 2013 
PDF Page 39
step 2

The size of the file 'firebird.png' is larger than 2 megabytes, however, the 'upload_max_filesize' in 'php.ini' for Apache on a stock Ubuntu install is '2M'. Thus many folks will encounter an error during this step. Perhaps the book should mention this.

Ed Cavazos  Jun 29, 2012 
PDF Page 82
Figure 3-1

Hello, I'm having an issue displaying the Epic University page. Notice: Undefined index: highlighted in include() (line 126 of /var/www/drupal/modules/system/page.tpl.php). Notice: Undefined index: sidebar_first in include() (line 138 of /var/www/drupal/modules/system/page.tpl.php). Notice: Undefined index: sidebar_second in include() (line 144 of /var/www/drupal/modules/system/page.tpl.php). Notice: Undefined index: mayo in drupal_theme_initialize() (line 100 of /var/www/drupal/includes/ Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /var/www/drupal/includes/ Notice: Trying to get property of non-object in _theme_load_registry() (line 335 of /var/www/drupal/includes/ Notice: Undefined index: mayo in theme_get_setting() (line 1419 of /var/www/drupal/includes/ Notice: Trying to get property of non-object in theme_get_setting() (line 1456 of /var/www/drupal/includes/ Notice: Trying to get property of non-object in theme_get_setting() (line 1466 of /var/www/drupal/includes/ I've noticed there's a patch related to this problem in the source code, but I don't know where to use it with the patch command. I've tried in the drupal directory, also in the includes directory and in the site directory as well. It would be nice to get some feedback. Thanks in advance

Jorge Montoya  May 13, 2013 
Printed Page 163
United States

Step 1. Next to the "medium" style has to changed to Next to the "large" stule

ilhyung cho  Feb 01, 2013 
PDF Page 163
Changing this is easy: ... [step] 1. [at the top of the page]

Next to the “medium” style, click “edit.” should be . . . Next to the “large” style, click “edit.”

Richard Pilkington  Apr 06, 2014 
PDF Page 175
Section 5.

I realize that I'm using an updated version of media, but since it looks as though this will be the new way of doing it, Assigning a style has changed. in the version of media 7.x-2.0. You now assign the style by admin>structure>file-types click on "manage file display" next to the file type, in our case "images" then click on "Full Content" link - upper right. then under image styles, select your style here, in the case of the book, "Large" Now to get back on track in the book, in step 5, select "content" instead of large. Not sure if this is the best way, but it worked for the sake of this book. reference:

Chris Green  Feb 25, 2014 
Printed Page 176
Item #1's through #3

admin/config/media/file-types no longer exists in the configuration section. It has been moved to the Manage File Display tab of Home » Administration » Structure » File types » Image

Anonymous  Feb 18, 2013 
PDF Page 183

The CKEditor inserts '<p>' tags. However, in the Drupal install that comes with the book's source code, '<p>' tags are not allowed. I had to enable them: Configuration -> Text formats -> Filtered HTML -> configure -> Limit allowed HTML tags -> Add '<p>' to the list.

Ed Cavazos  Jul 02, 2012 
PDF Page 217
example code

div.group_summary should be

Alexander Rapp  Nov 24, 2013 
Printed Page 302
The bottom of the list of permissions

The list of permissions is missing a moderation flow from "Needs Staff Review" to "Published." It seems it should be checked for both editor and administrator.

Elliot Voris  Oct 21, 2013 
PDF Page 337
step 1

"Multilingual package" should be "Multilingual - Internationalization"

Ed Cavazos  Jul 05, 2012 
PDF Page 342
Forums section

The book says that the install profile will provide a default container "General discussion" as well as two forums. However, they are not available with the install profile for this chapter.

Ed Cavazos  Jul 06, 2012 
PDF Page 343
step 3

"Multilingual package" should be "Multilingual - Internationalization"

Ed Cavazos  Jul 06, 2012 
Other Digital Version 424
Table 9-16

Values for "Content: Path" do not mention checking "Use absolute link", without which the link on "Field: Image" will not be correct.

Art  May 28, 2012