• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows Need Help With Homepage Error !

Mestor

Active Member
Joined
Feb 1, 2009
Messages
515
Reaction score
35
Location
Sweden
Hey! I am using TFS 0.3.6 and I got a "bugg"/Error on my homepage. It say that the server is offline... ( I went too layout.lua and changed text offline to: Online colour green) <- done that so ppl dont think its off.

But when you press on it it still say: Server Status
Currently no one is playing on Marabou.

Need Help! ::blink:
 
Now it Works

Ok now it works when i press on online.. now i can see who is online... But I want like it was before.. now its only green text "online" but I want that it going too be.. X Players online
 
open config-and-fuctions.php from (gesior site) www/config-and-fuctions.php, open it and search for it
PHP:
$sock = @fsockopen($config['server']['ip'], $config['server']['statusPort'], $errno, $errstr, 1);
and change for this "fix you ip"
PHP:
$sock = @fsockopen("188.147.2.11", $config['server']['statusPort'], $errno, $errstr, 1);

rep+ if that working =)
 
tried that :(

tried with
127.0.0.1
localhost
(public ip) :S


Getting this error when I press on whoisonline


Warning: file_put_contents(cache/whoisonline-name-1.tmp) [function.file-put-contents]: failed to open stream: Permission denied in whoisonline.php on line 58
 
Last edited:
Think that worked, atleast he message disappeared, gonna see if I can see who is online :p

It worked after I changed a few stuff but Ill still rep++ you thank you :)
 
Last edited:
Back
Top