Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have setup Formulate with a few forms on a local enviroment. Each Storing the Data and Sending an email using the provided handlers fine. I have recently deployed the site to a staging enviroment but the handlers do not seem to be working.
All forms return "success" and proceed with my custom JS just none of the handlers attached to each form work. Maybe i've missed a file that should be included in the project? I had someone grab the latest from our repository and they were able to send emails and store data fine.
Is anyone able to give any advice as to why this is happening? Or where I could look to debug the issue?
This just happened to me, and the reason in my case was that it was a Formulate upgrade and the older version of Formulate didn't have the "disable" button on handlers. Because the back office frontend files were cached, the ability to toggle this disable button wasn't working, and evidently it defaulted to disabled. Solution was to clear the server wide cache and the browser cache. If you can see the disable button, that won't be your issue.
Another thing that can happen is that one of the handlers can have an error, and that will prevent the subsequent handlers from functioning. Try changing the order of the handlers to see if that helps.
The store data handler can fail if the database user doesn't have permission to create tables. The send email handler can fail if the SMTP credentials are misconfigured in the web.config.
Look in the error logs to see if there are any Formulate-related entries.
Thank you for the reply.
I believe the problem came down to issues with the SMTP setup. Like you said, this handler was being handled before the Store Data handler meaning I wasn't getting anything sent through.
This issue was due to a missing port number in the SMTP credentials that was required for the staging enviroment.
Thanks again for your help!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted