Open mathiasrg opened 2 years ago
I have the same issue, i'm trying to solve it. Did you have any ideas about it? Now when i press the button it takes me to same page without doing nothing.
I did not find a fix for this. I didn't need to do the projects anyways, so i just abandoned it.
Your API key might be incorrect. Try to copy the URL from userInfo.php, line 4. Then insert your API key and the SteamID of the user you're trying to login as and try it manually in your browser. There is most likely an error message coming back from steam that the library is not reporting to you.
@T-m-A-r-K-y try https://github.com/SmItH197/SteamAuthentication/pull/267/files
I have tried setting this up for the first time but i am having a lot of trouble. I have read through everything, and watched a vid on setting it up, but i get a big amount of warnings on my site, here are all the warnings:
Warning: Undefined array key "steamid" in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 4
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 6
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 6
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 7
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 7
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 8
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 8
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 9
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 9
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 10
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 10
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 11
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 11
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 12
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 12
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 13
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 13
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 14
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 14
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 15
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 15
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 21
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 21
Warning: Undefined array key 0 in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 22
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\ND\steamauth\userInfo.php on line 22
I seem to be able to log in and out without trouble, but i still don't know why i have all these warnings. Hopefully someone knows how i can fix this!
-Mathiasrg