• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Urgent help needed D:

Jake Bunce

XenForo moderator
Staff member
#4
This is the line of code:

Code:
	public function actionSteamRegister() {
		$this->_assertPostOnly();
		$session = XenForo_Application::get('session');

		if(!$session->get('steam_id')) {
			return $this->responseError('Lost Steam ID');
		}

		// Get User Profile Data
		$id = $session->get('steam_id');
		$xml = simplexml_load_file("http://steamcommunity.com/profiles/{$id}/?xml=1");
		if(!empty($xml)) {
			$username = $xml->steamID;
			$avatar = $xml->avatarFull;
		}
From your error message, this is the URL being requested:

http://steamcommunity.com/profiles/76561198041253738/?xml=1

The document is not empty. I noticed it redirects. I'm not sure if that would be a problem or not.

It would be best to contact the author.