Contents
How to reset an unusable theme in Drupal?
Make sure the file ownership and permissions of the new theme files is correct (i.e. whichever user Drupal runs as, typically the same as the web server, can read and execute) Make sure you have installed any dependencies that may be required by the theme, such as jQuery libraries or contrib modules
Where do I Find my themes for Drupal?
Check if the theme needed for your site is in drupal7/all/themes or drupal7/default/themes, if drupal7 is your drupal directory (If you use a multisite installation, the latter is drupal7/ my_site.com /themes , my_site.com being your site directory).
Why do I get a blank page in Drupal?
Another possible cause for a blank page is a name clash, i.e. a module and a theme are using the same name. For example, if module “foo” implements hook_block() with foo_block() and there is also a theme “foo”, then the theme engine will invoke foo_block() as the theme function to render a block.
What causes a ” white screen of Death ” error in Drupal?
The most common code error that causes a WSOD is having additional whitespace at the end of a PHP file. To avoid this issue, it is a Drupal coding standard to not include the closing ?> on a PHP file.
How does the configuration override system in Drupal work?
Overrides with higher priority will trump those with lower priority (in case of the same config name). Configuration overrides themselves operate at three distinct layers: language, modules and settings.php, with the last of these taking precedence. Overrides in settings.php take precedence over values provided by modules.
Where is the settings.php file in Drupal?
The settings.php file is located in your drupal directory under sites/default/settings.php. This is a special file that is created during the installation process. It doesn’t exist until you create it.
Where is the theme setting stored in Drupal 8?
In Drupal 8, the setting is in the config table, and stored as a blob value for system. theme. Remove the files of the bad theme and clear or rebuild the cache. After clearing the cache you should be able to log in again.