Closed TheFlyingApple closed 6 years ago
Same problem - $_SESSION['steamid'] is empty.
Steam changed this url "http://steamcommunity.com/openid/id/" to https. Just change url "https://steamcommunity.com/openid/id/"
@TheFlyingApple and @alekseytsvetkov - could you let me know if that fixed the problem?
Yes that fixed the issue.
Specifically its on this line in steamauth.php:
$ptn = "/^http:\/\/steamcommunity\.com\/openid\/id\/(7[0-9]{15,25}+)$/";
You have to change the http to https:
$ptn = "/^https:\/\/steamcommunity\.com\/openid\/id\/(7[0-9]{15,25}+)$/";
Hello there guys. I have changed http to https in steamauth.php But still have this error:
Unknown SSL protocol error in connection to steamcommunity.com:443
@Mo45 could you create a new issue please stating what version your using and any relevant code changes you've made and errors your getting, thanks.
Hello,
Everytime i try to log in, on my website i get this PHP error:
PHP Notice: Undefined offset: 1 in steamauth/steamauth.php on line 34
What is happening?