2

I want to override my CiviCRM settings. I am new with CiviCRM and I don't know where to put the line referenced in the attached image. Thanks in advance.

enter image description here

  • Is the question where to find your civicrm.settings.php file? If so, please edit the question to include which CMS you're using (WordPress, Drupal, Backdrop, Joomla) – Jon G - Megaphone Tech Nov 10 '18 at 20:40
  • I am using Drupal. I know where to find the civicrm.settings.php. My concern is everytime I add those line in civicrm.settings.php, I am always got an error about path. – santiagoelie Nov 11 '18 at 0:36
  • Whenever I add those lines inside the civicrm.settings.php. I always getting this kind or error. "Failed to make directory (customFileUploadDir) at /var/www/testing/sites/default/files/civicrm/upload. Please update the settings or file permission" – santiagoelie Nov 11 '18 at 0:45
1

I believe you need to update the directory "/var/www/testing/sites/default/files/civicrm/upload" to reflect your installation directory:

/var/www/yoursitefoldernamehere/sites/default/files/civicrm/upload

There may be another subfolder in your setup, like htdocs before the 'sites' folder as well.

2

You need to add this in civicrm.settings.php. Once you have added overided the settings clear CiviCRM cache so that the settings are updated correctly.

HTH

Pradeep

  • 1
    Whenever I add those lines inside the civicrm.settings.php. I always getting this kind or error. "Failed to make directory (customFileUploadDir) at /var/www/testing/sites/default/files/civicrm/upload. Please update the settings or file permission" – santiagoelie Nov 11 '18 at 0:45
  • isn't this an issue with your server settings w.r.t. the permissions on that file. basically it is saying ' you don't have permission to edit/save this file' – petednz - fuzion Nov 21 '18 at 1:40
1

I think this could be an issue with your server settings w.r.t. the permissions on that file. basically it is saying 'you don't have permission to edit/save this file' so you either needs to fix them or use sudo

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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