Page 1 of 1

reCaptcha suddenly not showing

Posted: Wed Apr 22, 2020 11:49 pm
by hydrolic11
Greetings!
I have had reCaptcha working for years, when just suddenly this week it just.... stopped. No updates of zoneminder so I'm not aware of any changes. When I get the login screen, I don't see the reCaptcha checkbox or anything. If I proceed to try just user/pass, I get the following error:
Notice: Undefined index: g-recaptcha-response in /usr/share/zoneminder/www/includes/actions/login.php on line 37

Looking at the logs in /var/log/apache2/error.log, I see:
[Wed Apr 22 18:42:46.265321 2020] [php7:notice] [pid 15839] [client 192.168.10.1:63462] PHP Notice: Undefined index: g-recaptcha-response in /usr/share/zoneminder/www/includes/actions/login.php on line 37, referer: https://<redacted>

Any idea on what could be wrong? I've been struggling with this for several days, to no avail. I tried regenerating the reCaptcha keys and reentering, and still, same results. Thank you for any help!

Re: reCaptcha suddenly not showing

Posted: Thu Apr 23, 2020 1:19 pm
by iconnor
Not sure why it stopped, but I think I have it fixed. Will be released today hopefully. You can view the release-1.34 branch to find the fixes if you want.

Re: reCaptcha suddenly not showing

Posted: Sat Apr 25, 2020 4:41 pm
by hydrolic11
Thank you!
Would normal "apt update" pickup your changes? I tried so, and seems like the reCaptcha issue still persists. Or do I need to do something else?

Re: reCaptcha suddenly not showing

Posted: Sun Apr 26, 2020 4:49 pm
by iconnor
Unfortunately I though it was fixed in 1.34.10 but it is not. I have a further patch that will go in 1.34.11.

See https://github.com/ZoneMinder/zoneminder/issues/2918