-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modular contact form not processing #1720
Comments
I'll try to take a look at your source if i get a minute. |
Hi @rhukster , have you been able to take a look at this recently? :) |
Hi, did you happen to find anything yet? :) |
Just a thought: Make sure you're not caching the page where the form is located. I remember having all kinds of issues if you cache pages with a form. |
Hi, I have disabled caching but this didn't help. |
I found a bug which could be related to this issue. Though I'm not sure if it affects also modular pages.. But if you are adding content dynamically, it'll make form not to work. |
Hi, all content is loaded from the pages itself and nothing comes from external resources. But did you manage to fix this bug? Otherwise I could test this on my modular website. |
Regarding to what you just said, I don't think my fix affects your issue. There's no tgz file anymore in the above url, so I cannot see what's going on. |
Oh yes, I had removed the tgz. I have put it back so you can download it again. |
I have just updated the form plugin to v2.11.4 and now I get the following error when filling out the contact form:
I updated the .tgz on https://steyaert.be/marleen.tgz. |
Can you get the whole traceback for the error? Especially I need the file/line in the form plugin. |
Oh, this was the entire error I got from the logs, the page in my browser only gave me this error: https://cl.ly/0Z0U0o1K2b0J even though I have debug logging enabled. |
Please change |
Oh ok, this is the full traceback: https://cl.ly/0o3a293v1D2O |
I believe I found the bug. Already fixed it in the form plugin. |
Did you fix it in v2.11.4 because I am already running this version. Or will you release a new version with this fix? |
It is released now. |
Hi, this release has solved the error I got but the initial problem still exists. I am not able to send out any mails with the form. |
I'm closing this issue. Although it isn't solved yet I used the workaround at https://learn.getgrav.org/forms/forms#displaying-forms-in-page-content to get a working form on this website, which will do just fine. |
Hi,
I have followed the steps on https://learn.getgrav.org/forms/forms/how-to-forms-in-modular-pages to add a form to my modular website at https://steyaert.be/marleen/.
But when I fill out the form and click the send button ("Verzend") nothing happens. I'm not guided to the thankyou page, the maillogs on my server tell me that there is no mail sent.
I've set the Mail Engine to SMTP (changed it to PHP as a test), the default from and to are defined.
I enabled the debugger but also nothing there, just like there is nothing to see in logs/grav.log.
I also noticed that adding the form definition in modular.md doesn't show my form but adding the definition to form.md does show it.
I also tried to base this on the deliver theme where it does work if I test but still can't seem to pinpoint the issue.
You can download the entire source from https://steyaert.be/marleen.tgz if you'd like.
I hope you can guide me in the right direction so that I can solve this.
Cheers
The text was updated successfully, but these errors were encountered: