Website

04/02/2017 07:02 yazuka21#16
Quote:
Originally Posted by flyffdev View Post
go to xinc_functions.php

and check the funcion of


Code:
	function checkServerState($port, $ip = '127.0.0.1') {
		if(@fsockopen($ip, $port, $errno, $errstr, 0.15) >= 0.15) {return '<span class="green">Online</span>';} 
		else {return '<span class="red">Offline</span>';}

Change the IP and DONE ^_^

Thanks here Jin-san my next problem is why there's Zero"0" Online when you checked on website.. ?
04/02/2017 09:21 flyffdev#17
im not Jin-san Pro Developer Nadela, Im Jonas
04/02/2017 09:44 yazuka21#18
Quote:
Originally Posted by flyffdev View Post
im not Jin-san Pro Developer Nadela, Im Jonas
Sorry Master but could you help me about this problem ?
04/02/2017 19:30 flyffdev#19
Check the function of:

$_CONFIG['allg_user_online'] = @[Only registered and activated users can see links. Click Here To Register...]c_result @[Only registered and activated users can see links. Click Here To Register...]c_exec($odbc_connect, 'SELECT COUNT([MultiServer]) as OnlineCount FROM [' . $_CONFIG['db_databases']['chr'] . '].[dbo].[CHARACTER_TBL] WHERE [MultiServer] > 0'), 'OnlineCount');




maybe you have a different DATABASE so try to make your own function of Online count