Stránka 1 z 4

pomozte uz fakt (banlist)

Napsal: 29 bře 2012, 19:21
od Machete
Ja uz fakt neviem co mam robit vsetko je nastavene a stale ten error presvedcte sa sami:

http://uranus.4fan.cz/banlist.php

CONFIG VO FTP:

Kód: Vybrat vše

mysql: false
mysql-database: 'jdbc:mysql://localhost:3306/gs_37344_1'
mysql-user: 'gs_37344_1'
mysql-password: 'hhhhhhh'
mysql-table: banlist
mysql-table-ip: banlistip
auto-complete: true

messages:
    banMsgFailed: "&cPlayer &e%victim% &cis already banned!"
    unbanMsg: "&aSuccessfully unbanned player &e%victim%&a!"
    unbanMsgGlobal: "&e%victim% &6was unbanned by &e%player%&6!"
    unbanMsgFailed: "&cFailed to unban &e%victim%&c!"
    kickAllMsg: "%player% kicked everyone. Reason: %reason%"
    kickMsgVictim: "You have been kicked by %player%. Reason: %reason%"
    kickMsgBroadcast: "&e%victim% &6was kicked by &e%player%&6. Reason: &e%reason%"
    kickMsgFailed: "&cKick failed: &6%victim% &cisn't online."
    banMsgVictim: "You have been banned by %player%. Reason: %reason%"
    banMsgBroadcast: "&e%victim% &6was banned by &e%player%&6. Reason: &e%reason%"
    tempbanMsgVictim: "You have been temp. banned by %player%. Reason: %reason%"
    tempbanMsgBroadcast: "&e%victim% &6was temp. banned by &e%player%&6. Reason: &e%reason%"
    LoginTempban: "&cYou are banned until &e%time%&c! Reason: &e%reason%"
    LoginBan: "&cYou are banned from this server! Reason: &e%reason%"
    LoginIPBan: "&cThis IP is banned!"


BANLIST.PHP


Kód: Vybrat vše

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<body>
<?php

// change these things

   $server = "echo.fakaheda.eu";
   $dbuser = "gs_37344_1";
   $dbpass = "hhhhhhhh";
   $dbname = "gs_37344_1";
   
mysql_connect($server, $dbuser, $dbpass);
mysql_select_db($dbname);

$result = mysql_query("SELECT * FROM banlist ORDER BY time DESC");

echo "<table width=70% border=1 cellpadding=5 cellspacing=0>";

echo "<tr style=\"font-weight:bold\">
<td>Prezdivka hrace</td>
<td>Duvod zabanovani</td>
<td>Zabanovan Adminem</td>
<td>Kdy byl ban udelen</td>
<td>Kdy ban vyprsi</td>
</tr>";

while($row = mysql_fetch_assoc($result)){

if($col == "#eeeeee"){
$col = "#ffffff";
}else{
$col = "#eeeeee";
}
echo "<tr bgcolor=$col>";

echo "<td>".$row['name']."</td>";
echo "<td>".$row['reason']."</td>";
echo "<td>".$row['admin']."</td>";
echo "<td>".$row['time']."</td>";
if($row['temptime'] == "0000-00-00 00:00:00"){
echo "<td>Permanent</td>";
}else{
echo "<td>".$row['temptime']."</td>";
}

echo "</tr>";
}

echo"</table>"

?>
Ban database provided by <a href="http://forums.bukkit.org/threads/admn-kiwiadmin-v2-0-kick-temp-ban-unban-mysql-and-flatfile-670.1681/">KiwiAdmin</a>.
</body></html>


pomozte vsetko je dufam ok IP: 93.91.250.114:37344

Re: pomozte uz fakt (banlist)

Napsal: 29 bře 2012, 19:29
od Mysteria
Pošli mi do PM heslo do databáze ($dbpass = "hhhhhhhh";). Vyzkouším to u sebe, podle mě to máš OK.

Re: pomozte uz fakt (banlist)

Napsal: 29 bře 2012, 19:31
od Vojko

Kód: Vybrat vše

mysql: false


Daj true

Re: pomozte uz fakt (banlist)

Napsal: 29 bře 2012, 19:32
od Machete
Vojko píše:

Kód: Vybrat vše

mysql: false


Daj true


skusal som nepomohlo a davam to heslo....

Re: pomozte uz fakt (banlist)

Napsal: 29 bře 2012, 19:33
od Vojko
Rozhodne tam nemôže byť false ;)

Re: pomozte uz fakt (banlist)

Napsal: 29 bře 2012, 19:35
od Machete
Vojko píše:Rozhodne tam nemôže byť false ;)

oki oki ale tak ci tak to neslo

Re: pomozte uz fakt (banlist)

Napsal: 29 bře 2012, 19:37
od Vojko
To echo.fakaheda.eu je určite dobre ?

Re: pomozte uz fakt (banlist)

Napsal: 29 bře 2012, 19:42
od Mysteria
Taktéž mi to nejde pro echo.fakaheda.eu. Z nějakého důvodu se to vždy místo na echo.fakaheda.eu snaží připojit na localhost. => http://mysty.cz/test.php

Kód: Vybrat vše

  $Server = "echo.fakaheda.eu";
          $Uzivatel = "gs_37344_1";
          $Heslo = "*****";
          $NazevDatabaze = "gs_37344_1";

Zajímavé ale je, že pro jiný server (bruce.fakaheda.eu) to jde v pohodě => http://mysty.cz/banlist

Kód: Vybrat vše

 $Server = "bruce.fakaheda.eu";
          $Uzivatel = "gs_27886_1";
          $Heslo = "*****";
          $NazevDatabaze = "gs_27886_1";

Přitom ty CFG jsou stejné.

Re: pomozte uz fakt (banlist)

Napsal: 29 bře 2012, 19:44
od Machete
?? co teraz ? moje je urcite echo ja som pozeral do emailu este ked som ho mal :D no ale co mam robit ? :(

Re: pomozte uz fakt (banlist)

Napsal: 29 bře 2012, 19:45
od Mysteria
Počkej, než to vyřešíme s adminama.