Stránka 1 z 3

Statistician

Napsal: 08 dub 2012, 16:54
od Arcas
Ahoj. Mám problém s pluginem Statistician. Na serveru 93.91.250.112:27517 všechno funguje hladce, krásně se mi vytvářejí statistiky. V okamžiku kdy nastavím statistiky pro 93.91.240.151:27934 okamžitě vypisuje toto :

Statistician Web Interface could not acquire connection to Database

Webové rozhraní pluginu je nastavené takto :


Kód: Vybrat vše

<?php
    // This file should be updated with your Database Configuration
    // as well as other optional data

    define('DB_SERVER'   , 'kilo.fakaheda.eu');
    define('DB_USER'     , 'gs_27934_1');
    define('DB_PASSWORD' , 'heslomysql');
    define('DB_NAME'     , 'gs_27934_1');
    define('DB_PORT'     , 3306);

    define('SERVER_NAME', 'Relicted-x AppleCraft');
    define('CLOCK24', true); // true = 24 hours; false = 12 hours

    define('USE_MEGAMETERS', true);
    define('USE_SKINVIEWER', true);

    // Set your localization (language)
    define('LOCALE', 'en'); 
?>



Kde je problém?

Re: Statistician

Napsal: 08 dub 2012, 17:12
od Vojko
Tu:

Kód: Vybrat vše

    define('DB_PORT'     , 3306);


Chýba ti ", takže takto:


Kód: Vybrat vše

    define('DB_PORT'     , '3306);

Re: Statistician

Napsal: 08 dub 2012, 17:16
od Arcas
Provedeno

Parse error: syntax error, unexpected T_STRING in /home/users/gam/relicted-x.com/web/stats2/statistician/config.php on line 11

Re: Statistician

Napsal: 08 dub 2012, 17:19
od Arcas

Kód: Vybrat vše

<?php
    // This file should be updated with your Database Configuration
    // as well as other optional data

    define('DB_SERVER'   , 'kilo.fakaheda.eu');
    define('DB_USER'     , 'gs_27934_1');
    define('DB_PASSWORD' , '******');
    define('DB_NAME'     , 'gs_27934_1');
    define('DB_PORT'     , '3306);

    define('SERVER_NAME', 'Relicted-x AppleCraft');
    define('CLOCK24', true); // true = 24 hours; false = 12 hours

    define('USE_MEGAMETERS', true);
    define('USE_SKINVIEWER', true);

    // Set your localization (language)
    define('LOCALE', 'en'); 
?>

Re: Statistician

Napsal: 08 dub 2012, 17:21
od Arcas
Tak ta čárka tam být nemůže - když je jenom před dělá to :

Parse error: syntax error, unexpected T_STRING in /home/users/gam/relicted-x.com/web/stats2/statistician/config.php on line 11

a když je to před i za tak to dělá to co na začátku...

Jinak, config na druhém serveru to mám stejně a funguje to taky.

Re: Statistician

Napsal: 08 dub 2012, 17:26
od Vojko
Oj, nie, sorry.
Má to byť tak, ako si to mal, takže takto:
Máš určite dobre kilo.fakaheda.eu ?

Kód: Vybrat vše

<?php
    // This file should be updated with your Database Configuration
    // as well as other optional data

    define('DB_SERVER'   , 'kilo.fakaheda.eu');
    define('DB_USER'     , 'gs_27934_1');
    define('DB_PASSWORD' , '******');
    define('DB_NAME'     , 'gs_27934_1');
    define('DB_PORT'     , 3306);

    define('SERVER_NAME', 'My Minecraft World Stats');
    define('CLOCK24', true); // true = 24 hours; false = 12 hours

    define('USE_MEGAMETERS', true);
    define('USE_SKINVIEWER', false);

    // Set your localization (language)
    define('LOCALE', 'en'); 
?>

Re: Statistician

Napsal: 08 dub 2012, 17:27
od Arcas
no server bezi na ip 93.91.140.151 coz jsem si nasel jako kilo.fakaheda.eu a potvrdila mi to stranka s info o DNS zaznamech...

Re: Statistician

Napsal: 08 dub 2012, 17:28
od Arcas
Nefunguje...

Re: Statistician

Napsal: 08 dub 2012, 17:30
od Vojko
Skús ešte raz nahrať ten WebPortal na FTP.
Prípadne mrkni do MySQL, či tam aspoň ten Stats vytvoril tabuľky.

Re: Statistician

Napsal: 08 dub 2012, 17:37
od Arcas
Tabulky se vytvorily. WebInterface znova nahran ale neuspech pri nacitani stale trva.


Statistician Web Interface could not acquire connection to Database