$statusInfo = new ServerStatus($config['server']['ip'], $config['server']['statusPort'], 1);
$statusInfo = new ServerStatus('127.0.0.1', $config['server']['statusPort'], 1);
it has 531 lines but I think that you need these line:Post your layout.php
<?PHP
if($config['status']['serverStatus_online'] == 1)
echo $config['status']['serverStatus_players'].'<br />Players Online';
else
echo '<font color="red"><b>Server<br />OFFLINE</b></font>';
?></div>
</div>
$statusInfo = new ServerStatus('127.0.0.1', $config['server']['statusPort'], 1);
$statusInfo = new ServerStatus('127.0.0.1', 7171, 1);
where is this line?Undefined statusPort, Change
toCode:$statusInfo = new ServerStatus('127.0.0.1', $config['server']['statusPort'], 1);
Code:$statusInfo = new ServerStatus('127.0.0.1', 7171, 1);
system/load.compat.php#L254where is this line?
Thank you, solved my problem.Undefined statusPort, Change
toCode:$statusInfo = new ServerStatus('127.0.0.1', $config['server']['statusPort'], 1);
Code:$statusInfo = new ServerStatus('127.0.0.1', 7171, 1);