Resource icon

Steam Authentication & Integration 1.0.7

No permission to download
Getting error while running Steam cron job.
Using: 1.0.7c-v2 (updated from official 1.0.7)

With "?>" in Cron.php:
<snip>
#9 {main}[/PHP]

Without "?>" in Cron.php:
Successfull cron job processing.

____________________________________________

Are the most of /lib/ php files really intended to be in public /js/ folder?
Maybe it's would be nice to hide them at least with some .htaccess "deny from all"? :)

____________________________________________
Issue with cron is an easy fix, download the file and open it in Notepad++ or similar, then choose encoding UTF-8 without BOM, save and reupload. I tried to locate the BOM without success, so it easier just to encode it properly.

Second issue: You probably can set the permissions manually to those php files, AFAIK php scripts will always be executed by user, so 644 should work on them. I just checked on my setup, and all the php files in /js folder are set to 644.
 
I keep getting this error when trying to install. If I try again it of course errors out about the duplicate games_hours_recent table, which is fixed by dropping the xf_user_steam_games/xf_steam_games tables as mentioned. However I can't get past this error. If this error below doesn't show when I click "install", then it'll just end up loading for a minute or two before giving me a 504 gateway timeout, which is really odd since I've never had timeouts and this Steam addon is the only one causing it.

I'm using SteamAuth v1.0.7c-v2

Server Error

simplexml_load_string(): Entity: line 15: parser error : Opening and ending tag mismatch: br line 12 and div
  1. XenForo_Application::handlePhpError()
  2. simplexml_load_string() in Steam/Helper/Steam.php at line 79
  3. Steam_Helper_Steam->getUserGames() in Steam/Cron.php at line 29
  4. Steam_Cron::update() in Steam/Manufacture.php at line 104
  5. Steam_Manufacture->_installVersion8() in Steam/Manufacture.php at line 59
  6. Steam_Manufacture::build()
  7. call_user_func() in XenForo/Model/AddOn.php at line 214
  8. XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
  9. XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 178
  10. XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 310
  11. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  12. XenForo_FrontController->run() in /var/www/htdocs/admin.php at line 13

Any ideas?
 
Hello,

I'm getting this error, Anyone know a fix? Using the lastest official build.

ErrorException: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://steamcommunity.com/profiles/xxxxxxxxxxx/?xml=1:2: parser error : XML declaration allowed only at the start of the document - library/Steam/ControllerPublic/Register.php:117

Thanks in advance
 
Hello,

I'm getting this error, Anyone know a fix? Using the lastest official build.

ErrorException: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://steamcommunity.com/profiles/xxxxxxxxxxx/?xml=1:2: parser error : XML declaration allowed only at the start of the document - library/Steam/ControllerPublic/Register.php:117

Thanks in advance

When you get that, it's steam throttling you. I'll try to upload a small fix that helps this when I get a chance. Pretty much what Landergate is talking about ealier. The cron can still fail, but it does so less often.

I've been so busy after graduating and working on other projects, "hacking" this to work took a back seat @_@
 
Hello,

I'm getting this error, Anyone know a fix? Using the lastest official build.

ErrorException: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: http://steamcommunity.com/profiles/xxxxxxxxxxx/?xml=1:2: parser error : XML declaration allowed only at the start of the document - library/Steam/ControllerPublic/Register.php:117

Thanks in advance

I'm also getting this problem however my steam url is http://steamcommunity.com/profiles/xxxxxxxxxxx/?xml=1:1 not 1:2 not sure if this makes any diffrence
 
I get this error when trying to use the steam login, and also when trying to integrate a current user with steam:

simplexml_load_file() [function.simplexml-load-file]: http://steamcommunity.com/profiles/xxxxxxxxxxxxxxxxx/?xml=1:1: parser error : Document is empty
  1. XenForo_Application::handlePhpError()
  2. simplexml_load_file() in Steam/ControllerPublic/Register.php at line 117
  3. Steam_ControllerPublic_Register->actionSteamRegister() in XenForo/FrontController.php at line 310
  4. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  5. XenForo_FrontController->run() in /home/battlecr/public_html/forum/index.php at line 13
I have installed the latest unofficial patch AND i did drop the database tables specified in the instructions. I have also made sure to do the FTP permissions to 777.
Any ideas?
 
Hello, I found a solution for people have errors "Error during authentication. Please try again" during login through Steam.

As Morgan said in post #106 in this thread, People are directed to "https://example.com", while actually people should be redirect to "http://example.com". Then I found that the script did not understand whether user is from a secure connection or not. So, I started to look at "library/steam/controllerpublic/register.php", as Morgan mentioned.

The problem is in line 267

Code:
  'openid.realm'      => (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'],
The condition (!empty($_SERVER['HTTPS']) to check that if user is from a secure connection may not work on some servers.

So I added
Code:
&& ($_SERVER["HTTPS"]!=="off") || ($_SERVER['SERVER_PORT'] == 443)
beside (!empty($_SERVER['HTTPS']) (From stackoverflow.com)

The edited line will be
Code:
            'openid.realm'        => (!empty($_SERVER['HTTPS']) && ($_SERVER["HTTPS"]!=="off") || ($_SERVER['SERVER_PORT'] == 443) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'],
I can log in through steam, again.

Hope this help.
 
it works, but after I set my email, birthday, terms of agreement, and hit submit I get this

"A server error occurred. Please try again later."
 
Getting a error when trying to use this.

Code:
simplexml_load_file() [function.simplexml-load-file]: http://steamcommunity.com/profiles/xxxxx/?xml=1:1: parser error : Document is empty
XenForo_Application::handlePhpError() in Steam/ControllerPublic/Register.php at line 117
Steam_ControllerPublic_Register->actionSteamRegister() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/project/myproject/index.php at line 13

Everything uploaded correctly. I checked twice.
 
I guess no one has a fix for the issue I am having? I tried again and still have the same error. I rechecked every twice everything is uploaded correctly.
 
What version you used? Did you get register and login properly?

What version? I using the current one.. I downloaded it from here so that was kinda confusing. Also login and register? Uh.. it goes to steam and you login but once it returns it has that error in the post where I posted the error I get.
 
What version? I using the current one.. I downloaded it from here so that was kinda confusing. Also login and register? Uh.. it goes to steam and you login but once it returns it has that error in the post where I posted the error I get.
I asked because the official one is obsolete. You should check page 10 for the last version.
 
a lots of users on my forum have "Invalid profile data."
but im 100% sure my profile is correct as i connected it myself and it was working some months ago
 
Top Bottom