Answers.Body: <p>Make sure the path has required permission for apache to write a file in it. This errors are usually occur due to permission issues. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T17:56:13.890Z
Answers.Text: In the /var/www/, I don't have /testing/sites/default/files/civicrm/upload. Do I need to create? Or no need? Thanks
Answers.UserDisplayName: santiagoelie
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T17:57:10.890Z
Answers.Text: Make sure you use correct path of upload folder.
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T17:54:09.160Z
Answers.LastActivityDate: 2018-10-11T17:54:09.160Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>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</p>
  
  <p><a href="https://i.sstatic.net/g9IBY.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/g9IBY.png" alt="enter image description here"></a></p>
  
Tags: <settings>
Title: I got this error after I override the civicrm.settings.php
ThreadText: # I got this error after I override the civicrm.settings.php
  
  (Asked by: username_0 on 2018-10-11)
  
  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](https://i.sstatic.net/g9IBY.png)](https://i.sstatic.net/g9IBY.png)
  
  **Tags:** settings
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-10-11. Score: 0 | Accepted answer
  
  Make sure the path has required permission for apache to write a file in it. This errors are usually occur due to permission issues.
  
  > **Comments:**
  > **username_0**: In the /var/www/, I don't have /testing/sites/default/files/civicrm/upload. Do I need to create? Or no need? Thanks  
  > **username_1**: Make sure you use correct path of upload folder.  
  
  ---
  
  