WebStats BUG[SurvivalGames Plugin]
Moderators: Moderator ajutator, Moderator
- BANNED
- Status: Offline
- Posts: 723
- Registered for: 12 years 2 months
- 12
Salutare, am nevoie de ajutor... avem un bug la webstats pentru HungerGames.
Am setat bazele de date, am dat enable la webstats, nu stiu unde sa fi gresit.
Eroare: '.number_format($result2['games']).' games have been played by '.number_format($result['tplayers']).' players who have played '.number_format($result['tplayed']).' times for a total of '; $day = round($result['ttime']/ 86400000,2); echo $day . ' days in playing time and a total of '.number_format($result['tpoints']). ' points'; ?>
Link WebStats: http://surv.minecraft-romania.com/index.php
Am nevoie de un raspuns cat mai repede posibil!
Thx.
Am setat bazele de date, am dat enable la webstats, nu stiu unde sa fi gresit.
Eroare: '.number_format($result2['games']).' games have been played by '.number_format($result['tplayers']).' players who have played '.number_format($result['tplayed']).' times for a total of '; $day = round($result['ttime']/ 86400000,2); echo $day . ' days in playing time and a total of '.number_format($result['tpoints']). ' points'; ?>
Link WebStats: http://surv.minecraft-romania.com/index.php
Am nevoie de un raspuns cat mai repede posibil!
Thx.

- skill 0
- Status: Offline
- Posts: 44
- Registered for: 12 years 1 month
- 12
- Location: Bucuresti
Fi mai explicit , asta e eroarea care iti apare cand intrii pe pagina? Un screen? Poate postezi si codul.

- BANNED
- Status: Offline
- Posts: 723
- Registered for: 12 years 2 months
- 12
Da, asta este eroarea din josul paginii, intra si vei vedea. Link WebStats: http://surv.minecraft-romania.com/index.php
Codul il poti lua dand click pe 'Inspecteaza Element' daca ai GoogleChrome...
Codul il poti lua dand click pe 'Inspecteaza Element' daca ai GoogleChrome...
- skill 0
- Status: Offline
- Posts: 44
- Registered for: 12 years 1 month
- 12
- Location: Bucuresti
http://www.w3schools.com/php/func_string_echo.asp
Sper ca ai inteles ce ai de facut!
Difference of single and double quotes. Single quotes will print the variable name, not the value:
<?php
$color = "red";
echo "Roses are $color";
echo "<br />";
echo 'Roses are $color';
?>
Deci problema sunt semnele ' , vezi difererentele mai sus.The output of the code above will be:
Roses are red
Roses are $color
Sper ca ai inteles ce ai de facut!

Last edited by Andreis on 15 Mar 2013, 00:48, edited 2 times in total.

- BANNED
- Status: Offline
- Posts: 723
- Registered for: 12 years 2 months
- 12
Codul nu este facut de mine,e facut de double0negative... creatorul pluginului SurvivalGames.
Voi modifica eu pe parcurs tot ce trebuie,design,cod si celelalte.Prima data sa si mearga!
P.S: Daca vrei sa dai un ajutor zi exact la ce te referi, nu uita ca acolo este un cod intreg, nu pot modifica tot in cateva minute! Mai sunt si altii, inteleg la ce te referi,dar poate unii nu... asa ca da edit si spune ca la carte!
Voi modifica eu pe parcurs tot ce trebuie,design,cod si celelalte.Prima data sa si mearga!
P.S: Daca vrei sa dai un ajutor zi exact la ce te referi, nu uita ca acolo este un cod intreg, nu pot modifica tot in cateva minute! Mai sunt si altii, inteleg la ce te referi,dar poate unii nu... asa ca da edit si spune ca la carte!
- Fondator
- Status: Offline
- Posts: 3168
- Registered for: 14 years 1 month
- 14
- Location: Minecraft-Romania
- Contact:
Posteaza codul din index.php aici prin BBCODE SPOILER.
Citeste cu atentie :
- ai nevoie de ajutor la server-ul tau de MINECRAFT ? intri aici ajutor-server/
- ai nevoie de ajutor la MINECRAFT ? intri aici ajutor-joc/
- ceva in legatura cu server-ul nostru ? ai aici categoriile la toate serverele noastre minecraft-server/ !
respecta regulamentul.
- ai nevoie de ajutor la server-ul tau de MINECRAFT ? intri aici ajutor-server/
- ai nevoie de ajutor la MINECRAFT ? intri aici ajutor-joc/
- ceva in legatura cu server-ul nostru ? ai aici categoriile la toate serverele noastre minecraft-server/ !
respecta regulamentul.