PHP Login sytem error

haxhi-bekaj

Dec 11th, 2016 05:59 PM

So I watched your video till the end and copied the exact same code u put but i get an error saying Credentials do not match.This shows up when i try to log in and to register.Please help me because i need to io this in 5 more days.

mark

Jan 12th, 2017 08:28 AM

Is this the same issue as https://devdojo.com/forums/discussion/php/create-a-php-login-script-2015youtube

alexander-antonov

Jan 25th, 2017 09:07 AM

I have the same problem. No errors, just whatever I type as user and pass, the message is - $message = 'Sorry, those credentials do not match';.

Everything in database looks alright.

alexander-antonov

Jan 25th, 2017 12:02 PM

I found the error. In database password field is 50 characters, but when the pass is cryptes, becomes longer than 50, that's why you see that everything with the INSERT is ok, after that you can not retrieve the same pass from db. Just make the pass field bigger. Hope that helps you!

allen-eve

Jan 30th, 2017 03:33 AM

How to edit the frontend page!

joseph-granieri

Jan 19th, 2018 10:21 PM

i have everything working but once i add one email and password it wont let another person register how do i fix that