Issue #496184 by mikeytown2: db_set_active errors out if db_connect fails. Add in the ability to handle this gracefully (don't always call _db_error_page).