Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Well, what do you know, I've changed to PHP 7.3 and succeeded in logging in as the admin!
Now, a new problem: although another user (with restricted permissions) is shown as defined in the Users table, I get "Invalid login" when trying to login as one. I even changed its password from the admin, to no effect. Where should I look to determine the cause of this?
function nuStringContains($needle, $haystack): bool {
Return type declarations are only supported as of PHP 7.0. By removing ": bool" the error should be gone. But it's better to use a more up to date version.
If you create just another additional user, will the login fail too?
Can you verify that the user record exists in the table zzzzsys_user?
If you set test as password, its MD5 hash is 098f6bcd4621d373cade4e832627b4f6 in the column sus_login_password.
To narrow down the issue I'd add some nuLog() calls that helps you debug and inspect variables/values.
E.g by replacing the function nuCheckUserLoginRequest() in nuprocesslogins.php, the username + password are logged in a nulog.txt file in nubuilder's root directory.