added test to see if the error database info has already been added to settings.php