i been puzzled for a little over a day with this class/user.php error it says its on line 258 when i look up that area it shows this code $stmt = $pdo->prepare('SELECT id FROM users WHERE email = ? limit 1');
i got the correct db information typed in the database user i use has full privilege right when i created the database just trying to give in liniment of what was done and what i have tried i been trying to google the answer so i did not have to bug anyone but this has me stumped specially since i been teaching my self to code and read and figure out errors for coding websites thanks.
Daniel Fedorov - 2017-05-14 23:41:21 - In reply to message 1 from Josh Ownz
RE: on line 258
I just installed this code on my local dev machine to test this. This script would give you an error on the line 255 according to the last revision from the author. This is 99.99% because you have entered an invalid database user info in a config.php file. Default values when you get this code are:
and here you need to make sure to put the name of the database you created - "login", or whatever you named it if you used another name. Then, double or triple check your dbUser name and dbPass if they match with what you type in the dbPass constant.