1 ethan5150 Jul 13, 2016 21:39
3 ethan5150 Jul 13, 2016 21:52
Thanks Manuel!
I tried adding this to my _advanced.php file but it doesn't seem to work:
$debug_pwd = 'debug';
When I go to http://superiorautonw.com/index.php/contact/email/?debug=debug it doesn't seem to change anything.
I didn't use the built-in contact form because when I built this site I wanted to customize the look of the form and this was the best way to accomplish that...
4 mgsolipa Jul 13, 2016 21:56
All right, please set $debug = '1';
for a moment, I will let you know to switch back to its original value.
5 ethan5150 Jul 13, 2016 21:57
...maybe I can just create a link on this page http://superiorautonw.com/index.php/contact/ to the built-in contact form - but now I forget how to call the contact form :-)
6 ethan5150 Jul 13, 2016 21:58
All right, please set $debug = '1'; for a moment, I will let you know to switch back to its original value.
This is done
7 mgsolipa Jul 13, 2016 22:00
Please disable debug mode. My answer in a few minutes.
8 mgsolipa Jul 13, 2016 22:21
@ethan5150 as I guessed, your form is missing an important security field added several version ago (your contact form might be failing from a long time ago now).
The missing field is a crumb
, which is basically a technique intended to avoid external pages sending data to your site. This crumb
can be only generated from "inside" of b2evolution, because it's based on the current session stablished at the time the form is displayed.
In a few words, I think that with some code effort (no idea how is actually implemented your form), you can manage to add the correct crumb
to the form, making b2evolution able to process it. However, I think it doesn't worth the effort, and that you can use the default contact form instead.
Before to going through, would you like to upgrade your site to the current stable version? It's way easier to help you working with a recent version. Besides of the tons of extra features that you will get from an updated site :D
@ethan5150 I'm not able to test using your version right now. I guess that is a customised form, so why don't you use the regular contact form?
Can you please enabled debug mode and share the output? If you are able to do it within the next 30 minutes, I'm available to take a look at the debug output directly from your site.
Please let me know.
Regards!