English   German
  #1  
Old 23-03-2003, 10:08
Scankman Scankman is offline
-= TeamSpeak User =-
 
Join Date: Mar 2003
Location: OZ
Posts: 7
Scankman is on a distinguished road
Same old problem stats not showing up

I have setup and have been runing my server and clients with out a problem for the last week or so I then throught it would be a good idea to use the webpost scripts.

I have read through all alot of the posts so I first logged in to the webclient and setup the webpost so that the settings in the ini file where there I then opened the ini file and added the post url I copied that in to my clipboard and tested that the url was all ok (the url is at my host)

I waited 30 minutes with out seeing the server. I then rebooted the server and tested again no luck. I then looked at my firewall and looked to see any connects that are made out of the TS to my site but I did not see a single request go out.

I can I set a debug option to see the requests made in the TS log file I am useing the lates version for the website on a WinXP Sp1 PC.

Now my website provider (that I know is not getting any requests made to )

Here is the info on the server

- Windows 2000 Server SP3 IIS
- .net framework SP2
- php 4.2.3
- activestate perl 5.6.1
- XML Parser 4
- frontpage server extensions 2002
- MySQL server 3.23.53
- SQL Server 2000 SP2
Reply With Quote
  #2  
Old 23-03-2003, 10:23
Bigman Bigman is offline
-= TeamSpeak Lover =-
 
Join Date: Aug 2002
Location: Haydock
Posts: 73
Bigman is on a distinguished road
I had similar problems mainly becuase i was using the wrong version of PHP try using version PHP 4.0.6. Certain functions used in webpost have changed i think in current versions of PHP.
Reply With Quote
  #3  
Old 23-03-2003, 13:06
Scankman Scankman is offline
-= TeamSpeak User =-
 
Join Date: Mar 2003
Location: OZ
Posts: 7
Scankman is on a distinguished road
thats the problem its on my providers website so I cant do any thing about that :-( but as I said I dont see any action on my firewall or in the log file I might be able to sort out another host but for the time being I need to make sure my TS is outputting to the host and as I said I dont think it is I will try and make a connection to http://www.thzclan.com/ts2/webpost.php and see if my server shows up there.

PS thanks for your time you tock to reply to this post :-)

Update yep looks like its down to the php version (which I throught could cause a problem)

My server showed up on thz's server does any one know when V4 is coming out or is there any work around for the version of php ?

Last edited by Scankman; 23-03-2003 at 14:11.
Reply With Quote
  #4  
Old 23-03-2003, 15:39
[GR] Cool K [GR] Cool K is offline
-= TeamSpeak Lover =-
 
Join Date: Jan 2003
Location: Denmark
Posts: 47
[GR] Cool K is on a distinguished road
Send a message via ICQ to [GR] Cool K
Set global variables in your php.ini file to on and your webpost will rock the world!
-or get your host to do so
Reply With Quote
  #5  
Old 23-03-2003, 21:16
PrimalFear PrimalFear is offline
-= TeamSpeak User =-
 
Join Date: Mar 2003
Location: San Francisco
Posts: 27
PrimalFear is on a distinguished road
Send a message via AIM to PrimalFear
Hi can anyone tell me the location of the php.ini file.

I am using the nuke version of webpost & its installed here >>>mysite<<<

I have it installed on a remote linux server

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

I have my TS servers up & running but getting no response from webpost as you can see.

I have full root access so I can change the php file if I can find it.

My site is running on php-nuke 6.5, I eventually want to run the ticker but one step at a time.

In advance thanks for reading & if there are any other pointers please let me know.
Reply With Quote
  #6  
Old 23-03-2003, 22:24
[GR] Cool K [GR] Cool K is offline
-= TeamSpeak Lover =-
 
Join Date: Jan 2003
Location: Denmark
Posts: 47
[GR] Cool K is on a distinguished road
Send a message via ICQ to [GR] Cool K
Hmm - I'm running a Windows 2000 Server utilizing IIS - so I wouldn't know where to look for the php.ini file on a Linux system. A good guess though would be in the php directory or in the Linux system directory.

Btw: I'm using the ticker in a postnuke block (cool feature) and as a toolbar for my TS users...
Have a look over at WARGAMER
Reply With Quote
  #7  
Old 23-03-2003, 23:31
Scankman Scankman is offline
-= TeamSpeak User =-
 
Join Date: Mar 2003
Location: OZ
Posts: 7
Scankman is on a distinguished road
Would it be possible to get a copy of the ticker would the block be the same as a PHPNUKE block I guess if I could look at the code I could port it to use phpnuke would you be happy to share the code ?
Reply With Quote
  #8  
Old 24-03-2003, 08:33
[GR] Cool K [GR] Cool K is offline
-= TeamSpeak Lover =-
 
Join Date: Jan 2003
Location: Denmark
Posts: 47
[GR] Cool K is on a distinguished road
Send a message via ICQ to [GR] Cool K
Sure - no problem... Currently my computer is down due to a video card failure - but as soon as I'm up and running again (on my own computer) I'll contact you!

Would that be OK?
Reply With Quote
  #9  
Old 24-03-2003, 11:18
Scankman Scankman is offline
-= TeamSpeak User =-
 
Join Date: Mar 2003
Location: OZ
Posts: 7
Scankman is on a distinguished road
Sure thats fine with me :-)
Reply With Quote
  #10  
Old 24-03-2003, 18:03
[GR] Cool K [GR] Cool K is offline
-= TeamSpeak Lover =-
 
Join Date: Jan 2003
Location: Denmark
Posts: 47
[GR] Cool K is on a distinguished road
Send a message via ICQ to [GR] Cool K
Hmmm - well - this isn't very fancy or anything - but here is how I did it.

I'm not sure that it works the same way in phpnuke - but here's how to do it with postnuke...

Add a block - select the Core/php option - and insert the below line - where the path is replaced with your own path.

include("http://wargamer.adsl.dk/ts2/pnticker.php?group=[GR]");

Please note that the ticker.php in my case has been changed to pnticker.php since I wanted identify the one for the postnuke block (due to colorchanges to match the theme)...

The pnticker.php code is inserted below (incl. the credit to the people who deserves it )

I've set the refresh interval to 7200 seconds. This way it refreshes only when the user reloads the web page. If set to 60 secs. the web page will refresh with the ticker (I've not figured out how to refresh the block only) with is pretty annoying when typing - since the text you type will be deleted on refresh)

Well, I hope this helps you out - I can't really do better

Quote:
<?
/*
****************************
****************************
*Webpost2 for TeamSpeak 2 by Ryan Snook
*
*www.thzclan.com/snooknet
*(c) Copyright TeamCom Team, Ralf Ludwig, Niels Werensteijn
*
* All rights are reserved.
* Copying or other reproduction of this
*program except for archival purposes is prohibited
*without the prior written consent of TC-Team. ****************************
****************************
*/
include("pndb_inc.php");
clearinactive();

$tickermarg = 'topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"';
$tickerrefresh = '<meta http-equiv="Refresh" content="7200">';

if (isset($group)) {
$show = "WHERE server_ispname='$group'";
$link = "?showgroup=$group";

}
if (isset($name)) {
$show = "WHERE server_name='$name'";
$link = "?showgroup=";

}

$sql = query("SELECT * FROM $dbtable $show ORDER BY clients_current DESC LIMIT 1");

while ($data = mysql_fetch_row($sql)) {
if ($data[17] != '0') {
$online = 'on';
} else {
$online = 'off';
}
}

include("tpl_style.php");
?>

<table border="0" cellpadding="0" cellspacing="0" width="165" height="20">
<tr>
<td align="center" width="15"><a href="ts2/listing.php<?= $link ?>" target="_blank"><img src="ts2/images/<?= $online ?>.gif" alt="<?= $online ?>"></a></td>
<td valign="top">
<marquee direction="up" scrollAmount="1" style="width:144px; height:18px; border:0px solid white; padding:1px" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=1">
<table border="0" cellpadding="0" cellspacing="1" width="100%" bgcolor="<?= $bordercolor ?>" class="listfont">
<tr>
<td align="center" bgcolor="<?= $catrowcolor1 ?>" colspan="2" class="catagory" valign="middle"><b><a href="ts2/listing.php<?= $link ?>" target="spf_latest">TeamSpeak Servers</a></b></td>
</tr><?
$sql2 = query("SELECT * FROM $dbtable $show ORDER BY clients_current DESC");
while ($data2 = mysql_fetch_row($sql2)) {
if ($rowcolor == $rowcolor2) {
$rowcolor = $rowcolor1;
} else {
$rowcolor = $rowcolor2;
}

echo '
<tr>
<td align="center" bgcolor="'.$rowcolor.'" class="listing" nowrap><a href="ts2/listing.php?detail='.$data2[0].'" target="spf_latest">'.$data2[10].':'.$data2[11].'</a></td>
<td align="center" bgcolor="'.$rowcolor.'" class="listing">'.$data2[17].'</td>
</tr>';
}
?>

</table>
</marquee>
</td>
</tr>
</table>

</body>
</html>
Reply With Quote
  #11  
Old 24-03-2003, 23:10
Scankman Scankman is offline
-= TeamSpeak User =-
 
Join Date: Mar 2003
Location: OZ
Posts: 7
Scankman is on a distinguished road
perfect thanks for sharing that code will give it a try tonight :-)
Reply With Quote
  #12  
Old 21-02-2007, 02:24
Tomas's Avatar
Tomas Tomas is offline
-= TeamSpeak Addict =-
 
Join Date: May 2006
Location: Czech Rep.
Posts: 770
Tomas is infamous around these partsTomas is infamous around these partsTomas is infamous around these partsTomas is infamous around these parts
Send a message via ICQ to Tomas Send a message via Yahoo to Tomas Send a message via Skype™ to Tomas
few answers

well Linux is naturaly EVERY config files in /etc folder so for expample php.ini shoud try to find in /etc/php /etc/php.d /etc/apache /etc/httpd and other folder names! (it sometimes depends on distribution)
DO not change something in this folder /etc you DON'T KNOW ok ?!!!!!
so if I look on some school linux (CentOS) I see folder /etc/php.d and /etc/httpd/conf.d/php.conf (not favorite distribution)

I'm not sure about that "globals" settings ... I running PHP with safe_mode ON

so if you want try gllcTS2 ...
... you can
Reply With Quote
Reply


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 03:55.


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