Body: <p>I have a Drupal site setup as a civicrm multisite on domain 2 using webforms civicrm module to build registration pages, it was all working in development. Once it was connected to the live civicrm and the submissions of the form at the point of sagepay now logs an error.</p>
  
  <p>The CiviCRM "contribution create" API returned the error: "DB Error: syntax error" when called by function "preSave" on line 163 of wf_crm_webform_postprocess.inc</p>
  
  <p>It also fails to redirect to sagepay but instead returns the thank you page.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-30T20:17:52.367Z
Comments.Text: have you duplicated the webform so that you can test this on the other domains? is everything directly 'in civi' working fine for both/all domains?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-01T08:14:53.903Z
Comments.Text: Yes it works in civi for both domains and Drupal's permissions are set to allow webform access.
Comments.UserDisplayName: user285039
Tags: <drupal><webform-civicrm><contributions>
Title: Webform Civicrm contribution multisite domain 2 drupal
ThreadText: # Webform Civicrm contribution multisite domain 2 drupal
  
  (Asked by: username_0 on 2016-04-30)
  
  I have a Drupal site setup as a civicrm multisite on domain 2 using webforms civicrm module to build registration pages, it was all working in development. Once it was connected to the live civicrm and the submissions of the form at the point of sagepay now logs an error.
  
  The CiviCRM "contribution create" API returned the error: "DB Error: syntax error" when called by function "preSave" on line 163 of wf\_crm\_webform\_postprocess.inc
  
  It also fails to redirect to sagepay but instead returns the thank you page.
  
  **Tags:** drupal, webform-civicrm, contributions
  
  > **Comments:**
  > **username_1**: have you duplicated the webform so that you can test this on the other domains? is everything directly 'in civi' working fine for both/all domains?  
  > **username_0**: Yes it works in civi for both domains and Drupal's permissions are set to allow webform access.  
  
  ---
  
  ## 0 answers
  
  