# Troubleshooting Drupal issues

> Fix common Drupal problems such as blank pages, display errors, cron not running and slow database queries, step by step.

Source: https://helpcenter.ruachost.com/apps/drupal/troubleshooting-drupal-issues/

Drupal is a powerful CMS, but because of its complexity, problems can arise from modules, themes, or server configurations. On **ruachost.com**, you can troubleshoot common Drupal issues by following structured steps.

## Common Issues and Fixes

### 1. Disable Problematic Modules

- Modules are often the source of errors.
- Go to **Extend → Uninstall** and selectively disable modules.
- Re‑enable one at a time to identify the culprit.

### 2. Blank Pages or Missing Content

- Known as the **“White Screen of Death”**.
- Clear and rebuild Drupal’s caches:

  - Go to **Configuration → Development → Performance → Clear all caches**.
  - Or run `drush cache-rebuild` via command line.

### 3. Page Display Problems

- If page edits have no effect, caches may be stale.
- Clear caches as above.
- Check theme compatibility with your Drupal version.

### 4. Cron Job Does Not Run

- Cron jobs perform maintenance tasks like clearing logs and indexing content.
- Go to **Configuration → System → Cron** and configure a schedule.
- Ensure your hosting environment supports cron jobs (Ruachost does).

### 5. Database or Performance Issues

- Optimize database tables regularly.
- Enable caching under **Configuration → Development → Performance**.
- Consider advanced caching (Redis or Memcached) if available on your hosting plan.

### 6. Security Issues

- Keep Drupal core and modules updated.
- Remove unused modules/themes.
- Enable CAPTCHA or reCAPTCHA to prevent spam.

## Important Notes

- Always back up your site before making changes.
- Test fixes on a staging site before applying to production.
- Use the official Drupal troubleshooting guide [Drupal troubleshooting guide](https://www.drupal.org/troubleshooting) for deeper issues.
