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

1 Answer 1


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

  • In the /var/www/, I don't have /testing/sites/default/files/civicrm/upload. Do I need to create? Or no need? Thanks Oct 11, 2018 at 17:56
  • Make sure you use correct path of upload folder. Oct 11, 2018 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.