-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal Server 500 Error #17
Comments
Hello, 2016-02-15 14:56 GMT+01:00 S3baso [email protected]:
|
HMM, i am using https://github.com/SzymonLisowiec/php-steamlogin is it correct ? |
Kurde.. Przeciez ty jestes polakiem. To jest moj kod ktory uzywam do logowania: $SteamLogin = new SteamLogin(array( )); //echo $SteamLogin->view('http://steamcommunity.com/id/pandeu');
}else{ print_r($cookies); |
Hosting problem - change it |
Emm i think it isn't a problem. My host have safe mode off in php.ini |
Its host certificate problem! |
Oh, okay, thank you mate for advice, i will try another host and i hope it'll help |
@S3baso as i told just test on http://mipropia.com/ or use localhost |
mipropia.com throw me error 500, don't know why in php script. I'll just test it on localhost later. |
USE IT MY FRIENDZONE $SteamLogin = new SteamLogin(array( if($SteamLogin->success){ $authcode = '*****'; $them = [ [ $result = $steam->makeOffer([ if($SteamLogin->error != '') echo $SteamLogin->error; |
Look, it's your code: http://sebaso.mipropia.com/test.php If i try to put in there manualy api key, i'm getting server response while making offer 401 (Unauthorized) |
BECAUSE YOU NEED TO WHAIT 7 DAYS |
Same error , dont know whats wrong with my code , it loggs in , gets bot inventory, gets partner inventory but cant get own inventory , please emdy help =/ `$steam = new SteamTrade();
|
I solved this problem. I wrote new code in php curl. I will send you here this for a minute. I am on phone now |
S3baso , please provide us your haalp >_< |
Oh sorry here is my function (not optimized) i wrote that in 15 minutes this code is ugly but works:
Use:
P.S. Sorry for my bad english 👎 |
Oh, you wanted load your own inventory..
For me works perfect. I hadn't problem with that |
Thanks S3baso , will try your code soon , really thanks =D you saved my day o/ |
No problem, i had same problem few days ago. So i really understand you :D |
S3baso , by the way , how do you confirm steam bot trade trought mobile auth? i know i will face this problem soon , i'm able to generate the Code to loging like the mobile one, but i dont know how to simmulate the confirmation can you help? |
You need shared secret code (i exported that code from my app on phone). Search in google how to export shared secret code from your phone, then i will help you. |
I have it already o/ , can you add me on steam? |
@S3baso what cind of link u use to manipulate with trade accept? |
@S3baso u use SDK or like root app to view values? |
Only php, but this code took me weeks.. |
I rooted my phone and am done yet ;) |
@S3baso author key is simple author code 5dig and t is trade Id,ye? |
not really, you must get from that confirmation key, and confirmation id. Then use |
@S3baso you tested to confirm trades, work? |
I will put my script to github later. |
I get this urls from webcache but i have no idea what time you need to put, becase i get oops error so.. |
@S3baso Thank you for code example, it works fine ! So I don't understand why the function Am I the only one ?? |
Are you sure that cookies are correct? Try to print response from curl and paste it here |
Cookies must have SteamLogin, SteamMachineAuth, sessionid and something else but i don't remember. Can you paste variables from cookies what you have? |
@S3baso You ask to me ? |
Yes, you said that you have error 411 right? |
@S3baso Yes, but my cookies and sessionId are correct because it works with your code . |
So my code is working correct? You had error with halipso php tradeoffers yes? |
@S3baso Yes your wode works fine, but the code of this library doesn't work for me 😉 |
Oh, okay. I think we all have problem with this library |
Its lib problem because http simple dom is missing some headers, use @Sbaso code - its same as php-tradeoffers!!! |
Root your phone or use SDK to get device id and other stuff. |
Oh no, it was my fault, I had replaced all the URL |
steam.class.php in replace all |
@S3baso Hie there, I have tried your makeoffer() function , returning "null" :-( I have passed all the parameter correctly> Can you please suggest me any thing ????? Any help would be very great!!! |
Start and check login status, itemid, tradeurl, mby itemid is inactive etc. more stuff that causes null |
I checked all the parameters, I tried cookies by logging in manually into steam account and got the cookies and session id from browser settings. I also tired your login script to get all cookies and session id and then passed it to the makeoffer(). Still Null :-( Yesterday when i run this makeoffer() its returns null on live server, and on localhost it returns
From this error i understand the there is a parameter in inventory json called "market_tradeable_restrictons:7" this means i can trade my item after 7 days. But now when i again hit the url on localhost, this time it returns null, I am so very confused about all this. |
If your not new in php i suggest export curl and test it, because Iam sure than you missing some attribute |
This is my code and i tried many combinations with sessionid and cookies #Got the sessionid and cookies from your login script which you provided us #Got the sessionid and cookies from browser setting #By market_tradeable_restriction for 7days(because of new device login) , I have also tried this code on old device but still same negative result. but i am still unable to get the positive result, it always returned null or sometimes a blank page, I am asking you because i tried many thing and still got nothing. If you could help me out here by looking at my code then it would be very greatful .. Thanks in advance!!!!!! |
Git is full of answers stop been lazy and use google!!!!!! |
You have one mistake, try to find it :D |
Can you just tell me this thing, if i manually logged in into steam account and get the cookies and sessionid from browser , does it will still work ???? |
Yes it will work! |
Okay thanks buddy 😊 |
We are developing a steam website in which steam users can login and sell their skins to us. For merchant steam account(from which tradeoffer will be sent to steam users and their skins will come in this account) firstly we were using only email authentication for login process(script - https://github.com/SzymonLisowiec/php-steamlogin) in order to get the cookies and send tradeoffer to steam users using curl(makeoffer() present in above comment). But we have to sell this all steam users skins(which are in our merchant account) to another website name skin.cash so we enabled mobile authentication into our merchant account so skins would exchange immediately, by enabling this feature the trading process for users is a bit changed , now this script(https://github.com/SzymonLisowiec/php-steamlogin) always ask for two factor code. So we inputted once and saved those cookies and session id into database and used them to send tradeoffer to steam users.But at some point or after some days those cookies are getting expire. Do all other steam bot present in market only use email authentication for merchant account ??? Or is there any other solution or script for this??? Any help will be appreciated. |
You need mobile authentication to provide process without cooldown. |
Yes i am using mobile authentication account , but when first login using script , i get cookies and session id and i stored it into my database and use them to send tradeoffer. But after 2 days they are getting expired. So is this login script do have any other function or any other thing through which i can prevent login after two days manually ??? |
Its steam, more you trade more or login, you get up to one week cookie access, i loged in once a week. |
I have been having problem in cookies |
Array
(
[0] => HTTP/1.1 500 Internal Server Error
[Server] => Apache
[Vary] => Accept-Encoding,Origin
[Content-Security-Policy] => script-src 'self' 'unsafe-inline' 'unsafe-eval' https://steamcommunity-a.akamaihd.net/ https://api.steampowered.com/ http://www.google-analytics.com https://ssl.google-analytics.com https://www.google.com https://www.gstatic.com https://apis.google.com; object-src 'none'; connect-src 'self' http://steamcommunity.com https://steamcommunity.com https://api.steampowered.com/; frame-src 'self' http://store.steampowered.com/ https://store.steampowered.com/ http://www.youtube.com https://www.youtube.com https://www.google.com;
[Expires] => Mon, 26 Jul 1997 05:00:00 GMT
[Cache-Control] => no-cache
[Content-Length] => 89
[Content-Type] => application/json; charset=utf-8
[Date] => Mon, 15 Feb 2016 13:55:15 GMT
[Connection] => close
)
Error making offer! Server response code: 500
The text was updated successfully, but these errors were encountered: