Index: /Applications/MAMP/htdocs/dot1/drupal/profiles/drupalorg_testing/drupalorg_testing.profile =================================================================== RCS file: /cvs/drupal-contrib/contributions/profiles/drupalorg_testing/drupalorg_testing.profile,v retrieving revision 1.42 diff -u -p -r1.42 drupalorg_testing.profile --- drupalorg_testing.profile 16 May 2008 12:21:01 -0000 1.42 +++ drupalorg_testing.profile 26 Jun 2008 13:48:45 -0000 @@ -158,7 +158,16 @@ function _drupalorg_testing_configure_de variable_set('devel_query_display', 1); variable_set('dev_timer', 1); # variable_set('devel_redirect_page', 1); - variable_set('devel_error_handler', DEVEL_ERROR_HANDLER_BACKTRACE); + // The devel backtrace error handler requires the krumo library, which does not + // come with the Drupal 5 version of the devel module. To keep users who have + // not installed the krumo library on their own from getting a WSOD, + // only use the backtrace error handler if the krumo library is found. + if (has_krumo()) { + variable_set('devel_error_handler', DEVEL_ERROR_HANDLER_BACKTRACE); + } + else { + variable_set('devel_error_handler', DEVEL_ERROR_HANDLER_STANDARD); + } // Save any old SMTP library if (variable_get('smtp_library', '') != '' && variable_get('smtp_library', '') != drupal_get_filename('module', 'devel')) { variable_set('devel_old_smtp_library', variable_get('smtp_library', ''));