PDA

View Full Version : TSpeak Webpost Help Please


Greefer
14-01-2006, 15:47
Hi there.

I used to have webpost running with my web site. A windows site, and TS ran on a separate linux box. Everything was great, but I have since moved jobs and am setting everything up at my house now :) - teamspeak is running and working great, my web site is running and working great, but the two are not working together.

My question is , is there an issue with having TS and the web site on the same server? Everything seemed to work great before, but now I have tried configuring my php block with 127.0.0.1 and with 192.168.0.3 to point to the local computer running the web site and teamspeak.

$serverAddress = "192.168.0.3"; // can be ip address or url

$serverQueryPort = 51234; // default 51234, must be accessible and usable. check server.ini

$serverUDPPort = 8767; // default 8767

On the teamspeak server:

Server WebPost PostUrl: Have tried ip / localhost / 127.0.01 / all three with http:// in front of them
Server WebPost LinkUrl: Have tried ip / localhost / 127.0.01 / all three with http:// in front of them
WebPost PostURL: Have tried ip / localhost / 127.0.01 / all three with http:// in front of them
WebPost Enabled : Checked

What am I missing?

It has been a long time since I origionally set this up at my previous job, and everything worked awesome. The php block code is the same as I had, so there shouldnt be anything wrong with the code itself as it is all setup from a restore.

Here is the error I get on my web site:

TeamSpeak
An error connecting to the TeamSpeak server has occured!
Error number:
Error description:

.... Connection error? It is all local on the same box, so unless there are issues with running both on 1 server there should be no problem / firewall / etc etc issues.

Thanks for reading this guys and any help would be most appreciated.

Greefer
14-01-2006, 16:08
Quick update,

After doing a bit more poking around I found this was a blocks error within php. What was happening is in my blocks I would choose the teamspeak.php file, hit save and then get the connection error. I went back into blocks again, but what I noticed is the file specified was teamspeak-bkup.php which was a backup I had made after it was running on the old setup, which means it was looking to my linux server for info. Why blocks keeps point there and wont let me specify a new file I havnt found out yet, but after renaming the configured php file to what blocks INSISTS on using everything is running great.

Thanks