How to display ZM\Errors??

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
SirLouen
Posts: 25
Joined: Fri Mar 05, 2021 6:44 pm

How to display ZM\Errors??

Post by SirLouen »

This eveninng I could not login and I could not use the builtin login system with version 1.34.23
I tested a couple of users and passwords and it simply refuses to login

I simply was accessing by editing the ZM_OPT_USE_AUTH Config variable, but as soon as I activate it, no matter which combination of user and password I create in the backend it simply doesn't login.

Everything else, work fine.

Any hints of what can be going on?
I've checked /var/log/zm log errors but nothing in there.
Also I have checked the ZM log and nothing there either.

Solution?
I checked mistakenly OPT_USE_GOOG_RECAPTCHA without any Google Recaptcha parameters
No errors in apache, and JS console.

How I found this? By debugging the PHP code, through includes/action/login and includes/auth.php I noticed I could not pass the first conditional.

What I'm not sure is where I can see this debug error that was obviously being launch in this situation:
ZM\Error reCaptcha authentication failed. No g-recpatcha-response in REQUEST
SirLouen
Posts: 25
Joined: Fri Mar 05, 2021 6:44 pm

Re: How to display ZM\Errors??

Post by SirLouen »

After some research, but have not had time to test it yet, I think that by default logging is down to info not to debug.
Maybe at debug level this type of errors are displayed
Post Reply