KC Finder - Uploading/browsing the images not working in CiviCRM 5.9.1
It looks like you have two civicrm.settings.php files - or at least that CIVICRM_DSN is already defined.  If you remove the extra civicrm.settings.php this problem should resolve itself.