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?

Type: Discussion
Status: In Progress
rcersosi
View Replies:
jgarcia replied on at Permalink Reply
jgarcia
Do you have a link?
rcersosi replied on at Permalink Reply
rcersosi
http://bit.ly/GD9sgg
jgarcia replied on at Permalink Reply
jgarcia
What version of Advanced Forms are you running?
rcersosi replied on at Permalink Reply
rcersosi
Version 1.7.2
jgarcia replied on at Permalink Reply
jgarcia
I apologize - just noticed this was never resolved. I assume you got this fixed?
rcersosi replied on at Permalink Reply
rcersosi
I have not been able to fix it. Any ideas?
jgarcia replied on at Permalink Reply
jgarcia
If you can send me the CMS admin login, I'll take a look. It's kinda hard to tell outside of that...
jgarcia replied on at Permalink Reply
jgarcia
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:

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] != '')) {
rcersosi replied on at Permalink Reply
rcersosi
Thank You very much. It works just fine now.
jgarcia replied on at Permalink Reply
jgarcia
The new version is posted which has this fixed if you would like to upgrade.
FatTony1952 replied on at Permalink Reply
FatTony1952
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.
jgarcia replied on at Permalink Reply
jgarcia
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.
FatTony1952 replied on at Permalink Reply
FatTony1952
Thanks. I should've checked for any updates first.
ispmsu replied on at Permalink Reply
ispmsu
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?
ispmsu replied on at Permalink Reply
ispmsu
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?
andrew replied on at Permalink Reply
andrew

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.