Error submitting form
Permalink Browser Info Environment
When submitting a form on my site, I get this error:
"There was an error submitting this form. Please contact the administrator of this site."
and it stays stuck on "processing".
I receive the submission emails, and so does the user submitting the form - so what could be causing this error?
"There was an error submitting this form. Please contact the administrator of this site."
and it stays stuck on "processing".
I receive the submission emails, and so does the user submitting the form - so what could be causing this error?
Type: | Discussion |
---|---|
Status: | In Progress |
Do you have a link?
http://bit.ly/GD9sgg
What version of Advanced Forms are you running?
Version 1.7.2
I apologize - just noticed this was never resolved. I assume you got this fixed?
I have not been able to fix it. Any ideas?
If you can send me the CMS admin login, I'll take a look. It's kinda hard to tell outside of that...
Got your message. I've got it fixed now in development, and will get the new version posted within the next day or two (I've got a lot of other changes I'm trying to roll into it as well).
If you want to fix it yourself in the meantime, just edit /packages/sixeightforms/tools/process_form.php. Change line 80 from:
To:
If you want to fix it yourself in the meantime, just edit /packages/sixeightforms/tools/process_form.php. Change line 80 from:
if((!ereg("^[-A-Za-z0-9_]+[-A-Za-z0-9_.]*[@]{1}[-A-Za-z0-9_]+[-A-Za-z0-9_.]*[.]{1}[A-Za-z]{2,5}$", $_POST[$field->ffID])) && ($_POST[$field->ffID] != '')) {
To:
if((!preg_match("/^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+\.[a-z]{2,4}$/i", $_POST[$field->ffID])) && ($_POST[$field->ffID] != '')) {
Thank You very much. It works just fine now.
The new version is posted which has this fixed if you would like to upgrade.
I'm using 1.9.1 and have someone getting this error as well.
As far as I know, it's just the one person. I haven't received any other complaints about this issue.
As far as I know, it's just the one person. I haven't received any other complaints about this issue.
Tony, this error could be related to a number of things, so it may not be the same as this one. If you're running 1.9.1, I'd first try upgrading to 1.10.
Thanks. I should've checked for any updates first.
When will this work for version 5.6.3.4? I'm assuming this getting this error is due to the fact that I am running 5.6.3.4?
When will this work for version 5.6.3.4? I'm assuming this getting this error is due to the fact that I am running 5.6.3.4?
I think I had the same problem, check here:
http://www.concrete5.org/marketplace/addons/advanced-forms/support/...
http://www.concrete5.org/marketplace/addons/advanced-forms/support/...