Urgent help needed D:

This is the line of code:

Rich (BB 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.
 
Top Bottom