Answers.Body: <p>My syntax was wrong I needed to use tick marks around the values.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-05T14:44:15.160Z
Answers.LastActivityDate: 2020-02-05T14:44:15.160Z
Answers.UserDisplayName: Andy Burns
Body: <p>I've successfully set several overrides in civicrm.setting.php according to <a href="https://docs.civicrm.org/sysadmin/en/latest/customize/settings/" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/customize/settings/</a>. However, both Recatpcha and the USPS Address standardization tool break the site. Setting USPS provider line does work.</p>
  
  <p>I'm doing this on a WP multisite on CiviCRM 5.20.0.</p>
  
  <pre><code>// Set USPS standardization 
  $civicrm_setting['CiviCRM Preferences']['address_standardization_provider'] = USPS; 
  $civicrm_setting['CiviCRM Preferences']['address_standardization_userid'] = ***; 
  $civicrm_setting['CiviCRM Preferences']['address_standardization_url'] = 'http://production.shippingapis.com/shippingapi.dll';
  
  // Misc
  $civicrm_setting['CiviCRM Preferences']['recaptchaPublicKey'] = ***;
  $civicrm_setting['CiviCRM Preferences']['recaptchaPrivateKey'] =***;
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-02-05T06:59:15.140Z
Comments.Text: What do you mean by "break the site" is there an error message?
Comments.UserDisplayName: Luke Stewart
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-02-05T14:40:56.380Z
Comments.Text: WSOD, it was a syntax error. Putting as answer.
Comments.UserDisplayName: Andy Burns
Tags: <civicrm.settings.php>
Title: Setting USPS and recaptcha overrides breaks site
ThreadText: # Setting USPS and recaptcha overrides breaks site
  
  (Asked by: username_0 on 2020-02-04)
  
  I've successfully set several overrides in civicrm.setting.php according to <https://docs.civicrm.org/sysadmin/en/latest/customize/settings/>. However, both Recatpcha and the USPS Address standardization tool break the site. Setting USPS provider line does work.
  
  I'm doing this on a WP multisite on CiviCRM 5.20.0.
  
  ```
  // Set USPS standardization 
  $civicrm_setting['CiviCRM Preferences']['address_standardization_provider'] = USPS; 
  $civicrm_setting['CiviCRM Preferences']['address_standardization_userid'] = ***; 
  $civicrm_setting['CiviCRM Preferences']['address_standardization_url'] = 'http://production.shippingapis.com/shippingapi.dll';
  
  // Misc
  $civicrm_setting['CiviCRM Preferences']['recaptchaPublicKey'] = ***;
  $civicrm_setting['CiviCRM Preferences']['recaptchaPrivateKey'] =***;
  
  ```
  
  **Tags:** civicrm.settings.php
  
  > **Comments:**
  > **username_1**: What do you mean by "break the site" is there an error message?  
  > **username_0**: WSOD, it was a syntax error. Putting as answer.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-02-05. Score: 1
  
  My syntax was wrong I needed to use tick marks around the values.
  
  
  ---
  
  