Metin2 CMS Web Problem

12/21/2011 20:42 adri199#1
Hi, I recently installed a CMS web metin2, but I have a problem, the server statistics says that only mysql is online.
What can be?

Thanks;)


Status.php:
Code:
<font color="#3399FF">
<center>
<?php
        $serverip = "xxx.x.xxx.xx";
        $ip = gethostbyname($serverip);
        $portlist=array(3306,11002, 13003, 13000);
        $status=array("Mysql Server:", "Login Server:", "Char Server:", "World Server:");
        $i=0;

    foreach  ($portlist as $port){
    echo "".$status[$i]."";
        $online = @fsockopen($ip, $port, $errno, $errstr, 1);
    if (!$online)
    {
        echo "<font class=off> Offline</font>
			  <div class=sb-tren></div>"; 

    }
    else
    {
        echo "<font color=#669e33> Online</font>
		      <div class=sb-tren></div>"; 
    }
        @fclose($online);
        $i++;
    }  
	?>
	</center></font>
12/23/2011 14:41 iMaino#2
You have to change the ServerIP in the config.inc.php
12/23/2011 20:12 adri199#3
Quote:
Originally Posted by SpiderPig™ View Post
You have to change the ServerIP in the config.inc.php
The ip config.inc.php is already set and remains off, just say that this turned on Mysql.

Thanks.
12/24/2011 23:44 iMaino#4
Did you really change
Quote:
$serverSettings['server_ip']
or just
Quote:
DEFINE('SQL_HOST', '123.123.123.123')