Page 1 of 1

Error recovering tickets by email

Posted: Tue Jul 19, 2022 10:18 am
by xbach
Script URL: https://suport.baixemporda.cat
Version of script: 3.3.1
Hosting company: self hosted
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: captcha recover tracking

Write your message below:
When someone tries to recover all the tickets by their email address it gets an error saying "Coud not validate reCAPTCHA SPAM protection"
https://cloud.baixemporda.cat/index.php ... NkmH6qVJZp

Re: Error recovering tickets by email

Posted: Tue Jul 19, 2022 4:28 pm
by Klemen
I confirm this issue when using "Invisible recaptcha". I expect to have a solution ready over the weekend.

Until then, the temporary work-around is to use the "ReCaptcha v2" or "Simple image" in Admin > Settings > Help desk > under SPAM Prevention.

Note that "ReCaptcha v2" needs a different site and private key than the invisible one.

Re: Error recovering tickets by email

Posted: Thu Jul 21, 2022 5:26 am
by xbach
Hi Klemen,
Thanks for your answer!
Regards,

Re: Error recovering tickets by email

Posted: Sun Jul 24, 2022 9:20 am
by Klemen
To fix the issue:

1. download this fix: https://hesk.com/extras/hesk3/hesk331-recaptcha-fix.zip
2. upload the form.php file into your Hesk /theme/hesk3/customer/view-ticket folder (overwrite existing file)
3. test

Re: Error recovering tickets by email

Posted: Mon Jul 25, 2022 6:15 am
by xbach
It works!
Thank you very much Klemen!
Best regards

Re: Error recovering tickets by email

Posted: Mon Oct 31, 2022 2:14 pm
by Judel
I was able to log in until this morning, and now every time I try (admin or submitting a ticket), I get the error: "Could not validate reCAPTCHA SPAM protection." I just upgraded from v2 to v3 last night, and it was working fine.

ETA to remove site.

Re: Error recovering tickets by email

Posted: Mon Oct 31, 2022 4:06 pm
by Klemen
Try uploading an empty head.txt and header.txt to your help desk - the current code you have there is breaking the Javascript which could be the issue.

Also, check with your hosting company if they have any code caching enabled on the server - they should disable it for Hesk.