Book Image

Learning Drupal 8

By : Nick Abbott
Book Image

Learning Drupal 8

By: Nick Abbott

Overview of this book

Drupal 8 sets a new standard for ease of use, while offering countless new ways to tailor and deploy your content to the Web. Drupal 8 allows user to easily customize data structures, listings, and pages, and take advantage of new capabilities for displaying data on mobile devices, building APIs, and adapting to multilingual needs. The book takes you step by step through building a Drupal 8 website. Start with the basics, such as setting up a local “stack” development environment and installing your first Drupal 8 site, then move on to image and media handling, and extending Drupal modules. Push your knowledge by getting to grips with the modular nature of Drupal, and learning to extend it by adding new functionalities to create your new modules. By the end of the book, you will be able to develop and manage a modern and responsive website using Drupal.
Table of Contents (21 chapters)
Learning Drupal 8
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Troubleshooting your installation


If your site does not install correctly, there are some configuration tips that you might want to check.

Tip

Note that if you are using the Dev Desktop, you need not do any of this.

Memory settings

Sometimes, memory settings may need to be adjusted to get your site running correctly. Here are some suggestions on things to adjust.

If you are getting out of memory errors during installation, you can try increasing the memory available to Drupal.

When you imported the Drupal 8 site, the Dev Desktop will have created a site folder, which contains a settings file specifically. The site-specific settings file is called settings.php and can be found in the default folder.

Note that the default folder is also linked to the drupal-8.dd symlink.

Locate and edit the file:

/sites/default/settings.php

Add a new line:

ini_set('memory_limit', '128M');

This increases the memory allocated to PHP when running your site. 128M should be sufficient, but if you still have problems, try increasing...