Body: <p>On a civicrm_webform contribution page, attempting to make a payment gives this error in my Drupal db log:</p>
  
  <pre><code>The CiviCRM "contribution transact" API returned the error: "The file "/tmp/phpZcLm4t" does not exist" when called by function "validate" on line 96 of wf_crm_webform_postprocess.inc with parameters:
  </code></pre>
  
  <p>Kind of weird? I'm assuming it's something from the payment processor that's being handed down in try/catch blocks, but why payment processing is creating (and failing to find) temporary files is somewhat baffling.</p>
  
  <p>The payment on the form is optional, and I don't get the error when I don't include a payment. I think the validate function bit is a useful clue ...</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-04T19:29:05.773Z
Comments.Text: permission issue on the tmp folder? (assuming this should be happening which is something i know nothing about)
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-05T16:55:29.280Z
Comments.Text: Well, something like this - either the process creating the file is different from the one reading it, or else the file was never created, or was created with a different /tmp directory. But I have no idea why a tmp file is being created, or by which piece of code.
Comments.UserDisplayName: Alan Dixon
Tags: <webform-civicrm>
Title: File does not exist error on webform civicrm payment attempt
ThreadText: # File does not exist error on webform civicrm payment attempt
  
  (Asked by: username_0 on 2018-04-04)
  
  On a civicrm_webform contribution page, attempting to make a payment gives this error in my Drupal db log:
  The CiviCRM "contribution transact" API returned the error: "The file "/tmp/phpZcLm4t" does not exist" when called by function "validate" on line 96 of wf_crm_webform_postprocess.inc with parameters:
  
  Kind of weird? I'm assuming it's something from the payment processor that's being handed down in try/catch blocks, but why payment processing is creating (and failing to find) temporary files is somewhat baffling.
  The payment on the form is optional, and I don't get the error when I don't include a payment. I think the validate function bit is a useful clue ...
  
  **Tags:** webform-civicrm
  
  > **Comments:**
  > **username_1**: permission issue on the tmp folder? (assuming this should be happening which is something i know nothing about)  
  > **username_0**: Well, something like this - either the process creating the file is different from the one reading it, or else the file was never created, or was created with a different /tmp directory. But I have no idea why a tmp file is being created, or by which piece of code.  
  
  ---
  
  ## 0 answers
  
  