{ Drupal – unexpected error }

A uniquely entertaining message to get when spinning up a Drupal site is simply “The website has encountered an error”. No details. The PHP exception was caught, but we need to know what it is.

Change the $conf setting in settings.php as so:

 

$conf['error_level'] = 1;

Then we can start seeing the actual exceptions. Nifty.