I got this error after I add this line $civicrm_setting['Directory Preferences']['customFileUploadDir'] = '/var/www/testing/sites/default/files/civicrm/upload'; on civicrm.settings.php

enter image description here


Make sure the path has required permission for apache to write a file in it. This errors are usually occur due to permission issues.

| improve this answer | |
  • In the /var/www/, I don't have /testing/sites/default/files/civicrm/upload. Do I need to create? Or no need? Thanks – santiagoelie Oct 11 '18 at 17:56
  • Make sure you use correct path of upload folder. – Pradeep Nayak Oct 11 '18 at 17:57

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.