Drupal – Add Current Page in Breadcrumb

Breadcrumb navigation is a core feature in Drupal 8. But by default, breadcrumb do not show current page. In this tutorial we will add current page in the breadcrumb navigation in our theme. This can be achieved by editing our theme file THEME-NAME.theme Step 1 Open THEME-NAME.theme file of your theme in any text editor. […]

Drupal Error – Fatal error Class ‘PDO’ not found

Your drupal powered website may show error message like PDO not found. The error message may be something like this: Fatal error: Class ‘PDO’ not found in /home/username/public_html/includes/database/database.inc on line 184 Solution Create a file php.ini in public_html folder Add following code: extension=pdo.so extension=pdo_mysql.so Save php.ini file Done!!

Drupal Error – Warning: ini_set() has been disabled for security reasons

Your Drupal powered website may start showing following error message: Warning: ini_set() has been disabled for security reasons Cause of error message Your hosting provider has disabled PHP function ini_set() on server. This is generally done to increase server security. Some server security expert highly recommend to disable ini_set() on servers. Solution #1 Contact your […]

Drupal Error – not allowed to access /tmp owned by uid 0

You may see these types of error message in your Drupal installation. The script whose uid is xxxx is not allowed to access /tmp owned by uid 0 The directory /tmp does not exist and could not be created. Solution This error message happens mostly because your server has PHP running in safe mode. If […]