reCaptcha suddenly not showing

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
hydrolic11
Posts: 2
Joined: Wed Apr 22, 2020 11:44 pm

reCaptcha suddenly not showing

Post 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!
User avatar
iconnor
Posts: 3362
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: reCaptcha suddenly not showing

Post 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.
hydrolic11
Posts: 2
Joined: Wed Apr 22, 2020 11:44 pm

Re: reCaptcha suddenly not showing

Post 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?
User avatar
iconnor
Posts: 3362
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: reCaptcha suddenly not showing

Post 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
Post Reply