PDA

View Full Version : [Release] gllcTS2 Webpost for TeamSpeak 2


Pages : [1] 2 3

Gryphon
13-09-2002, 06:40
What is it?
gllcTS2 Webpost is a webpost script for TeamSpeak 2. It displays a listing of servers and detailed information for each server.

This webpost is meant for displaying a listing of servers, it is not optimized for single server situations.

Requirements

mySQL Database
PHP


Example

http://php.gryphonllc.com/gllcts2


Download

http://www.thzclan.com/files/index.php?cat=29&file=53


Issues

This script will support 24-30 servers with moderate server load, more than that and you will notice significant server loads.


Changes
Updated: July 03, 2008

v4.2.5

Security updates


v4.2.4

Changed $row->server_ispname to $row->server_ispcountry - Makc666


v4.2.3

Fixed bug in javascript time offset calculation - McAfee


v4.2.2

incorporated MrGuide's playerflag solution
other housekeeping fixes


v4.2.1

PHP 5 Changes http://www.gryphonllc.com/forum/showthread.php?s=&threadid=60


v4.2.0

changed most files, suggest upload all files


- More changes in Readme.txt

Copyright
gllcTS2, Copyright © Ryan Snook (www.gryphonllc.com )
While updates may not be made to this product regularly, I still maintain it. If you have fixes, improvements or other additions to make to this, please contact me at rsnook*********** for collaboration. I appreciate your consideration.

TR-13
13-09-2002, 08:52
Greate, Greate!

TR-13
13-09-2002, 11:34
Tell me plz if i klick on a channel, a new window came up and i can do anything with the channels, but what?

Andy King
13-09-2002, 15:34
Hi Gryphon, whats this all about, I get the following at the top of my server list......

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/????/???????/????/TeamSpeak/db_inc.php on line 223

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/????/???????/????/TeamSpeak/db_inc.php on line 223

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/????/???????/????/TeamSpeak/db_inc.php on line 272

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/????/???????/????/TeamSpeak/db_inc.php on line 272

The server list works fine below this warning. Any help would be appreciated.

GrimReeper
13-09-2002, 16:16
It probebly means your version of PHP is newer then the one Gryphon used. It means you have 2 change the older (depresiated) functions, for the newers ones.

Andy King
13-09-2002, 16:25
Hi GrimReeper, here are the 2 lines that the error points to

$connection = fsockopen ("$var1", $var2, &$errno, &$errstr, 1);

$connection = fsockopen ("$var1", $var2, &$errno, &$errstr, 1);

yes they are the same, do you know what they should read and if so please post in here incase someone else has the same problem, thanks.

Gryphon
13-09-2002, 18:10
Originally posted by TR-13
Tell me plz if i klick on a channel, a new window came up and i can do anything with the channels, but what?

Not sure what you are asking? :(

GrimReeper
15-09-2002, 13:11
Andy, Gryphon made it on PHP 4.0.6

if you got a NEWER version, you must look, what has been changed from 4.0.6 till the version you got. If you do, then you will C that the function Gryphon used there, is nolonger used in you version. Then you simply replace this "old" function, with the function that is used in your version.

I cannot answer that for you, coz I don't know what version you've got.

So plz, tell us which PHP and mySQL versions you have got, then we can look what must change.

GrimReeper
15-09-2002, 13:31
BTW gryphon, maybe a nice idea 2 add this aswell:

<meta http-equiv="refresh" content="60">

This will refresh the page ever 60 seconds. It would be nice for ppl, who open the page for a long time, if the information will be reloaded every X seconds.

Andy King
15-09-2002, 19:57
Hi Grim, sorry for the delay but Gryphon worked it out for me, thanks for your input.

GrimReeper
16-09-2002, 13:33
yeah, seen it. WIth the .htaccess. But if you read the error it already tells you that you will have 2 change you ini (php.ini). It might be bether though 2 replace it with the correct function, coz in newer versions this might nolonger be supported.

BTW: in de Fsocks, the "&" may not be used anymore in newer versions (asked a friend)

Kill Switch
16-09-2002, 16:52
hi, i am using Linux Suse 7.2 with Apache/1.3.19 with PHP/4.0.4pl1. I put the webpost files into my webdir and created the tables in my existing databes. i set up the variables in the config*.php and added the PostURL2 to my server.ini. Áfter restarting the server i waited 4 days and my databes is still empty. i don't get any error messages in my server.log or apache error.log. What did i wrong?

Andy King
16-09-2002, 17:10
Hi, that foxed me also. Use PostURL= and not PostURL2= that solved it for me.

Kill Switch
16-09-2002, 17:23
i will try it. thank you.
if this is working it is the answer of my next question:
can i user multiple webpost scripts?
PostURL=
PostURL2=
PostURL3=
and so on.

Andy King
16-09-2002, 17:31
Hi, No the present server will not allow this we are hoping it will be introduced as being able to post server details to 2 or more weblistings would be useful I reckon.

Gryphon
17-09-2002, 00:18
Updated to 2.1.0

Sorry for the readme saying posturl2 hehe, was testing.

GrimReeper
18-09-2002, 15:49
Gryphon, asked you in ICQ allready, but I think you didn't get the msg.....

Could you plz send me you TS1 script aswell ?. My clan is using TS1 untill the newer version of TS2, coz we experianced allot of lags in TS2.

MSG me in ICQ, or mail me (address in ICQ user details) plz.

Thx in advance,
GrimReeper

maletin
19-09-2002, 14:16
My Server gets the error-message:
Data unavailable.
TCPQueryPort may not be open.

i use a different tcpqueryport; should be no problem.

Gryphon
19-09-2002, 17:13
No it shouldn't be a problem. It should use the port you have specified. Most of the time the problem is because the port is blocked by routers or firewalls.

I have not tested this myself, I will try another port on my own server later and see.

Gryphon
19-09-2002, 18:45
I have tested this and it works. I set my TCPQueryPort to 8769 and I got the "TCPQueryPort may not be open" message. I then set my router to accept tcp on 8769 and it showed up on the list.

maletin
19-09-2002, 23:16
Originally posted by maletin
My Server gets the error-message:
Data unavailable.
TCPQueryPort may not be open.

i use a different tcpqueryport; should be no problem.

i had to uncomment
query("OPTIMIZE TABLE $dbtable, $dbtable2, $dbtable3");
in db_inc.
in webpost.php i got a header allready sent error.
i uncommented
//if (!$server_port) {
// header ("location: ");
//}

it works now
http://www.legion-condor.org/ts

EDIT 2002-10-15:
legion-condor.org doesn't exist at the moment.
currently i use http://mitglied.lycos.de/maletin/ts/

With Version 2.2.2 i can't get an entry in ts2_channel and ts2_user. Didn't find the error until now. (using different queryport).

EDIT 2002-10-16:
I wonder about Timeout of one Second at fsockopen.
But I tried "phpinfo()" and found fsockopen under "disabled_functions".
I need my old Provider back ;)

Gryphon
19-09-2002, 23:46
Thanks, I made some changes. Hopefully that will solve the problem.

Gryphon
09-10-2002, 21:04
Found a Bug in Opera, and maybe other browsers, that the links will not work if index.php is renamed to something else. I'll have an update for this soon.

helly
10-10-2002, 23:23
Hi Gryphon

A little time ago I askt you for the ticker.php
Can you plz upload it or mail it to me I really like it.
And if you are planning to make a version for ts 2.0 :p

love to here from you m8.

helly@gsf.kicks-ass.net

Greets Helly

Gryphon
12-10-2002, 00:45
Ahhh yeah I forgot about that. I'll try and get you that as soon as I can.

helly
12-10-2002, 01:09
thx m8

Greets Helly

ekoostik
15-10-2002, 16:11
I'm currently having an issue with the TS server posting to the DB. Everything seems to be set up properly, however, no information is being written, and no servers are showing up.

I followed these exact steps:

1. Create table in your database with webpost2.sql

2. Open config_inc.php and enter your database information and make the desired changes.

3. Set your server.ini file
[WebPost]
PostURL=http://www.yoursite.com/webpost.php

4. Start your server, it will take several minutes for your server to be displayed.

It's making the DB connect just fine, no errors, nothing. Any ideas on what may be causing this? Did I miss a step that needs to be completed?

Thanks.

ekoostik
15-10-2002, 16:14
Might have found the issue. Looks like I'm running php 4.2.1

Any ideas on what functions need to be changed to get it to run properly?

Gryphon
15-10-2002, 17:21
This is really going to seem stupid, but it has got to be asked.

Did you change http://www.yoursite.com/webpost.php to your own host? hehe

Second, where is it located so that I can take a look.

maletin
15-10-2002, 17:24
my webserver didn't like the .htaccess file. i delete it.

Gryphon
15-10-2002, 17:27
Yeah, I still have to work on getting rid of the need for that file.

ekoostik
15-10-2002, 17:52
OK, we had it working for a moment, when we opened up all ports on the TS2 server.

Then, when we locked it back down except for the supposed port (TCPQueryPort=51234), we get:

Data unavailable.
TCPQueryPort may not be open.

Any ideas? Is this the right port?

Gryphon
15-10-2002, 17:56
Yeah, that is the default TCPQuery port. If it is open, it should be working. Should have 8767 open as well, but this shouldn't be necessary for TCPQuery to work.

ekoostik
15-10-2002, 18:10
Crud.. both of those ports are wide-open, but no luck.

If we open ALL ports, then it works.. when we go back to just those 2, we are locked out.

Dang, any more ideas?

Gryphon
15-10-2002, 18:32
I don't have any at the moment, maybe someone else?

For an understand of what the script is doing...the server sends info like how many people are online, the server name, ip and ports, to webpost.php, this requires no ports. It then triggers the script to call back to the server through the TCPquery port and find out the usernames and channel names of the server and then stores this information in the database. This is the only tim that the tcpquery port is used, and really the only port that should need to be used by the script.


:(

maletin
16-10-2002, 22:38
Pls read my previous post with the timeout for fsockopen.
Another Bug:
$server_ip = getenv("HTTP_X_FORWARDED_FOR");
returns "123.4.5.678, 123.4.5.678" !
Two times the same IP with comma between.
So I put the the line
$server_ip = preg_replace( "/,.*$/", "", $server_ip );
in webpost.php.

[GwL]Insomnia
20-10-2002, 18:05
Our clan has both teamspeak 1 and 2 servers. Is it possible to get webpost to show both servers?

Gryphon
21-10-2002, 02:07
No, the both send different information. It could be possible with a bit more scripting however, I don't plan on doing that though.

xoron
21-10-2002, 03:17
i run the webpost-script on the same sytem the teamspeak-server is running. (webpost looks like http://localhost/ts2/webpost.php)

now when i browse to the webpost-side (from a client), the " Server : IP " sais 127.0.0.1:8767. of course not possible to connect to this server. on my (client) machine is no server running...

any possibility to add a field like 'showip' to specify an ip or address (for dyndns)? for those who don't need this feature, just leave empty.

would be great :)

Gryphon
21-10-2002, 19:04
Easiest solution would be to set http://localhost/ts2/webpost.php to http://xoron.dyndns.org/ts2/webpost.php or http://xxx.xxx.xxx.xxx/ts2/webpost.php instead of localhost.

xoron
21-10-2002, 19:42
well, i tried that already. but the dyndns-address does not get resolved when i use it inside my lan... so webpost does not work anymore

would be the easiest solution, but unfortunately its not possible :(
i'm not quite sure, so i'll test it again..

greetz

RVannith
22-10-2002, 23:54
One problem I encountered with the TCP Queryport not being available was a 'misreading' of IP adres.

The server that runs the script got the IP of my firewall and NOT of my TS2 server which is located on the DMZ, so the callback function on userinfo failed (connection to wrong machine).

I couldn't use TS2 option 'BoundToIP' since the DMZ has it's own local network (10.x.x.x range).

Solution to this particular problem, which worked for us:
Edit webpost.php at the top

Below the following lines....

$server_ip = getenv("HTTP_X_FORWARDED_FOR");
if ($server_ip == "") {
$server_ip = getenv("REMOTE_ADDR");
}

add....

if ($server_ip == "123.123.123.123") {
$server_ip = "456.456.456.456";
}

where 123.123.123.123 is the internet ip of your firewall and 456.456.456.456 is your internet ip of your TS2 server.

Hope this helps anyone out.

The script btw is vewwy nice! Tx!

Gryphon
22-10-2002, 23:59
Good suggestion, I will see about finding a way to work this in.

helly
25-10-2002, 23:02
Originally posted by Gryphon
Ahhh yeah I forgot about that. I'll try and get you that as soon as I can.


please please please

Greets Helly:D

Gryphon
31-10-2002, 17:20
:o Sorry I haven't had any updates, or worked on the ticker. I have been busy lately and out of town.

The latest server release may do some funky stuff with the webpost script. I will release a new version as soon as possible.

Gryphon
04-11-2002, 22:33
Webpost2 has been updated, hopefully I covered all the character problems.

Todo:
- Server grouping
- Ticker

Jens L.
05-11-2002, 20:19
ur downloadsection is off - can u send me the file to ljay@fa05.de pls ?!

THX

if u like, i can put ur script on a webserver - in my download section - as a mirror

Gryphon
05-11-2002, 20:30
Here it is, temporarily, until my sites files are restored.

* Removed attachment, download from the website.

ScOp3
06-11-2002, 08:13
@ Gryphon:

Hope you can help me sort out a problem with you're webpost script.

We moved the webpost from one server to another and also changed the webpost version. Was 2x something and now is 3.0.2.
Everything seems fine and my Padawan managed to install the SQL DB and Stuff like on the other Server, but somehow only one out of two server instances (8767&8768) get's monitored.
First time we started up the script on the new location, we got that TCP Query issue but managed to get rid of it somehow. Unfortunatly i can't influence what is happening on the webserver.

If i change the WebPostUrl back to the "old" server running 2.x Script everything is quit okay, execpt for that garbled Servernames (which is normal @18.25).

Do you have any idea what setup error this could be ? Or what my Padawan & Webserver Admin has to take care of ?

ScOp3

PS: Almost forgot - NICE SCRIPT :)

Gryphon
06-11-2002, 18:16
If one is getting monitored and the other isn't, it may be port issues on the TS Servers. Not sure why it would work on one and not the other.

Can you PM me the locations of the two scripts?

[SOB]Grunt
06-11-2002, 23:09
Hi gyphon. When you updated webpost. I copied over the installed directory after making a backup of my config file. Put the config file back, went to the page and it works as advertised, no more of the + symbols, etc...

However, now with the server details, there's a port error. Here's what it says in place of the channel listing:
Data unavailable.
TCPQueryPort may not be open.

All the other info works correctly. You can see the page at http://www.theonlinegaming.com/webpost2

Gryphon
06-11-2002, 23:16
Update your database with webpost.sql, there were a coupld of field additions.

I also see that I forgot to set the transparency on one of the images :p
http://www.thzclan.com/ts2/images/dark_private.gif

InvictuZ
07-11-2002, 00:16
Ok I got 2 questions:

1.) I've noticed that teamspeak.org is running this same script. However, it shows up differentlly then mine. My server name is: *|WoD|* - TeamSpeak Server... and on teamspeak.org 's version, the name is being displayed properlly. However on mine, the name shows like this: %2A%7CWoD%7C%2A+%2D+TeamSpeak+Server

I've updated the files to the most recent attachment posted here, but its still displaying wrong on the webpage. :(

What else can I do?


2.) What all files would I have to change to add a header and footer to each page?

Thanks alot and nice work Gryph.. this script is awesome. Abviouslly your a very talented individual. Nice Work. ;)

Gryphon
07-11-2002, 00:23
*edit, I took a look at your site and it appears that you may not have updated the webpost.php script. Double check that and make sure that the latest one has been uploaded.


Hmm I will check that out, due to people abusing their servernames so that they can mess with the webposting scripts there are a few securities in place. With the latest version there were a few changes to the way TS outputs the data, and I was hoping that I caught them all, I will have to look into it and find out how to keep yours from converting the *.

The one here on the site is a little different, Ralf used my script as the base but used some of his code too that is why they will display a little differently.

Most of the html is stored in the tpl files. You may find what you are looking for in tpl_listing_top and tpl_listing_bot, also tpl_style

InvictuZ
07-11-2002, 00:43
rgr that! Thanks for you help man. And keep up the good work, this is a beauty of a script, I already love it, and havent released it to my guys yet.

P.S. Theres no problems with me colorizing the TeamSpeak logo to meet the rest of the page... is there?

http://www.teamwod.com/teamspeak/

is where it can be found. :)

Thanks once again man

P.S. I was thinking it might have something to do with a MYSQL, or PHP version change... So as such, I'd figure I'd post the info about my web server for you to take a look at.

Heres the info:

Server Information
Operating System Linux
Apache Version 1.3.27 (Unix)
Perl Version 5.006001
PHP Version 4.2.3
Mysql Version 3.23.53a

Gryphon
07-11-2002, 00:44
I don't have a problem with that, you could replace the image with anything you want. :)

[SOB]Grunt
07-11-2002, 09:27
Heh, thanks gryphon... i should have read the docs! Didn't think there would have been any db changes :)

[SOB]Grunt
07-11-2002, 10:00
Hmmm, I dropped the tables... then inserted the sql statement. Next used the new config file and put my settings in that. I still get the TCP Query Port error.

So to test and make sure the port is actually open I used your site as my posturl. It works fine.

So what am I missing here? Any ideas? Especially since the last version worked properly with the channels i'm puzzled :(

Gryphon
07-11-2002, 18:00
I am going to be out of town today, I will have to figure this out tomorrow, sorry. :)

ScOp3
07-11-2002, 18:22
Okay... :)

I changed the PostUrl to you're Development Page and i get the same results ! When i use the PostUrl with the older 2.x script it works and i get both server instances.
So it must be something in you're script and the way it handles the TCP Port now.

I will leave my TS2 Server announcing to you'Re developement page, so u can eventually work on the prob :)

Greetings..

ScOp3

Gryphon
08-11-2002, 00:57
There have been zero changes to the tcpquery in the script or the servers. I will have to see what the problem is. The only change has been to the way the servers send information to the webpost.php, which also did not change any tcpquery stuff.

I what I do need is to see it working on the 2.x version. Or at least what your server name is and the channel names it has.

ScOp3
08-11-2002, 07:20
Suggestion:

Have look via telnet first IP and Port should be known :)
The only thing i just want to make sure. Before i announced both Servers using ONE PostUrl Statement.
In mail u send Bobba the Padawan, it sounded a bit like there should be webpost statements for each server instances, which was not necessary before. But i tried that option as well :)

Hope u have ICQ in stock so we can get in direct touch :)
My UIN is 960400 and i live in Europe which means GMT +1.
And when u are online i will show u the 2.x script effect.

ScOp3


PS: The Instance being reported to you're page currently. Is called << Bewahrer Hibernias >> there is a second on on Port 8768

[SOB]Grunt
08-11-2002, 11:49
Ok, my servers are the SOB Clan Teamspeak Server and TheOnlineGaming.com Teamspeak server. They are both pointed to your dev page right now. And I overwrote the 2.x version of your script so I can't reinstall to show you. :(

Anyway, no rush. Thank you.

Gryphon
08-11-2002, 19:00
Scop3, I have setup mine to post two servers as well and they both show up fine. But it is Win32, I cannot test Linux. I do not know why yours is not showing up. :confused:

Here is what my config looks like currently.

[debug]
MessageTypes=LMTALL
MessageDepths=LMDALL
[Main Config]
ExternalIPDectection=1
HTTPServer Port=14534
HTTPServer Enabled=1
DateTimeFormat=mm-dd-yyyy hh:nn:ss
TCPQueryPort=51234
BoundToIp=
[WebPost]
AdminEmail=gryphon@thzclan.com
ISPLinkURL=na
ISPName=Private
ISPCountry=United States
PostUrl=http://www.thzclan.com/ts2/webpost.php
Enabled=1
[server_cfg Default]
ServerName=The Hounds of Zeus
ServerType=5
ServerWelcomeMessage=Welcome to The Hounds of Zeus, check out www.thzclan.com
ServerMaxUsers=32
ServerUDPPort=8767
ServerPassword=
ServerFlags=1
AllowCodecCelp51=1
AllowCodecCelp63=1
AllowCodecGSM148=1
AllowCodecGSM164=1
AllowCodecWindowsCELP52=1
WebPost_LinkURL=http://www.thzclan.com
[server_cfg Secondary]
ServerName=The Hounds of Zeus *2 Test*
ServerType=5
ServerWelcomeMessage=Welcome to The Hounds of Zeus, check out www.thzclan.com
ServerMaxUsers=32
ServerUDPPort=8768
ServerPassword=
ServerFlags=1
AllowCodecCelp51=1
AllowCodecCelp63=1
AllowCodecGSM148=1
AllowCodecGSM164=1
AllowCodecWindowsCELP52=1
WebPost_LinkURL=http://www.thzclan.com
[Servers]
0=server_cfg Default
1=server_cfg Secondary

[SOB]Grunt, I am not sure what is happening here. All I can suggest is make sure that all the files have been replaced, and the database is correct. Your severs appear fine on the listing on my page, if everything is installed the same on your webserver it should be fine also :(

Gryphon
08-11-2002, 19:20
Scop3, does your other server name have a ' (apostrophe) in the server name?

Ok I think I have fixed it, I'll have a release soon. I just need to know what your second server name is exactly. All that is showing up is <> and I need to know what is missing.

Thanks

ScOp3
08-11-2002, 20:45
Originally posted by Gryphon
Scop3, does your other server name have a ' (apostrophe) in the server name?
Ok I think I have fixed it, I'll have a release soon. I just need to know what your second server name is exactly. All that is showing up is <> and I need to know what is missing.
Thanks

EXACTLY !

1. ServerName=<< Bewahrer Hibernias >>
2. ServerName=<<D'Dorf Cologne Swingers>>

Damn sounds we are getting down to it :)

Linux takes ' as " maybe that is the problem here :)

Nice one !

ScOp3

PS: Can see you setting up a ' * Server - seems to work with you though ?!? *duh*

Gryphon
08-11-2002, 22:30
Ok new version up, I hope this solves the problems. :)

RVannith
08-11-2002, 23:13
Originally posted by Gryphon
Ok new version up, I hope this solves the problems. :)

Not quite :)

The same problems occur with channel info (e.g. channel description containing an ' ).
And I wouldn't be surprised if the same would happen with userinfo.....

Just a note.

Gryphon
08-11-2002, 23:15
Here (http://www.thzclan.com/ts2/listing.php?detail=391&page=1&sort=server_name&direction=asc&showgroup=) is a server with ' in the names, it is working ok :confused:

I have also changed one of my channel (http://www.thzclan.com/ts2/listing.php?detail=394&page=1&sort=server_name&direction=asc&showgroup=) names and put in some characters and its ok

ScOp3
08-11-2002, 23:25
Thanks for the effort !

ScOp3

RVannith
09-11-2002, 12:42
Originally posted by Gryphon
Here (http://www.thzclan.com/ts2/listing.php?detail=391&page=1&sort=server_name&direction=asc&showgroup=) is a server with ' in the names, it is working ok :confused:

I have also changed one of my channel (http://www.thzclan.com/ts2/listing.php?detail=394&page=1&sort=server_name&direction=asc&showgroup=) names and put in some characters and its ok


Hm... I don't see a channel with an apostrophe in your second link. And try not the channel name, but the description. That's where it went wrong here.

InvictuZ
09-11-2002, 19:24
Originally posted by Gryphon
Ok new version up, I hope this solves the problems. :)

Hey Gryph, I tried downloading them... and either I'm doing something wrong (IE: the scripts aren't being replaced) or I'm just not getting the right download version. Because the symbols still appear for me. Can you give me a direct link to the new version or where its located?

P.S. Hey we played you guys in T2! :D Your a great bunch! ;)

Thanks
InvictuZ

InvictuZ
09-11-2002, 19:31
Ok I think I've found something...

http://www.teamwod.com/teamspeak/

Try clicking on the name of the server, the name of the ISP, or the logo... do you think it could be something from my server...

IE: a misconfiguration, or maybee just the info reported & left in the database from a previous version? :confused:

EDIT: Tried dropping the database.. no go... I caught it right on an update, and before the link was applied... the name showed correctlly. :confused:

InvictuZ
09-11-2002, 20:01
Welp I dunno if this was the final straw... but..

I edited a line in my config based off yours. I changed:
WebPost_LinkURL=http://www.teamwod.com/teamspeak/

to:
WebPost_LinkURL=http://www.teamwod.com/

and now it's working like a charm! W00T! hehe...

Now I just gotta figure out a way to include it in another page, and all will be grand!

Nice work Gryphon... this script is awesome! :)

Gryphon
11-11-2002, 02:31
WebPost_LinkURL= is used in the hyperlink to link your server name, should have no effect on what is displayed :o

See ya on the servers ;)

ScratchMonkey
16-11-2002, 04:47
At the top of webpost.php you get the server_ip from getenv("REMOTE_ADDR"). This isn't working on my setup, and I'm getting an empty value. I suspect it's an Apache 2.0 thing. (This is a Red Hat 8.0 box.) I replaced that with $_SERVER["REMOTE_ADDR"] and it seems to work.

viperjd3
18-11-2002, 00:14
When a member clicks on IP address to automatically log into the server, enters Nickname and server password, the server comes back as wrong login/password. But when you do it manually from inside the TS Client, you are able to log in with exactly the same nickname and password that was entered in the webpost log in screen! Could it be that the script is adding something extra to the Password when sending it to the client?

Gryphon
19-11-2002, 21:38
Thanks I will check this out. Are there any special characters or spaces in your password? Or is your server pass just numbers and/or letters?

viperjd3
19-11-2002, 23:22
4 letter word

helly
29-11-2002, 16:27
Well it looks like I'm nagging you ears of but plz ..........

Greets Helly

InvictuZ
02-12-2002, 00:53
Hey Gryphon, would there be anyway possible, that I can include just the users & channels section onto another page? Or make it a seperate .php file?

ScratchMonkey
02-12-2002, 02:25
I just copied this from the PHP source for our web page (http://matureasskickers.net/): http://matureasskickers.net/ftp/TeamSpeak/ts2/player-list.php.txt

Edit the first line to match the path to your DB config file.

Gryphon
02-12-2002, 17:53
helly it's no problem, keep up the harrasment; I'll have the ticker done soon.

Thanks SM :)

Evil Els
03-12-2002, 19:40
hey u guys!
i installed ts2 and the webserver hosting webhost on one and the same machine. now i wondering why i always get the
"TCPQueryPort may not be open." notification. :(

i use this line in my server.ini

PostURL=http://myinternetIP/webpost2/webpost.php

i tested various PostURL´s with success (webdav showed all data correctly) and it seems that its only on my machine won´t work. i read somewhere earlier in this thread, that there could be a problem with the IP but i can´t change it to "localhost" or "127.0.0.1" because my webserver is not listening at this IPs.

what else can i do? :rolleyes:

ScratchMonkey
04-12-2002, 10:27
It has to be PostUrl, not PostURL.

I thought you can have more than one, so I added a second PostUrl for Gryphon's site to aid in debugging the WebPost script. However, I don't see MA's server listed in Gryphon's index.

deusex2002
04-12-2002, 16:03
I have a Problem with the Webpost Script, the serverlisting is perfect but when I click on Server-Details. I get this:

Data unavailable.
TCPQueryPort may not be open.

a netstat -lanp on my linux box shows me that the TCPQ...Port is open

0.0.0.0:51234 LISTEN XXXXX/server_linux

is there any way to get this work for me ?

here is a link to the webpost script
http://www.your-stats.de/tss/index.php

deusex2002
04-12-2002, 18:19
okay I solved the Prob.

there where some changes in the SQL Database from version 3.0.02 to 3.0.03. I droped the tabels and reinstall it.

That solved my problem.

Gryphon
04-12-2002, 18:52
Evil Els I am not sure what the problem is. If all the information shows up correctly when you direct it to another webpost script it should be ok when posting to yours :(

SM, they have not added the ability for multiple PostUrls yet :/ Hopefully they will :D

helly
09-12-2002, 01:45
Originally posted by Gryphon
helly it's no problem, keep up the harrasment; I'll have the ticker done soon.

Thanks SM :)

Thanks M8 :D :D

greeets Helly

voodoo
09-12-2002, 10:39
Just a note : if you are using version 2.0.18.31 of the linux server, in the server.ini they have changed from PostUrl to PostURL. So, after an upgrade from 2.0.18.25 you have to change it.

If you don't, the server.ini will add a line with "PostURL=" and ignore the other "PostUrl=http://my.ip/webpost.php".

Since I had this problem, I hope this help ;)

CyberWolf
12-12-2002, 23:34
I am getting the same error, the page shows server, IP and how many are on but no details..
I am running the TS2 server on XP Home version. I have no clue how to see if a port is open and if its not open it..

Can anyone give some suggestions or walk throughs to see port status then open it to this app?

Thank you


Originally posted by maletin
My Server gets the error-message:
Data unavailable.
TCPQueryPort may not be open.

i use a different tcpqueryport; should be no problem.

ScratchMonkey
13-12-2002, 00:21
From another system, type "telnet yourts2hostip yourtcpqueryport" and see if you get a prompt from the TS2 server. Substitute your server's IP and query port in the above command. If you get the prompt, then it's working. Type "quit" to get out.

CyberWolf
13-12-2002, 07:27
Ok I did the telnet and it said it could not open the port...so now how do I open the port on XP Home version?

My computer is direct connected to the internet directly from my ISP so I have no router or fire wall to deal with.

Originally posted by ScratchMonkey
From another system, type "telnet yourts2hostip yourtcpqueryport" and see if you get a prompt from the TS2 server. Substitute your server's IP and query port in the above command. If you get the prompt, then it's working. Type "quit" to get out.

ScratchMonkey
13-12-2002, 22:33
I googled for "winxp" and "firewall" and turned up this:

http://www.microsoft.com/windowsxp/pro/using/howto/networking/icf.asp

(I don't use XP so I don't know the details of its firewall configuration.)

CyberWolf
13-12-2002, 23:25
Thanks ScratchMonkey,
Did not apply to me though :( Im wide open to more suggestions :)

Gryphon
14-12-2002, 01:34
WinXP will have no problems with the port by itself. Are you running firewall software, or are you using a router?

CyberWolf
14-12-2002, 01:53
My computer is direct connected to the internet directly from my ISP so I have no router or fire wall to deal with.

Gryphon
14-12-2002, 01:55
What type/model modem?

CyberWolf
14-12-2002, 01:58
Im on TimeWarner Roadrunner Cable using a Toshiba PCX1000 cable modem

Bigman
14-12-2002, 22:48
Is there any were i can download this i have tried the link given by Gryphon but it wont let me download it.

Cheers

Bigman
15-12-2002, 11:57
The IP of my server on my network is 192.168.2.18 and my wan ip is 62.30.5.51 i am getting the error on the webpost page saying the TCPQueryPort may not be open. Any ideas how to solve this my listing page is

http://members.lycos.co.uk/teamspeak/listing.php

I have opened all neccessary ports on my router and can telnet to ts, but cannot get the data to be displayed on my page.

Cheers

CyberWolf
16-12-2002, 06:40
This seems to be a ISP security lock out to me, we have installed the TS2 server on 5 diffrent servers, XP-Pro, XP-Home, Win2k Server, NT40 Server and ME all have the same problem with the port...this is on 3 diffrent ISPs as well.

Anyone that has this working have any insite???


Originally posted by CyberWolf
Ok I did the telnet and it said it could not open the port...so now how do I open the port on XP Home version?

My computer is direct connected to the internet directly from my ISP so I have no router or fire wall to deal with.

Bigman
17-12-2002, 11:53
Anybody any ideas what is going on here, thanks in advance.

.http://bigmanrlfans.dyndns.org/listing.php

Any help appreciated.

Judas
17-12-2002, 14:31
@Bigman

The php-version on which the script is running is set to display all errors and notices.

You got to change the following line in php.ini

OLD:
error_reporting = E_All

NEW:
error_reporting = E_All & ~E_NOTICE

(this should prevent notices from beeing displayed)

Dont worry about the notices... PHP is just a little bit unhappy to work with variables which have not been defined before.

I assume that the developer of the script will sort that out in a future version.

Bigman
17-12-2002, 14:56
Cheers for that worked a treat.

CyberWolf
17-12-2002, 15:37
What can one change if they do not have access to the php.ini?? Most ISPs wont let us just change things in the ini.



Originally posted by Judas
@Bigman

The php-version on which the script is running is set to display all errors and notices.

You got to change the following line in php.ini

OLD:
error_reporting = E_All

NEW:
error_reporting = E_All & ~E_NOTICE

(this should prevent notices from beeing displayed)

Dont worry about the notices... PHP is just a little bit unhappy to work with variables which have not been defined before.

I assume that the developer of the script will sort that out in a future version.

Bigman
17-12-2002, 16:50
As i am using a router, and my wepost stuff and ts server are on the same machine, is it possible for the webpost listings page to show the external ip rather than the internal ip.

Other wise when it shows my internal ip no body else can connect to the server.

Cheers

Bigman
18-12-2002, 00:19
I have managed to do it so that i can run the webpost and ts server on the same machine behind a router and get it to display the external ip using a method from a post Page 3 of this topic (http://www.teamspeak.org/forums/showthread.php?s=&threadid=1466&pagenumber=3) however the tcp query port problem appears again as the script tries to connect (to my ts server on the same machine) using the wan ip rather than the lan ip. Any ideas, i really would like to get this working. Any ideas peeps.

Cheers.

=<M.a.D.>=Plunk
29-12-2002, 19:22
i downloaded the webpost2.zip and i can not get it to work with my website any ideas?;)

CyberWolf
29-12-2002, 19:25
:) Your going to need to provide more details than that bro..I have posted allot of detail and no ones been able to help me:rolleyes:

Originally posted by =&lt;M.a.D.&gt;=Plunk
i downloaded the webpost2.zip and i can not get it to work with my website any ideas?;)

=<M.a.D.>=Plunk
29-12-2002, 19:30
lol ok
ummm
i i dont know im goin to try the .asp version b4 i do nything else

ScratchMonkey
25-01-2003, 13:08
Gryphon, I had to make the following edit at the top of webpost.php:

//$server_ip = getenv("REMOTE_ADDR");
$server_ip = $_SERVER["REMOTE_ADDR"];

The environment variable is blank on my server, but the _SERVER array has the correct value.

Bigman
29-01-2003, 17:47
Right here is my page below everything is set up correctly and the page connects to the database.

http://bigmanrlfans.dyndns.org/test/listing.php

The only thing is my server details dont display. I have set the post url to http://bigmanrlfans.dyndns.org/test/webpost.php

As im behind a router i also tried using my local ip http://192.168.2.18/test/webpost.php. Any ideas whats goin on, any help appreciated. I have had it working on the older version but for some reason i has decided to stop working. Im using apache server in windows, with PHP.

tictac
05-02-2003, 16:34
Hello,


$dblink = "localhost"; // Host
$dbuser = "xxxx"; // Username
$dbpw = "xxxx; // Password
$dbname = "webpost"; // Database


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log

http://mexi.de/webpost/webpost.php this entrie ist also in the webadmin pabel

Greetz,
Ben

ScratchMonkey
05-02-2003, 19:15
Originally posted by tictac
More information about this error may be available in the server error log

So what did the log say?

tictac
05-02-2003, 19:32
Helllo,

Where can I find the log?
The TS-Log is wrong, sure?

Ben

tictac
05-02-2003, 19:45
Hello,


[client 62.75.151.156] /var/www/web1/html/webpost/.htaccess: php_flag not allowed here
[Wed Feb 5 19:25:25 2003]


Ben

Seven_NL
07-02-2003, 01:02
I am running the script on a MDK9.0 linux system.
Both TS2 and the script are running on the same machine.

script version : 3.1.1
apache : 1.3.27
php : 4.3.0
mysql : 3.23
TS2 version: 2.0.18.32

when i telnet to the query port it connects ok, but the database
stays empty.

do i need to set rights to the directory or some files to get it running ? (chown /chmod)

if you ned more info let me know.
TIA

aeroclown
09-02-2003, 06:41
I have setup web post.

and set the post url's to relative links

like

/asdasd/webpost.php



it refuses to list ny servers

the datbase is in place and there are no connection errors

I have also tried

http://localhost/asdas/webpost.php

and

http://hostname/asdasd/webpost.php

on of the last errors in my server log
08-02-03 23:57:20,ERROR,All,TCPQUERY, TTCPQuery.Create: unable to initialize communication

this is before i changed to http://hostname/asdasda/webpost.php

so i telnet the port and the query is working and the router is allowing access. Now i dont know whats going on.

ScratchMonkey
09-02-2003, 07:57
From the ts2 server, try using wget with that URL and see if it works.

aeroclown
09-02-2003, 18:19
I take you mean in the server ini

ok ill give it a try.

aeroclown
09-02-2003, 18:26
ok well in the server ini

i replaced posturl with wget

so far no dice

btw its on a IIS 5 server

php gamma

mysql whatever the latest is on this stuff

I just opend up the webserver, so everything is, software wise for hosting, new.

ScratchMonkey
09-02-2003, 23:03
Sorry, I fired off that suggestion real fast and didn't supply details. wget is a utility command line program for testing web sites. From a command line you say:

wget http://hostname/asdasd/webpost.php

This should connect to the website just like a browser and should store the response from the webpost script on your machine. This will verify that the host for your ts2 server can successfully connect to your web server.

If you're running the ts2 server on a Windows box, just fire up IE from the ts2 box and try to connect to the webpost script. You should get a blank page, but you shouldn't get any errors.

Again, the point is to verify that you can successfully connect to the webpost script from the ts2 host. (The ts2 server doesn't have to be running when you do this, as we're testing the box, not the program.)

aeroclown
10-02-2003, 05:34
ok, thxs.

Ill give it a run.

Right now im having some serious server issues the whole system just crashed and iis failed and so one, so im formatin, itll porbably be a day if not more before its all running again.

Ill make a post of what happens once i get it all backup.

Herza
10-02-2003, 16:17
Ok i am not so good at this but my concerns are regarding if the script can detect a server who uses dynamic ip ?

Madhouse
10-02-2003, 17:59
Just a question but has anyone had success at getting this recoded to work for php above 4.0.3?

ScratchMonkey
11-02-2003, 07:05
Herza's question is interesting, one of the TS coders will have to answer. Does the TS server resolve the hostname in a URL for each post, or does it cache the IP address the first time and use it for all subsequent posts?

In the opposite direction, webpost script to TS server, the answer is yes. The webpost script uses the address supplied to it on each posting to figure out where to connect back to to make the TCP query.

Lynx
11-02-2003, 07:07
Here is my web posting script.
3CD (http://www.thewaterrats.com/phpBB2/ts/index.php?detail=1&page=1&sort=server_name&direction=asc)

Thanks for the php bud. :D

Herza
11-02-2003, 11:58
Iam using Macromedia Dreamweaver MX and i only want to make a simple thing.

I need to get my IP number to be posted on my homepage
"Its dynamic" so that my buddies dont have to ask me whitch ip evry time i start the Team speak 2 server. Iam a beginner when it comes to homepages and so on.


Could someone help me some way

Like only this will be displayed


Lord Herza´z Team speak 2 server ip
Online 234.432.234.299
and if its not up it should say something like
Offline

Gryphon
11-02-2003, 18:29
Thanks ScratchMonkey for helping out here. I have been really busy with work lately, 4.0.0 is nearly complete.

aeroclown
12-02-2003, 00:50
ok well the server is back up and i did try to connect to webpost.php

on trying it automatically went to listings.php

ScratchMonkey
12-02-2003, 08:02
Herza, you could use a pair of CGI scripts. (Could be written in PHP or Perl or whatever.)

One would be like webpost and receive the PostURL connection from TS2. (If you use webpost already, you don't need this half.) This page records the address of the machine connecting to it. The other page then reads the stored IP address (using MySQL if you use webpost) and displays it.

Herza
12-02-2003, 08:35
But the problem is that iam not good at all at this.

Questions.

Do i need other software then Macromedia Dreamweaver MX to run webpost2 ?

MySQl ? what is that

ScratchMonkey
12-02-2003, 08:58
I know nothing about Dreamweaver. For Webpost, you need PHP and MySQL. Those are two packages that run on the web server. PHP is a web scripting language, and MySQL is a database. Webpost is written in PHP and saves its data to a MySQL database.

aeroclown
12-02-2003, 21:20
hello someone wanna help me here.

ScratchMonkey
12-02-2003, 23:56
Ok, sounds like the connection from the ts2 host to the web server works. Now let ts2 run and see if your web logs show any posting to that URL.

aeroclown
13-02-2003, 04:05
I checked the server log for ts2 and im not seeing where it has contacted the site at all

the path im using for webpost is

http://localhost/webpost/webpost.php

ScratchMonkey
13-02-2003, 05:46
So you can connect to that URL from the TS2 server using a browser or wget, but ts2 doesn't do so? Is this Linux or Win32?

aeroclown
13-02-2003, 06:20
win 32

hmm very intresting . . .

I tried to connect to the url on the actual server and recieved a

no input specified

for http://localhost/webpost/webpost.php

but on the intranet the page loads up

MSCBlade
19-02-2003, 05:53
Well, i got it up ad running, but i dont show any srvers in the list.

http://207.243.120.236/ts2/groups.php

MSCBlade
21-02-2003, 13:25
this is my server.ini file

[debug]
MessageTypes=LMTALL
MessageDepths=LMDALL
[Main Config]
ExternalIPDectection=1
HTTPServer Port=14534
HTTPServer Enabled=1
DateTimeFormat=dd-mm-yyyy hh:nn:ss
TCPQueryPort=51234
BoundToIp=
[WebPost]
AdminEmail=na
ISPLinkURL=na
ISPName=Private
ISPCountry=Earth
Enabled=1
PostURL=http://207.243.120.236/ts2/webpost.php
[server_cfg Default]
ServerName=MSCWARS
ServerType=6
ServerWelcomeMessage=Welcome to MSCWARS Teamspeak Server. Please Visit www.mscwar.com for rules and info. DO NOT REQUEST AN ADMIN TO KICK A PLAYER IF YOU ARE NOT IN MSC!!!! Visit http://www.tisd.net/~theplagueofdeath/maps.html tro download maps.
ServerMaxUsers=99
ServerUDPPort=8767
ServerPassword=
ServerFlags=1
AllowCodecCelp51=1
AllowCodecCelp63=1
AllowCodecGSM148=1
AllowCodecGSM164=1
AllowCodecWindowsCELP52=1
WebPost_LinkURL=http://207.243.120.236/ts/webpost.asp
[Servers]
0=server_cfg Default

I can get it to post on the creators page, but not my own.

maletin
21-02-2003, 14:20
Originally posted by MSCBlade
PostURL=http://207.243.120.236/ts2/webpost.php

i'm not allowed to access http://207.243.120.236/ts2 from outside. can you really sent your information to the server?

i edited once webpost.php to write a logfile for every request.
must be something like

$fh = @fopen( "ts.log", "w+" );
@fwrite( $fh, "test\n" );
@fclose( $fh );

MSCBlade
22-02-2003, 00:23
Hmmm. Other people from the outside can access it just fine. they just get the same page i do, where it shows up, but the server itself will not show up. Just a page with no servers.

Cstar_maxim
22-02-2003, 23:41
Any proposed changes to webpost due to TS2-RC2 comming?

jaktUp
25-02-2003, 20:10
Hey guys,

I sit in the same boat as MSCBlade, I have the page displaying, but my server is not listed there.
http://www.jimmykickers.com/ts/webpost.php

I have verified with telnet that TS is responding to the default query port and I also know that my MySQL database is working properly since I have phpnuke running on it already. I used PHPMyAdmin to load the tables via the .sql file provided with WebPost2 and everything went fine.

I even pointed my TS server to Gryphon's webpost and it showed up ther just fine, so I know I have my .ini file set right. Clearly my server is not responding and/or requesting info from my TS server which is running on 216.234.201.146, if I understand how this works correctly.

If anyone could test my webpost by pointing to it with their TS, I would greatly appreciate it. Or offer any further suggestion, my ICQ# is 5591566. I would be thrilled to help anyone else with anything that falls in my range of knowledge.

Also, for anyone wondering, I have re-read these forums 3 times looking for clues. I would also be more than willing to provide anyone with any info they might need to know in order to assist me.

P.S. On a side note, I am running the latest MySQL and PHP versions as well as hosting TS on and XP box. If someone who has this running on windows based boxes, lemme know what versions you are running if you don't mind.

THANKS IN ADVANCE

Cstar_maxim
26-02-2003, 19:10
I am having same problem, I had the ASP version running on my temp server here, but I do not have web serving capability rights on my cable so I only use it for testing.

I have joined a free WebHosting community called AMZweb which provides (php,asp{sun},mySQL,....) I have started to test the php version there and have the same results. I think that there is a possiblity that the ports that webpost uses may be blocked.

I do know the webhost doesn't like bots in general and have snuck it on and there in lies my problem...How do I get them to open those ports if I am trying to sneek something LOL

The community is : http://www.forum.amzweb.net/portal.php

My testing site is : http://comstar.u69.us/listing.php NOTE: This is just for testing and learning and in no way reflects the finished product.

Gryphon
03-03-2003, 19:19
RC2 May not work properly with this version of Webpost2, I will be working on this and releasing a new version shortly.

Phosphorescent
03-03-2003, 22:31
I got my server to show up on the webpage...but the details do not show up.

I added this line to my server.ini file and then restarted the TS server to get it to "work":

WebPost_LinkURL=http://www.yourdomain.com/webpost.php

Add it right under the PostURL setting line.

mister
03-03-2003, 23:02
Originally posted by Gryphon
RC2 May not work properly with this version of Webpost2, I will be working on this and releasing a new version shortly.

Please do :D

Gryphon
04-03-2003, 00:18
Looks like everything in the current version works ok with RC2. I will have 4.0.0 finished soon.

mister
04-03-2003, 00:40
I cant get it to work whit RC 2 ?? noting happens ?? RC1 is listed but if i try whit RC 2 it wont list ? any one who have a .ini from RC2. Or have any clue what i must do or so :D

NM156
04-03-2003, 01:08
I wish you could get this to work on Windows based systems. I've tried a few different versions of the OS, to no avail. I'm not sure where the problem lies, MySQL, or PHP. The data never reaches the database. I have phpBB forums installed on the same system, and everything works just fine.

I use PHP 4.3.0, and MySQL 3.23.55, on Windows 2000 Server. I get the same results with XP Pro.

Originally posted by Gryphon
Looks like everything in the current version works ok with RC2. I will have 4.0.0 finished soon.

mister
04-03-2003, 01:48
Heres my ini
RC 2

[Main Config]
ExternalIPDectection=0
HTTPServer Port=
HTTPServer Enabled=1
DateTimeFormat=dd-mm-yyyy hh:nn:ss
TCPQueryPort=51234
BoundToIp=


[WebPost]
AdminEmail=na
ISPLinkURL=na
ISPName=Private
ISPCountry=na
Enabled=1
PostURL=http://warcenter.mine.nu/main/modules/webpost/webpost.php
ListPublic=1 <-- and that is ?


[ISP]
GFX URL= <-- and that is ?

[log]
access=1 <-- and that is ?



RC 1


[Main Config]
ExternalIPDectection=0
HTTPServer Port=
HTTPServer Enabled=1
DateTimeFormat=dd-mm-yyyy hh:nn:ss
TCPQueryPort=51235
BoundToIp=

[WebPost]
AdminEmail=na
ISPLinkURL=na
ISPName=Private
ISPCountry=na
Enabled=1
PostURL=http://warcenter.mine.nu/main/modules/webpost/webpost.php


So why isn't the RC 2 listed?

Bigman
04-03-2003, 14:04
I wish you could get this to work on Windows based systems. I've tried a few different versions of the OS, to no avail. I'm not sure where the problem lies, MySQL, or PHP. The data never reaches the database. I have phpBB forums installed on the same system, and everything works just fine.

Same problem as me i have PHP Nuke and phpBB running bit i cant get webpost thingy working ;)

mister
04-03-2003, 14:45
Originally posted by Gryphon
Looks like everything in the current version works ok with RC2. I will have 4.0.0 finished soon.

O btw i saw that it's only Win RC2 servers that is listed on your server list have you test Linux RC2? (i doubth that there is any diff but anyway) =)

mister
04-03-2003, 15:35
Heheh sorry for mega spam :rolleyes: I have fixed my problem now :D

Heres the solution if others than me encounter this.

I upload the linux rc2 server as my user mister.

Then i ssh and started the ./server_linux as root. So all files was user misters files exept the .ini and the other files the server creates in the start.
The thing I did to make it work was to chown -R root.root /path to server (I made all files belong to root. the one who started the server) and YIHAAA the Linux RC 2 server is listed!! I hope all this make any sence to you.. If not ill try to explain again :rolleyes:

Bigman
04-03-2003, 15:38
Manage to get mine working now as you can see http://bigmanrlfans.dyndns.org/webpost2/listing.php only problem is as im behind a router its showing my internal ip, is there any way i can make it show my external ip, without it giving me the tcp query port error.

NM156
04-03-2003, 21:30
How did you get yours working? I'd sure like to get the PHP version running under Windows!

This is how I fixed my router/ip issue. Open up the webpost.php file, and near the top of the file, look for this section:

if (getenv("HTTP_X_FORWARDED_FOR")) {
$server_ip = getenv("HTTP_X_FORWARDED_FOR");
$server_ip = preg_replace( "/,.*$/", "", $server_ip );
} else {
$server_ip = getenv("REMOTE_ADDR");
}


Replace it with this:


if (getenv("HTTP_X_FORWARDED_FOR")) {
$server_ip = getenv("HTTP_X_FORWARDED_FOR");
$server_ip = preg_replace( "/,.*$/", "", $server_ip );
} else {
$server_ip = getenv("REMOTE_ADDR");
// Replace Router IP if ness...
if (getenv("REMOTE_ADDR") == "192.168.2.39") {
$server_ip = getenv("SERVER_NAME");
}
// Replace Router IP if ness...
}


This may or may not work for you, but it's worth a try. You have to find a server variable that matches your external IP address. The 'SERVER_NAME' happens to work for me. I added your router IP, since that's what I saw on your server list. Mine happens to be "192.168.1.1".

HTH



Originally posted by Bigman
Manage to get mine working now as you can see http://bigmanrlfans.dyndns.org/webpost2/listing.php only problem is as im behind a router its showing my internal ip, is there any way i can make it show my external ip, without it giving me the tcp query port error.

Bigman
04-03-2003, 21:43
Reason mine wasn't working originally was becuase a was using a different verison of php to the one that the webpost is based on. Once i installed the correct version stated on the first page of this topic it worked.

ill give the ip thing i try soon.

NM156
04-03-2003, 22:57
Well imagine that... it works! :D Thank you Bigman!

Took me forever to find 4.0.6... here is a link for those who want it:
http://www.programmers.lt/php/soft/phpWin32/php406-installer.exe


Originally posted by Bigman
Reason mine wasn't working originally was becuase a was using a different verison of php to the one that the webpost is based on. Once i installed the correct version stated on the first page of this topic it worked.

ill give the ip thing i try soon.

Gryphon
04-03-2003, 23:31
The next release should be compatible with the default setting install of the latest php version.

NM156
04-03-2003, 23:48
Excellent Gryphon! Great work by the way... got a rough ETA?



Originally posted by Gryphon
The next release should be compatible with the default setting install of the latest php version.

Bigman
05-03-2003, 10:18
Still cant get my external ip showing, ill just have to keep trying stuff dont know what im doing wrong or whether it will allow me to show it. Anyway its stopped working all together now so ill wait for the new version to come out then try again...:)

http://bigmanrlfans.dyndns.org/webpost2/listing.php

jaktUp
05-03-2003, 23:06
Thanks for your help again Gryphon!!

Mine has been working pretty well and seems to have improved more with RC2.

For those reading, I set Global Variables to On in my php.ini...

My WebPost2 (http://www.jimmykickers.com/ts) :D

Gryphon
06-03-2003, 01:51
Originally posted by NM156
got a rough ETA?

I don't know, it is nearly complete. Work has been pretty busy lately so I'm working on webpost at any spare moment.

mister
06-03-2003, 13:49
bullet_5.gif and bullet_65.gif

My server list wanted this gif ?? it was on the player list .. what status is that? coz i didnt have that gif in the image folder ?

Gryphon
06-03-2003, 16:45
Yeah, I think there are a bunch that I missed. I will include images for those.

ttleser
08-03-2003, 01:46
Do you have a web link or a tutorial on how to get this webpost up and working? I'm a newbie to programming HTML and I think I'm going to need some help on this. The readme.txt file is really about the updates.

Thanks

aeroclown
12-03-2003, 03:15
the current version of webpost no longer funcitons with rc2. you must wait for the new release.

mister
12-03-2003, 03:28
:confused: :confused:

I have webpost2 and linux server RC2 works petty fine for me :D

{4077}TheWizard
12-03-2003, 08:37
works great for me aswell and i am using the newest versions

aeroclown
12-03-2003, 16:44
if you re not using the latest version of mysql then webpost should function, but some of the rc2 stuff i believe is not avalible on the current webpost version.

Bigman
12-03-2003, 17:15
Just a quicky can someone check my page and see if they see any errors, ive been told there are but for some reason i dont see them on my machine. cheers

http://www.bigman.34sp.com/nuke/html/listing.php

{4077}TheWizard
12-03-2003, 17:18
Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/bigman.34sp.com/httpdocs/nuke/html/db_inc.php:286) in /usr/local/psa/home/vhosts/bigman.34sp.com/httpdocs/nuke/html/mainfile.php on line 74


yea your site has errors. are you using the nuke mod for webpost??

Bigman
12-03-2003, 17:36
No im just using the normal one not the modded one for nuke, reckon thats the problem

Bigman
12-03-2003, 17:41
Hows that http://www.bigman.34sp.com/nuke/html/modules.php?name=webpost

{4077}TheWizard
12-03-2003, 18:17
no more errors but you need to have the module active but if you want an even easier to way to get webpost added to phpnuke without haveing to use the module or anything all you have to do is the following

------------------------------------------------------------------------------------
if you guys are looking to integrate webpost into your phpnuke there are easier ways then just creating blocks or even modules. here is how i did mine. My way gives the same effect of the module without all the fuss or even mess. any n00b can make theirs seem like a module if you follow my stepshere is mine

step 1 install webpost to the base directory in phpnuke
step 2 open listing.php in a text editor i used a free one called crimson editor
step 3 find line include("db_inc.php");
step 4 insert include("header.php");
step 5 save the file
step 6 upload and overwrite the file.
step 7 goto your http://www.youraddress.com/nukedirectory/listing.php
------------------------------------------------------------------------------------

PrimalFear
25-03-2003, 00:58
Has Any one here successfully installed the phpnuke ported version of webpost to phpnuke 6.5.

I for the life of me cant get any connection to my TS servers on my Linux box.(which is a remote server not local) but are running nicely!

But the webpost installed ok with no errors.

RedHat Linux 7.2 Features:
Red Hat Applications
RedHat 7.2
Apache 1.3.22
Sendmail 8.11.6
Bind 9.1.0
MySQL 3.23.36
mod_perl 1.24
Kernel 2.4.9-31
EXT3 Filesystem
PHP 4.0.6
PERL 5.6.0-12
OpenSSH 2.9

Seem to be ok on the nessacerry apps but still no reading.

You can view it here http://www.clanselite.com/html/modules.php?name=webpost

Can anyone spare a few mins to help me install this if they have, my AIM is EnigmaPrime01 cheers in advance

{4077}TheWizard
25-03-2003, 03:27
if you read the post above you. you will find a much easier way of integrating phpnuke and webpost

PrimalFear
25-03-2003, 06:51
Integrating is not the prob, ive done that successfully with no errors, this is a mod made specifically for phpnuke, it was installed with no errors, the problem is the server is not showing up in webpost.

{4077}TheWizard
25-03-2003, 07:07
if that is the case then there you do not have the proper udp and tcp ports open to allow for that info to be parsed

PrimalFear
25-03-2003, 11:11
Ya but this is on a remote server rented at rackshack.net, im told this is not nessicery, are the techs there wrong, which could be the case, I'll check again!

{4077}TheWizard
25-03-2003, 14:47
i have mine hosted aswell but i have mine hosted at holdouts.com and the guy that runs it is very nice. he even opens up the ports for you to use your webpost if you ask him too.

mister
25-03-2003, 15:47
Hi there have you set your PostUrl to... ?

PostURL=http://www.clanselite.com/html/modules/webpost/webpost.php

PrimalFear
25-03-2003, 19:06
Yip, tried several variations, but to no avail.

mister
25-03-2003, 20:12
Version of TS server ?

and please post your

PostURL line from your server.ini if there is any typos :D

PrimalFear
25-03-2003, 23:43
Linux Version RC2 Server New Install working 100%
PostUrl=http://clanselite.com/html/modules/webpost-nuke/webpost.php


As per the instructions in the mod.

Cant see what Im doing wrong, again I have contacted My Server Company to see if I need ports open. Waiting For Reply

Scankman
26-03-2003, 00:31
I guess you must be moving things about as when I went to the url

http://clanselite.com/html/modules/webpost-nuke/webpost.php

I get a 404

mister
26-03-2003, 13:38
Originally posted by PrimalFear
Linux Version RC2 Server New Install working 100%
PostUrl=http://clanselite.com/html/modules/webpost-nuke/webpost.php


As per the instructions in the mod.

Cant see what Im doing wrong, again I have contacted My Server Company to see if I need ports open. Waiting For Reply


HEY !!!!

NOT !! PostUrl=http://clanselite.com/html/modules/webpost-nuke/webpost.php

IT MUST BE PostURL=http://clanselite.com/html/modules/webpost/webpost.php

Then it will work :D

PrimalFear
26-03-2003, 18:14
Nope Tried them both, aslo tried several variations, of that url, still cant get it to work, but I aint giving up yet lol.

mister
26-03-2003, 19:19
IT MUST BE (sorry for caps) PostURL not PostUrl haveyou tried that ? :D (and Im not giving up to help ya)

PrimalFear
26-03-2003, 20:35
Thanks Mister, yes Ive tried both caps versions, now Ive just changed the url to point to the test page "PostURL=http://www.thzclan.com/ts2/webpost.php" but after waiting an hour still nothing.

A little note, in the instruction page that came with the download its says Linuxs users should note PostUrl = (case sensative) then in that case should it not read PostUrl not PostURL.

PS what ports should I have opened.

Oh & heres my server.ini file...
[debug]
MessageTypes=LMTALL
MessageDepths=LMDALL

[Main Config]
ExternalIPDectection=1
HTTPServer Port=14534
HTTPServer Enabled=1
DateTimeFormat=dd-mm-yyyy hh:nn:ss
TCPQueryPort=51234
BoundToIp=

[WebPost]
AdminEmail=na
ISPLinkURL=na
ISPName=Private
ISPCountry=Earth
Enabled=1
PostURL=http://www.thzclan.com/ts2/webpost.php


ListPublic=1

[ISP]
GFX URL=

[log]
access=0

PrimalFear
26-03-2003, 22:15
Right I was tweaking away at my webpost & low & behold it now appears on the test site PostURL=http://www.thzclan.com/ts2/webpost.php

I hate it when I get something going & I cant remember what I did to get it going in the first place.
I know it was nothing to do with the ports.

I did stop & restart the server at one stage, can it be that a restart is in order everytime you update the server.ini file?

Now I went & changed the PostURL=http://www.clanselite.com/modules/webpost-nuke/webpost.php remember im using the ported mod for phpnuke so webpost-nuke is correct & saved it in the server.ini file then stopped & restarted the server & hey Presto it shows up on my webpost.

It has to be the fact That I restarted the server cuz I ve used that url before with no luck, but I havent seen that mentioned anywhere in the instructions nor on the forum, might be a good Idea to keep a note of this.

Ok just one more thing, if you take a look at my webpost here http://www.clanselite.com/html/modules.php?name=webpost you will see the very first room or channel is on port 8767 but I get this error Data unavailable. TCPQueryPort may not be open.

But the other channels are fine 8768, 8769,& 8770 work fine.
Any thoughts

Bigman
13-04-2003, 17:03
Any news on the new version of Webpost yet.?

Kane Fujao
13-04-2003, 18:54
I can get Webpost to work for a little while, like a day. After that I get this error.

Warning: Cannot modify header information - headers already sent by (output started at /home/ulams/public_html/voice/config_inc.php:77) in /home/ulams/public_html/voice/index.php on line 25

Was wondering if anyone could help.

Whenever I uninstall then reinstall it works again for the day then error again.

My Database has the information in it when I check

Thank You
Kane

Oh here is the link (if its working I may have reinstalled within the past "day" hehe)

http://voice.theorderofasheron.com

frankenberrie
18-04-2003, 21:36
I am hosting my own server which is running windows 2003 server, teamspeak 2 rc2, php, mysql (new versions)

My IP for teamspeak is 24.97.120.200
The ip for my server is 192.168.0.100

for webpost, do I put

http://192.168.0.100/teamspeak/webpost.php ?

I cannot get my server to show up on webpost. Can someone help please.. Thanks!

Novia
19-04-2003, 05:41
First, thx for thost people release this good webpost.
I have a little Question
My webpost works perfact, but I found......
the USER and CHANNEL have a problem
It's already refreshed, but the user in the channel, still never change.
I means when I joion a channel, the webpost never show anyone there
maybe 2 or 3 mins, the user appear in the channel
In this time, no metter what I do, reopen the web, refresh....


HOW TO FIX THIS PROBLEM ?
THX

djlightning
23-04-2003, 05:56
I am hosting my own server which is running windows 2003 server, teamspeak 2 rc2, php, mysql (new versions)
My IP for teamspeak is 24.97.120.200
The ip for my server is 192.168.0.100


I stoped bt your TS server to see if I could help.....your clan mates kinda scratched their heads. Didnt know what I was talking about.

Drop me a post over at my site, maybe I can help.
http://sofclan.net

[=TLC=]Space Ra
01-05-2003, 14:29
Hi there!

Right at the beginning of this thread there's an error about that

"Call-time pass-by-reference has been deprecated.... " stuff. Anyone got a workaround (what to replace with what?!) for that? Or did I miss that somwhere in all the answears here? ;)

The script itself works fine for me - but only these errors.

I've got mysql 3.23.54 & php 4.1.2 running on apache linux. BTW - I had to rename the .htaccess as well.

Foxman
05-05-2003, 12:20
I've installed webpost (awesome tool btw) and its been running flawlessly for about 5 days up until now.

All I get when viewing ther page is this:

[DATABASE ERROR:]1016: Can't open file: 'ts2_user.MYI'. (errno: 145)


Anyone able to tell me what it means (other than an error of course) amd more importantly, how I might fix it?

BLIND
05-05-2003, 22:44
sounds like a MySQL permissions problem, or a corrupt table. Try checking permissions, and/or re-creating the webpost databse table.

Foxman
06-05-2003, 00:54
Thanks! I rebuilt the database nad its all good so must have been a corrupted table in there somewhere :)

mister
06-05-2003, 17:17
I have that problem from time to time to.. Just use the sql code REPAIR or use phpMyAdmin (http://www.phpmyadmin.net/).

BLIND
06-05-2003, 21:04
Originally posted by mister
I have that problem from time to time to.. Just use the sql code REPAIR or use phpMyAdmin (http://www.phpmyadmin.net/).

Yea phpMyAdmin rux, hard. But I wasn't about to send him into command interface with the SQL server since he didn't have a clue what was wrong ;). Easier for them to just recreate the database.

woutur
08-05-2003, 18:35
In true TeamSpeak tradition the manual of this webpost isn't quite............ understandable.
At least not for a newbie like me.
I don't get it :)

1. Create table in your database with webpost2.sql

How? By using phpmyadmin? Or run webpost2.sql as a command?

Bot things do not really work for me. The output of running webpost2.sql:

: command not found
: command not found
./webpost2.sql: DROP: command not found
: command not found
'/webpost2.sql: line 23: syntax error near unexpected token `(
'/webpost2.sql: line 23: `CREATE TABLE ts2_channel (

I use mysql : Ver 11.16 Distrib 3.23.49, for pc-linux-gnu (i686) on Debian.
I don't quite get what to do as a first step.

BLIND
08-05-2003, 18:42
True, but I figure if you have the knowledge and know how to run MySQL, then you should be able to admin it, at least basicly. As far as the example above goes, he pbviously had already setup a table/database for Webpost, so recreating it should be fairly familiar for him ( or her, or whoever else might have the same problem).

But .sql files are basicly for GUI based SQL admin tools. You COULD login to your MySQL database command promt, and type in every line inside the .sql file, but that takes a while.

woutur
08-05-2003, 18:59
Sorry.. but I don't get it.

Was I right in assuming you have to run the webpost2.sql in a shell?

If so, how can I prevent getting those error messages?

BLIND
08-05-2003, 20:53
Sorry, no you cannot run that in a shell. What do you use to admin your MySQL database? Command prompt only? If so, look into running the phpMyAdmin from the post above.

If your running the command promt, login to your mysql database and run the script file

for example:

shell> mysql -h hostname -u username -p
Enter password: ******

mysql> source webpost2.sql;

That should work.

woutur
09-05-2003, 01:50
I'd like to but I'd have to specify a database (when doing mysql from a shell).

And I run phpmyadmin as well, is there an easy way of creating the tables? I can't believe there is no information about this after 14 pages :)

So odd :)

Anyway, I can install whatever is necessary... that's no prob. I just have nill experience with mysql and php.

BLIND
09-05-2003, 01:54
Well the tough part about finding the answers that you want, is asking the right questions.

So what exactly are you trying to do? create a table? use the create command. I know a great source that help you figure out MySQL commands, here (http://www.mysql.com/documentation/mysql/bychapter/). But phpMyAdmin will let you create tables as well. It also lets you run SQL commands without having to goto a shell.

andreagighi
09-05-2003, 11:54
I'm setting up webpost for my ts2 server but i got this problem:

Gabibbi Esaltati Voice Server

Data unavailable.
TCPQueryPort may not be open.



I got this problem only in my server but not in thz server:
this the url:
http://andreagighi.altervista.org/ts2/wp2/

and here the url of tzh that work good:

http://www.thzclan.com/ts2/

I think the problem can be the database not properly setting ...
some help ???
thnksssss

...i use phpMyAdmin to set the database !!!

BLIND
09-05-2003, 15:49
I forget what ports they are, but sounds like your router/firewall is blocking the data port...

woutur
11-05-2003, 19:30
I give up.

I couldn't get past the first step, there is no documentation whatsoever. And not really good support on this.

I mean, I can't ask clearer than:
Help me get through the first step.
What commands should i use?
What is the file: webpost2.sql for?
How can i make the things in that file work in mysql?
Is there some way I can use myphpadmin for that?

Stuff I already asked I guess. Too bad. Now newbies can't use this otherwise fine piece of software.

BLIND
11-05-2003, 20:22
ok, don't get bent out of shape, best way to get support like what your having is have some one guide you through. If you wish to e-mail me your messenger info, we can get in contact and I can help you.

phpMyAdmin will run .sql (or any table/database formating file) you just must have a few things done.

This might sound stupid, but its critical.

1. have phpMyAdmin running and working (i.e. entered all config.inc.php info correctly) so you can browse and edit your database and tables.

2. (not sure what version of phpMyAdmin your running, but its generally the same) open your web browser and point it to the phpMyAdmin address, and login, or if that isn't required, pick a database your going to be adding the webpost to in the left frame. in the right frame click on the SQL tab.

3. There are 2 text boxes there (I hope) first one is like your mysql command prompt, you can runn commands there. Second is a text entry for a location of the database/table editing file (webpost.sql in this case) browse for that file and run it, and it should insert all the webpost tables and data.

Gryphon
12-05-2003, 21:01
Sorry I have not been around much, very busy at work.

The instructions are setup assuming that if people have access to mysql and php that they most likely know how to do this.

First you must have a database setup with a username and password. Login to the database with phpMyAdmin and find the area to run the sql file, attached it a screenshot of it.

After you have run the query all your tables will be setup. Then plug in the database username and password into the config file.

I can't promise any time frame on 4.0, but it will have a web based install so that phpMyAdmin is not necessary.

woutur
13-05-2003, 20:48
Thx to a file I got the tables and all made in the db.
Only thing now is to make my server show up:
http://62.216.18.183/~teamspeak/webpost.php

This is the same address i specified at the PostURL=
in the server.ini.
I know the tcpquery port is open and running (I can connect to it and check commands and stuff.)

Just need the last step :)

Gryphon
13-05-2003, 22:03
That is the right address for the PostURL, make sure you restart the server after making changes. The server also needs to run for a while before they show up on the list, 10 minutes max.

woutur
14-05-2003, 14:51
[WebPost]
AdminEmail=wouter@teamspeak.org
ISPLinkURL=Not really important
ISPName=Cistron
ISPCountry=Netherlands
Enabled=1
PostURL=http://62.216.18.183/~teamspeak/webpost.php
ListPublic=1
ISPCountryNumber=0


^^
My setup. It just fails to show up.. Might the problem be that i am using a slighty newer server version?

BLIND
14-05-2003, 16:49
hrmm this might be totally off the wall, but try taking the tilde ( ~ ) out of the address, and of course making the web address folder the same likewise. (i.e. http://62.216.18.183/teamspeak/webpost.php)

Just a thought, it might screw with SQL settings, but I might be totally off the wall as well.

woutur
14-05-2003, 17:16
I moved my data to another dir to lose the tilde ~. But still I don't get any server showing up.

Maybe it's the server version ;)

030514 17:23:37 2622 Connect teamspeak@localhost on
2622 Init DB webpost2
2622 Query delete from ts2_weblist where (server_timestamp + 900) < '1052925817'
2622 Query delete from ts2_user where (server_timestamp + 900) < '1052925817'
2622 Query delete from ts2_channel where (server_timestamp + 900) < '1052925817'
2622 Query delete from ts2_group where (server_timestamp + 900) < '1052925817'
2622 Query SELECT * FROM ts2_weblist WHERE clients_current > 0
2622 Query SELECT * FROM ts2_weblist WHERE clients_current > 0
2622 Query SELECT * FROM ts2_weblist WHERE 1
2622 Query SELECT * FROM ts2_weblist WHERE 1 order by server_name asc, server_name LIMIT 0,15
2622 Query SELECT * FROM ts2_channel
2622 Quit



From the mysql.log

BLIND
14-05-2003, 17:23
hrmm maybe Gryphon can back me up on this, but as long as your server version is sending the same packet info out on the same ports as previous versions, it should be gravy.

maletin
16-05-2003, 12:45
Originally posted by woutur
My setup. It just fails to show up.. Might the problem be that i am using a slighty newer server version?
My TS-Server was 66 days running, when the webhost-server was going down.
after restart, i couldnt see any webpost request from my ts-server.
i had to restart the ts-server and now it works again (but all servers (ports) are visible on the webhost-server. the tcpquery port doesn't work again. maybe i miss an old patch, that i had on my old webpost.)

Gryphon
16-05-2003, 22:44
Originally posted by BLIND
hrmm maybe Gryphon can back me up on this, but as long as your server version is sending the same packet info out on the same ports as previous versions, it should be gravy.

All all the webpost needs to show up is port number. All the other data can be there or not and something would still show up :(

I just spoofed it and something showed up on the listing, so I know it will accept the post. For some reason your server is not sending anything at all to the webpost.php.

You set ther PostURL and restarted the server after the changes?

woutur
20-05-2003, 14:09
I gave up :)

I could make my server show up on other webposts just not on my own page.

Other people could make their servers show on other webposts but not on my webpost. Ergo: there is something wrong with access to my webpost.. or something.

Might be a firewall problem, or a permission thing. Dunno.

9999
22-05-2003, 17:43
If i use the .htacces file the webpost page wont show up so i deleted it and it shows the inde now.


But i've set the webpost url in TS2 but it doesn't show up in the list :S

Why not?

amstaff
27-05-2003, 17:41
Originally posted by mister
Heheh sorry for mega spam :rolleyes: I have fixed my problem now :D

Heres the solution if others than me encounter this.

I upload the linux rc2 server as my user mister.

Then i ssh and started the ./server_linux as root. So all files was user misters files exept the .ini and the other files the server creates in the start.
The thing I did to make it work was to chown -R root.root /path to server (I made all files belong to root. the one who started the server) and YIHAAA the Linux RC 2 server is listed!! I hope all this make any sence to you.. If not ill try to explain again :rolleyes:

I dont create other user i run ts2 rc2 server with root, do you think this cause problem? i also did chown root:root * is it ok?
Thanks but this webpost make me crazy i istall and configure everithings and i didnt get any errors messages but i can not listen nothing in webpost..

9999
27-05-2003, 17:46
:S i don't really understand. I've got i hired ts2 rc2 server. And i've filled in the right webpost page.

All the files are in the ts2 dir on www.mysite.com/ts2/.....*

Could you please explain again what i should do? Thanks

Nightman
30-05-2003, 17:56
Hi,

first i have to say that you have done a good job. the webinterface is fine.

but after i have updated to the new developer release "v2.0.19.37" the channel list didn't work. do you know what i have to change that the detail page will work?

thnxs and bye
nightman

maletin
01-06-2003, 23:38
Originally posted by Nightman
Hi,

first i have to say that you have done a good job. the webinterface is fine.

but after i have updated to the new developer release "v2.0.19.37" the channel list didn't work. do you know what i have to change that the detail page will work?

thnxs and bye
nightman
i had problems to kill all processes from the old ts-version.
with tcpquery i contacted the old process, while the ts-clients could talk on the new version.

DerJoker
02-06-2003, 19:40
I couldn't Download the latest Webpost Version!
Can anyone send me the file by mail???
>>> MAIL (webmaster@DerJoker.de) <<<

Many Thx!!!

Gryphon
11-06-2003, 03:07
4.0.0 is done....I hope. :)

Should work now with register_globals off.
New admin panel.
New web based installation script.
Fixes the quote problems with v2.0.19.37+

4.0.1
fixed intall script

Gryphon
11-06-2003, 08:10
Sigh, it appears that some have trouble with the admin login.

Working on a solution.

ScratchMonkey
11-06-2003, 17:25
Feature request: Can you encode the verssion in the zip file name? Ie. webpost2_401.zip instead of just webpost2.zip? That would make it easier to not overwrite the previous version, in case I need to fall back.

Gryphon
11-06-2003, 18:10
Alright

DerJoker
11-06-2003, 18:22
but after i have updated to the new developer release "v2.0.19.37" the channel list didn't work. do you know what i have to change that the detail page will work?

I have the same problem! can anybody help?
Look and see (http://www.TS-Server.com/ts/)

Nightman
11-06-2003, 21:13
hi
i have just installed the new version. very cool admin.. great.

but with the new server version v2.0.19.37 i have the same query problem wenn i want to the details from a server.

Data unavailable.
TCPQueryPort may not be open.

can anyone help me which code i have to change that it works?

thnxs
nightman

Gryphon
12-06-2003, 02:31
I don't think there have been any real big changes. Maybe your query port got changed and you need to open it on the server?

It should be working ok. I know people have upgraded to those versions and the querys still work for them. :(

You should upgrade as well, the latest version is v2.0.19.40

Gryphon
12-06-2003, 05:51
New version, should fix any Admin login problems you may have had.

Nightman
12-06-2003, 13:12
Originally posted by Gryphon
I don't think there have been any real big changes. Maybe your query port got changed and you need to open it on the server?

You should upgrade as well, the latest version is v2.0.19.40

what do you mean with we have to open it. we don't have a firewall for blocking on the server. in which way the port changed? number?

Gryphon
12-06-2003, 22:26
Usually there is a firewall or router that is blocking the port needed for the script to query the server. Data unavailable means that the script could not connect to the server and get the information.

If it is not a firewall or a router blocking the port, I do not have a solution for you, sorry. Maybe upgrade your server, or try setting it to a different port. The script querys the same as it always has, and the new server versions still query ok. :(

I will continue to dig into this issue as I clean up the script code now to try and optimize the performance.

DerJoker
13-06-2003, 06:18
Server v2.0.19.40 and Webpost 4.0.2 and its all right!:D

Look (http://hgw-hosting.de/ts) :o

Only Server with old Version (v2.0.19.37 and v2.0.19.16) have the Problems with the Data Querey!

maletin
13-06-2003, 09:06
Originally posted by Nightman
what do you mean with we have to open it. we don't have a firewall for blocking on the server. in which way the port changed? number?
can you connect with telnet localhost 51234 and do you see your serverport with "sl"?
view the server.log: was there a problem to open the tcpquery-port?
maybe you have to stop all running processes and start the server again.

Palm_Maniac
18-06-2003, 14:33
Hi!

I need help with the new Webpost2 Scripts.

If I call the file install.php, the following errors come:

Warning: session_start() [function.session-start]: open(/tmp\sess_9aa0ccd6e692412268a3969093843ab5, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\wwwroot\DHdH\webpost2\admin\db_inc.php on line 475

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Inetpub\wwwroot\DHdH\webpost2\admin\db_inc.php: 475) in C:\Inetpub\wwwroot\DHdH\webpost2\admin\db_inc.php on line 475

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\DHdH\webpost2\admin\db_inc.php: 475) in C:\Inetpub\wwwroot\DHdH\webpost2\admin\db_inc.php on line 475

Step 1

Welcome to the ssWebpost2 install script. Please make sure that the following information is correct. If it is not, please open the config.php file in a text editor and enter the correct information.
--------------------------------------------------------------------------------

Host: localhost
Username: xxxxxx
Password: xxxxxx
Database: ts2weblist


--------------------------------------------------------------------------------


Warning: Unknown(): open(/tmp\sess_9aa0ccd6e692412268a3969093843ab5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

So far I never had problems with PHP Scripts in this kind. I hope, it have a tip for me, where I must look for a solution.


Thanks first,

Thomas

Palm_Maniac
19-06-2003, 01:06
I find the Problem.


Thanks,

Thomas.

Zero-Point
19-06-2003, 07:47
My TS2 server is not posting to my website. I am able to post to Gryphon's test site though.

I have just setup a website using Apache, PHP, and MySQL. I don't know much about any of these, but the site seems to be running fine.

Versions:

Apache: 1.3.27
PHP: 4.3.2
MySQL: 4.0.13
Webpost2: 4.0.2
TeamSpeak: 2.0.19.40 RC2

The website and TeamSpeak run on Windows Enterprise Server 2003 (same box).

I have changed my Windows "hosts" file adding my DNS to resolve to the internal LAN IP. This was done on both my client and server here because of other problems with the website.

My [local] client and server run behind a NAT firewall and both default server port and TCPQueryPort are opened/forwarded properly). The TeamSpeak server runs fine both internally and externally (LAN).

I extracted Webpost to ./WEB_SERVER_ROOT/ts2/. I configured Webpost properly and constructed the database. I manually made a database called webpost2 (due to problems later that I/webpost could not find the database "webpost2"). I edited the webpost ./ts2/admin/config.php file changing the username and password to a user who has access to the webpost2 database. I kept the host as "localhost."

Next, I ran ./ts2/admin/install.php and verified everything and made an admin. I deleted ./ts2/admin/install.php as suggested for security.

In my TeamSpeak server, I changed

Server WebPost PostUrl: http://MY_DNS/ts2/webpost.php

and

Server WebPost LinkUrl: http://MY_DNS/

When I go to ./ts2/ in my browser, my server does not show up (yes, I have waited an hour and more for it to cycle/load/read).

I have changed the PostUrl to Gryphon's test site and works properly, so I do not believe it to be a TeamSpeak issue.

I have also tried changing the PostUrl to "localhost" and the server internal LAN IP with no luck.

I think this might be a PHP issue as I see Gryphon's development PHP version is a much older version than the one I am running.

As a side note and problem that MAY relate to my main prolem is logging in as the admin.

When I go to ./ts2/admin/login.php, I login fine and the admin page loads, but when I click on either "Settings," "Email Admins," or "PHP Info," I am taken back to the admin login page (ie ./ts2/admin/login.php).

Web browsers tried with same result:

Opera v7.11b Build 2887
Mozilla Firebird v0.6
MyIE2 v0.7.1240 (MSIE v6.0 SP1)

Also, is the PostUrl in the server.ini? I was going to verify it there, but the PostUrl is blank. Or is it in the sqlite database?

Thanks,

0.

Vortex
19-06-2003, 11:51
When I go to http://myserver/webpost2/admin/login.php, type in the admin login and password, I get the admin page. But when I click :

Settings or admin E-mail, I get the login screen again.

What am I doing wrong ??

Zero-Point
19-06-2003, 18:51
Originally posted by Vortex
When I go to http://myserver/webpost2/admin/login.php, type in the admin login and password, I get the admin page. But when I click :

Settings or admin E-mail, I get the login screen again.

What am I doing wrong ??

Happens to me too; posted about it above.

0.

Vortex
19-06-2003, 18:56
Originally posted by Zero-Point


Happens to me too; posted about it above.

0.


Saw it too late, sorry

Zero-Point
19-06-2003, 19:57
np, guess i'm a bit relieved happening to someone else besides me. What version PHP are you using btw?

Vortex
19-06-2003, 21:28
Originally posted by Zero-Point
np, guess i'm a bit relieved happening to someone else besides me. What version PHP are you using btw?

PHP v4.2.3
MySQL v4.0.13
Windows 2003 Enterprise