Skip to content
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

JForm recaptcha generates timeout-or-duplicate after successful send of form #31

Closed
mjb021 opened this issue Mar 3, 2018 · 4 comments
Closed
Assignees
Labels

Comments

@mjb021
Copy link

mjb021 commented Mar 3, 2018

It may be my installation (Joomla 3.85, php7, mysqli 5.6.36) but after the last upgrade I noticed that after the form is sent successfully (and I do not redirect to another page), it reloads the from with empy fields but then shows the error: "timeout-or-duplicate" - Error: Unable to Submit Form.
This is of course very confusing for the end-user. I now manually filtered out that message so my end-users are not bothered, but it does seem to be an issue.
Note: (See subject) form type is set to JForm.
Any ideas if it's something I did wrong or an issue with the code?
Mark

@andrewscaya
Copy link
Owner

Hi @mjb021,

Which CAPTCHA module are you using?

@andrewscaya andrewscaya self-assigned this Mar 8, 2018
@mjb021
Copy link
Author

mjb021 commented Mar 8, 2018

I'm using jForm so the installed default captcha is the (google) recaptcha that's provided in Joomla

@andrewscaya
Copy link
Owner

andrewscaya commented Mar 8, 2018

OK. Will try to reproduce your issue.

@andrewscaya
Copy link
Owner

@mjb021 --

I have not been able to reproduce this issue when using PHP 7.2.5 and Joomla 3.8.7 with the captcha/recaptcha plugin 2.0.

I know that Google modified the way they validate the captcha submissions lately. Two subsequent requests to validate the same captcha is now considered to be invalid and will return the 'timeout-or-duplicate' error. Many other projects have had this same issue (ex. this project). Since I am unable to reproduce the issue with a recent version of Joomla, I suspect that Joomla has already fixed this issue.

Anyway, this issue is not ours to fix, since it is not part of our code base. Our only recommendation would therefore be to update your version of Joomla to the latest version.

Thank you for your interest in the Simple Email Form module!

Best regards,

Andrew

@andrewscaya andrewscaya removed their assignment May 26, 2018
@andrewscaya andrewscaya self-assigned this May 26, 2018
Repository owner locked as resolved and limited conversation to collaborators May 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants