Page 1 of 1

"ZM_CASE_INSENSITIVE_USERNAMES"

Posted: Mon Oct 24, 2022 10:22 pm
by benjalien
Guys, Ladies,

I'm on Debian bookworm/sid, with PHP 8.1.7 and since I updated ZM to 1.36.31 I can't login anymore (web) and only see this error in my apache log:

PHP Fatal error: Uncaught Error: Undefined constant "ZM_CASE_INSENSITIVE_USERNAMES" in /usr/share/zoneminder/www/includes/auth.php:61\nStack trace:\n#0 /usr/share/zoneminder/www/includes/auth.php(320): validateUser()\n#1 /usr/share/zoneminder/www/index.php(178): require_once('...')\n#2 {main}\n thrown in /usr/share/zoneminder/www/includes/auth.php on line 61

I check the forum and asked my friends at google, but I can't find where to look for a solution. Would anyone have any clue?

Thanks!

Re: "ZM_CASE_INSENSITIVE_USERNAMES"

Posted: Tue Oct 25, 2022 1:25 am
by iconnor
You havn't run zmupdate.pl -f

Re: "ZM_CASE_INSENSITIVE_USERNAMES"

Posted: Tue Oct 25, 2022 8:20 am
by benjalien
How could I miss that :oops:

I can now login with my 'end-user' login, but not with my admin account
from the apache error log:
[Tue Oct 25 10:01:01.163817 2022] [php:notice] [pid 3265787] [client 192.168.1.1:8385] ERR [Login denied for user "admin"]

I just sneaked into my DB to change it so it's solved, I just wanted to mention it, just it case.

Thanks for your quick support and awesome project!