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

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.

1 Answer 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.

  • 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?
    – sharaths
    Jan 30, 2019 at 6:51
  • No, that doesn't need to be deleted. Jan 30, 2019 at 15:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.