Answers.Body: <p>It looks like you have two <code>civicrm.settings.php</code> files - or at least that <code>CIVICRM_DSN</code> is already defined.  If you remove the extra <code>civicrm.settings.php</code> this problem should resolve itself.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-30T06:51:19.880Z
Answers.Text: G I have checked, I don't have two civicrm.settings.php file. But I Have found civicrm.settings.php.template file. Do I need to have that or delete it?
Answers.UserDisplayName: sharaths
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-30T15:53:43.650Z
Answers.Text: No, that doesn't need to be deleted.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-29T14:26:07.760Z
Answers.LastActivityDate: 2019-01-29T14:26:07.760Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I am using CiviCRM 5.9.1 and Drupal 7.6</p>
  
  <p>I am creating a new event. adding the image to it by using CKEditor. when I tried to browse images/ upload the image. The error is coming.  Please refer to the screenshot for the error.
  <a href="https://i.sstatic.net/7xkd8.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7xkd8.png" alt="enter image description here"></a></p>
  
  <p>I followed the previous question regarding this KCFinder. I applied the available patch that is for civi 4.6. That one also didn't work.  </p>
  
  <p>I checked file permission and drupal uploading file permission. It is fine.</p>
  
  <p>Please give suggestion how to solve this issue.</p>
  
Tags: <civievent><drupal><images><kcfinder><upload>
Title: KC Finder - Uploading/browsing the images not working in CiviCRM 5.9.1
ThreadText: # KC Finder - Uploading/browsing the images not working in CiviCRM 5.9.1
  
  (Asked by: username_0 on 2019-01-29)
  
  I am using CiviCRM 5.9.1 and Drupal 7.6
  
  I am creating a new event. adding the image to it by using CKEditor. when I tried to browse images/ upload the image. The error is coming. Please refer to the screenshot for the error.
  [![enter image description here](https://i.sstatic.net/7xkd8.png)](https://i.sstatic.net/7xkd8.png)
  
  I followed the previous question regarding this KCFinder. I applied the available patch that is for civi 4.6. That one also didn't work.
  
  I checked file permission and drupal uploading file permission. It is fine.
  
  Please give suggestion how to solve this issue.
  
  **Tags:** civievent, drupal, images, kcfinder, upload
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-01-29. Score: 0
  
  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.
  
  > **Comments:**
  > **username_0**: G I have checked, I don't have two civicrm.settings.php file. But I Have found civicrm.settings.php.template file. Do I need to have that or delete it?  
  > **username_1**: No, that doesn't need to be deleted.  
  
  ---
  
  