English   German
  #1  
Old 21-06-2002, 05:12
wack wack is offline
-= TeamSpeak User =-
 
Join Date: Jun 2002
Location: Milwaukee, WI
Posts: 3
wack is on a distinguished road
HTTP POST - does not seem to be working

Hello.

I have recently decided to take the "HTTP POST ON Challenge." I've coded up a very simple PHP script to work with the variables sent by TeamSpeak. I've tested it, too, and it works - the data is appended to my MySQL database.

However, when I leave it to TeamSpeak to send the HTTP POSTs on its own I appear to get no data.

This is on an NT 2000 server. I am running TeamSpeak as a service.

I've switched the setting to on in the tsserver.ini. Here's what I have in there (starting with [webstatus]):

Quote:
[WebStatus]
Active=1
TeamSpeakSite_Active=1
TeamSpeakSite_DisplayInWebList=0
WebPostURL=http://gr.wackbastard.com/teamspeak.php
WebPostLinkUrl=http://gr.wackbastard.com/teamspeak.php
The variables I am interested in are user and clients. I have a modification form I put on my server so I can mimic a source sending changes to these variables to my teamspeak.php script. Changes sent from this form with the POST method specified work - the MySQL database contents change.

I'm not sure what else to check. I can't find a log for teamspeak to find an error in there. The tsserver.ini seems straightforward enough to configure, but at this point I consider it my weakest link.

Any advice on what to try to zero in on the problem?

PS: If anyone tries going to the url http://gr.wackbastard.com/teamspeak.php, note that it detects the referring IP and will reject any submissions not from my server.

Last edited by wack; 28-06-2002 at 04:24.
  #2  
Old 21-06-2002, 08:10
T. Boonstra T. Boonstra is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Netherlands
Posts: 136
T. Boonstra is on a distinguished road
the POST and GET methode have been mistakenly mixed in TeamSpeak, might that be causing your problem?
  #3  
Old 21-06-2002, 14:33
wack wack is offline
-= TeamSpeak User =-
 
Join Date: Jun 2002
Location: Milwaukee, WI
Posts: 3
wack is on a distinguished road
That's a good thought. It shouldn't be a problem with the receipt script because before I used GET method before specifying POST method on my form and the db was updated. I didn't code any method checking into the receipt script, either.
  #4  
Old 21-06-2002, 14:36
T. Boonstra T. Boonstra is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Netherlands
Posts: 136
T. Boonstra is on a distinguished road
Are you using TS Server Stand alone or the Service?

I believe the Service version doesn't submit the data.. try the Stand alone version so make sure ..
  #5  
Old 23-06-2002, 18:44
wack wack is offline
-= TeamSpeak User =-
 
Join Date: Jun 2002
Location: Milwaukee, WI
Posts: 3
wack is on a distinguished road
Yup, this was the trouble.

That's a shame the NT Service version doesn't do the HTTP post. Hopefully that will be added in TS 2.0.
  #6  
Old 03-07-2002, 08:46
Unregistered's Avatar
Unregistered Unregistered is offline
-= TeamSpeak User =-
 
Join Date: Jul 2002
Location: USA
Posts: 25
Unregistered is on a distinguished road
Send a message via AIM to Unregistered Send a message via Yahoo to Unregistered
Quote:
Originally posted by wack
Yup, this was the trouble.

That's a shame the NT Service version doesn't do the HTTP post. Hopefully that will be added in TS 2.0.
I haven't played with it yet myself, but try using a user account to log the service in instead of the default Localsystem account. Make sure the user account has sufficient permissions and has the user right "Log in as a service"

Good Luck!!!
  #7  
Old 20-07-2002, 14:29
zilver zilver is offline
-= TeamSpeak User =-
 
Join Date: Jul 2002
Location: Denmark
Posts: 2
zilver is on a distinguished road
Send a message via ICQ to zilver
Quote:
Originally posted by Unregistered


I haven't played with it yet myself, but try using a user account to log the service in instead of the default Localsystem account. Make sure the user account has sufficient permissions and has the user right "Log in as a service"

Good Luck!!!
I Tried runninge the service under the admin account, no change.
Stille doesnt work...

1) How often does it update the stats to the script page.?

2) When is the service version going to be fixed, im think this
is a huge flaw.. the software is great, but we need to fix this
im running a terminal server, so i CANT use the standard server
version, besides the only way to guarantee updtime is to run
the server as SERVICE...

PLEASE FIX THIS PROBLEM...

Regards.. Jeppe



Jeppe

Last edited by zilver; 20-07-2002 at 14:33.
  #8  
Old 20-07-2002, 15:35
T. Boonstra T. Boonstra is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Netherlands
Posts: 136
T. Boonstra is on a distinguished road
TeamSpeak 1.5 (TSserver 1.2.x) are currently left as is...

We've put all our time and effort in TeamSpeak 2.0 which is pretty much rewrite of TS 1

There are some limitations in TS1 which couldn't have been easily removed, so we decided to make a new version.
  #9  
Old 20-07-2002, 16:59
zilver zilver is offline
-= TeamSpeak User =-
 
Join Date: Jul 2002
Location: Denmark
Posts: 2
zilver is on a distinguished road
Send a message via ICQ to zilver
FIXING THE (POST) STATUS PROBLEM (SCRIPTING)

i recoment tha everyone wanting to run the teamspeak server, as a SERVIce, should fetch a 3rd party service installer, and use the "standard" version.

I.E. the best of BOTH WORLDS!

Lookig forward to the next 2.0 version

FireDeamon - run any program as a service

and guess what.. IT WORKS!

If you have problems doing what i did, message me.

1) install teamspeak (standard server)
2) install firedeamon
3) use firedeam UI to install the (tsserver.exe) as a service
4) config the server, like you would normaly do

5) Your Done...

Hope it works for you too.
Jeppe

Last edited by zilver; 20-07-2002 at 17:12.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:14.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Add to Bookmarks   |   Printview   |   Contact Us   |   Legal Notices