Hello, I am trying to create an app with Log in and Sign up pages with Firebase Database, after watching some tutorials on YouTube, I managed to create the pages.
Runing on Companion it gives me this error: “Runtime Error: Select list item: Attempt to get item number 1 of a list of length 0: ()” when I try to Log in.
I have searched on the forum and also on google and Youtube for help and tutorials, but I couldn’t fixed it, I tried to understand the problem and solved it, but after I did, something went wrong and I couldn’t Log in because the “password was wrong” even when it was right, so I tried to make everything again following the same tutorial and this was the result.
These are my blocks, I know that the wrong part is in the “verify_password_login” procedure, but I can’t solve it, just like I explained.
Hello,
Your problem is: when you call Firebase, you set and empty list if the tag doesn’t exist. When Firebase get the value, if the user doesn’t exist, you are still trying to verify his password.