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 ...

  • permission issue on the tmp folder? (assuming this should be happening which is something i know nothing about) – petednz - fuzion Apr 4 '18 at 19:29
  • 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. – Alan Dixon Apr 5 '18 at 16:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.