I have two PHP blocks on the right hand side. One has a script that gets info about a TeamSpeak server and the other has a script that gets info about a game server. Occasionally, these boxes will show up twice, with one set displaying a bunch of errors and the other set displaying correctly.
Normally, this is the configuration:
Left-blocks -- Forum Announcements -- Right PHPboxes
When I get errors, this is the configuration:
Left-blocks -- Forum Announcements -- Error displaying PHPboxes -- Right PHPboxes
Any thoughts?
How is it put into the blocks? code?
I added two phpboxes via the TPadmin page, Edit Blocks section.
One has the following code:echo '<style type="text/css"> <!--
.cells {font-family: Verdana, arial, helvetica, serif; font-size:7px;cellpadding:0; color: #000000;}
.tinycells {font-family: Verdana, arial, helvetica, serif; font-size:6px;cellpadding:0; color: #000000;}
.headertext {font-family: Verdana, arial, helvetica, serif; font-size:8px;cellpadding:0; color: #000000}
.tinytext {font-family: Verdana, arial, helvetica, serif; font-size:6px;cellpadding:0; color: #000000;}
.statusbg {background: #EEEEEE;}
.statusheader {background: #BBBBBB;}
--> </style>';
$server_id="6994dcf4f3282b07be4fdd3b7e580c4b";
@readfile("http://www.osgrocks.com/voicestatus/remote.php?server=$server_id");
and the other has the following code:include("http://www.rfhq.com/hqq/etwq_inc.php?ip=206.123.68.77&port=27961");
Initally I can't see anything wrong..have you tried using them one-by-one ? To see which one creates errors?
It might be the second one...
Bloc, I just tested and it does seem to be the second block causing the problems, so I have changed that to just be a link that can be clicked when server info is needed.
Thanks for the help.
Anyone knows how to set the squery game server monitor block on Tinyportal. Like they also have on http://www.squery.com? I really don't get it ??? :( :)
Please do not hijack someone elses thread, and a search wouldn't hurt you either. :) In the block-codes board there is a snippet for the squery.