UCP doesn't work properly - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: UCP doesn't work properly (
/showthread.php?tid=633271)
UCP doesn't work properly -
Sc0pion - 28.04.2017
Fixed!
Re: UCP doesn't work properly -
Sebz - 28.04.2017
Is your table surely called 'accounts'? Also is your username column capitalized like 'Username' as the code has it? These things (as far as I know) are case sensitive.
Re: UCP doesn't work properly -
Logic_ - 28.04.2017
Are you using SHA256 in your script?
Re: UCP doesn't work properly -
Sc0pion - 28.04.2017
Fixed!
Re: UCP doesn't work properly -
Sebz - 28.04.2017
EDIT: Misread the PHP code! Sorry!
Re: UCP doesn't work properly -
Logic_ - 28.04.2017
Are you sure you're connected to the database? If yes, then something is missing that we didn't check for or there is an error in this code.
Re: UCP doesn't work properly -
Sc0pion - 28.04.2017
Fixed!
Re: UCP doesn't work properly -
Logic_ - 28.04.2017
Are you salting your SHA256 passwords in the script? I don't have much PHP knowledge though.
Re: UCP doesn't work properly -
Sc0pion - 28.04.2017
Fixed!
Re: UCP doesn't work properly -
DRIFT_HUNTER - 28.04.2017
I see that you are debugging both passwords (the entered one that's already hashed) and in database one. Are they both have same case (are they both UPPER CASE?)