0

I have a webform that integrates into CiviCRM such that the webform is used to save data into the Civi system. The following error is generated when hitting submit (although data is saved in the results tab of the form):

enter image description here

The lease helpful error message in the word - unless you only have one field =/

Any ideas as to how I can decipher which field is causing the issue e.g. use Watchdog or something to see what the query is or why the error is appearing. I don't have access to the mySQL server logs.

2
  • Normally Apache errors log file should tell you where this issue is coming from. Usually, it is located in the following directory on your server. apache/logs/error_logs
    – Jay Chand
    Dec 8, 2017 at 21:21
  • The easiest way to debug that is using Raven Sentry client module drupal.org/project/raven you will find what exactly the problem. I think it's in mapping fields based on your message.
    – Ziftman
    Dec 10, 2017 at 23:50

1 Answer 1

0

Thanks for taking the time to looking into the issue Jay Chand and Ziftman.

Turns out that if you go into the admin panel in CiviCRM there is a debugging option where you can turn on callback on errors and thus gain more insight into error messages such as the one I mention above.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.