Tips and Tricks: Troubleshooting

Howto troubleshoot error after Drupal upgrade to 7.31, 7.32, 7.33, 7.34, 7.35, 7.36, 7.37, 7.38, 7.39 (Notice: Undefined index)

After the the upgrade to the recent Drupal version (in our example Drupal 7.31 - 7.34) you might get one of these errors: Notice: Undefined index: name in system_requirements() (line 34 in ../modules/system/system.install) or Notice: Undefined index: version in system_requirements() (line 36 in ../modules/system/system.install), solution is the same! This howto shows you how to troubleshoot this error.

Drupal Views: More link" is not showing/displaying. How to solve the problem?

If you configure a view as a block and you want to display the more link ("More link: Yes") it might happen, that the more link does not show/display. The more link can only show it there is a page to which the link can point to. So if you only have a block in the view but no page, it will not display.

Adding a view page to display the "more" link of a view block

Drupal Tokens: How to remove the line-breaking paragraph tag <p> from tokens used within nodes

Tokens are simple strings of text that serve as place holders for an as of yet unknown dynamic value. Tokens allows you to use small place holders to automatically complete tasks. To take a simple example, if you put [site:name] on your site, it will be replaced by the actual name of your site. To take a more complicated example, you can use Token together with the Pathauto module to automatically create URL patterns for your whole site.

Meta tags not showing on Drupal front page

If you are using the Drupal Metatag module it might happen, that the meta tags are not shown on the front page despite the fact that you defined them with "Global: front page". And this happens while they are shown on all the other pages.

How to make the Drupal superfish menu work properly with the Drupal theme MD Alpine (7.x-2.6 )

The Alpine theme from Megadrupal (7.x-2.6 ) is supposed to work with the Drupal superfish menu. The installation and configuration works smoothly. But although the configuration instructions under are followed there is a very significant problem: The submenu only opens on click. Okay, this is a matter of taste. But the problem is, that the main menu link isn't working. The link is there and it even can be opened in a new window, but it doesn't open on click.

How to troubleshoot blank pages or "white screen of death" (WSOD)?

Occasionally a site user or developer will navigate to a page and suddenly the page content disappears, and it becomes blank (White Screen of Death or WSOD). This happens sometimes, It could happen after updating a module, theme, or Drupal core. There are several reasons why this might occur, and therefore several possible solutions to the issue.

Troubleshooting: .htaccess option +FollowSymLinks creates "500 Internal Server Error"

An increasing number of operating systems and hosts have tightened up their security settings and now forbids +FollowSymLinks option in the .htaccess file that comes with Drupal core. This causes an error 500 when accessing the site. When they introduced this policy they automatically converted +FollowSymLinks to +SymLinksIfOwnerMatch. More details can be found here.

Solution: Change the following entry in your .htaccess file


.htaccess option +FollowSymLinks creates "500 Internal Server Error"

Views Slideshow is hiding the menu. How to solve the problem?

Problem: The Views Slideshow i.e. the Slide/Picture of Views Slidehow is hiding the menu (Dropdown, Nice Menu, Superfish, etc.). If one knows how, this is quickly solved by changing the "z-index" of the menu. The z-index property specifies the stack order of an element. An element with greater stack order is always in front of an element with a lower stack order.

Using "Inspect Element" to find CSS problems

Drupal 8: Mismatched entity and/or field definitions

If you get the warning "Entity/field definitions Mismatch detected Mismatched entity and/or field definitions." after upgrading (for example from 8.37 to 8.45 i.e. required security update) you have to fix this issue first before running database updates. If you don't you might get into unresolvable problems. The solution is easy.

1. Adapt index.php

Add the following script before $response->send(); in index.php file(located in Drupal root folder)

Drupal 8: Mismatched entity and/or field definitions

Use "Inspect Element" to troubleshoot potential Design/CSS problems

If you work with different themes and modules you may frequently encounter problems with CSS. This might be in the process of modifying theme/module related CSS code or it might be that there are CSS conflicts between themes and modules (for Example because the same terms are used). In any case, I recommend you to use the "Inspect Element" function of your browser. Usually you can activate this function by a right click on the element/area you want to inspect.

Example of "Inspect Element" as a mean to troubleshoot CSS problems


Drupal themes to be compared