WEBStatsX

Discussion in 'Bukkit Tools' started by cynexit, Jan 18, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    pointfit

  2. Offline

    Lolmewn

    pointfit Try setting your prefix to Stats instead of stats.
     
    pointfit likes this.
  3. Offline

    pointfit

    Wow thanks a lot! But still getting the one box with an error
    http://sporecraft.com/stats/index.php
    Thanks a lot for the help
    Edit: Also some errors when you go the a certain players stats.
     
  4. Offline

    Lolmewn

  5. Offline

    pointfit

    Okay I'll wait for him then. Thanks a lot for your help though.

    Btw, here is the error (they all look something similar to this):

    Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in stats\stats_web_core\classes.php on line 58
    Error! No user with given name "pointfit"!

    And here is my line 58-59:

    if(mysqli_num_rows($res) < 1){
    echo 'Error! No user with given name "'.$player.'"!';

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  6. Offline

    cynexit

    Sounds like this is the problem, the program can't find a player with the name "pointfit" in the table. ;)
    Please check your database manually and take a look in your "Stats_player" table to see if there is a row for the player "pointfit".
     
  7. Offline

    pointfit

    Well now I'm getting a 500 (Internal Server) Error and I didn't change any setting in the files. Anyway to fix that? www.sporecraft.com/stats

    But before the 500 error, it was showing that error for all players, not just pointfit. But I'll look into the database manually. Thanks for the help.
     
  8. Offline

    cynexit

    That would indicate that maybe it was selecting the wrong table, pls check if the plugin maybe created multiple tables and make sure you have chosen the right prefix. :)
     
    pointfit likes this.
  9. Offline

    pointfit

    Got it to work, thanks a lot for your help

    One last thing, I promise. Every player on the page says that they are online (except ops) when they are not online.
    http://sporecraft.com/stats/index.php
    I'm guessing this is an easy fix, thanks.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  10. Offline

    Fuusko

    I need help with this.. tried everything to try to get it to work but no luck...

    http://fezz.no-ip.org/stats <--- some parts of the stats show (be patient, takes 30sec+ to load)
    http://fezz.no-ip.org/stats/check.php <--- weird error
    http://pastebin.com/z7u7Dpnp <--- config.php

    Examples of what I have tried/checked:
    + Prefix is correct (stats_)
    + Deleted all tables and recreated them in case of error.
    + Deleted all WebstatsX files and reinstalled it in case I made a mistake somewhere.
    + Created a new database solely for stats, that didn't change anything so I switched back to my main db: minecraft.
    + All tables are latin1 and correctly created: stats_block, stats_death, stats_kill, stats_move, stats_player.
    + Restarted mysql and webserver (WAMP)
    + Asked lolmewn for help, he looked at it all but could not find a solution.

    HALP ^~^
     
  11. Offline

    shoter

    I just installed stats plugin and the website interface at alison-mc.info I get no errors and such but it doesnt seem to be updating
     
  12. Offline

    Lolmewn

  13. Offline

    shoter

  14. Offline

    Lolmewn

    Simply means PHP doesn't know how to read it because *somewhere* *something* is wrong in the file.
     
  15. Offline

    shoter

    could it be because of permissions ? I am using linux ubuntu by the way I didn't edit any files other than config with my database info


    FIXED
     
  16. Offline

    jusobreira

    do you have any idea why i put my server ip and the page stop to work?
     
  17. Offline

    cynexit

    Seems like you fixed it, I can't see an error :)

    Maybe your host does not allow sockets? Try to add these lines to your config and check the site again for displayed errors.
    PHP:
    error_reporting(E_ALL);
    ini_set('display_errors''1');
     
  18. Offline

    O Velho

    Hi! I just installed this amazing plugin, but I'm having an
    "DIVISION BY ZERO IN /HOME/...../HEADER.PHP ON LINE 121" error.


    How can I fix it, please?

    Thanks in advance
     
  19. Offline

    Lolmewn

  20. Offline

    mclordcraft

    Hey Ive just put your webstats on my site and when i click on players it just says processing and that's it nothing else happens any ideas.
     
  21. Offline

    Lolmewn

  22. Offline

    mclordcraft

    Lolmewn Config fine syntax errors doesn't say anythingg
     
  23. Offline

    Lolmewn

    mclordcraft Means you have syntax errors somewhere in there. Please paste your config using something like pastebin.
     
  24. Offline

    97WaterPolo

    Any idea when McMMO support will come out with v2 of this?

    cynexit
     
  25. Offline

    Lolmewn

  26. Offline

    97WaterPolo

  27. Offline

    cynexit

    There was a break in development due to some important work (job & university), I'll continue to work on it from 04.08 on. The plan is to release the first beta version on 11.08., hope this helps. :)
     
    97waterpolo likes this.
  28. Offline

    chubykid3

    Hello,
    Recently, suddenly, I was on my stats page and clicked on the players button, and this popped up:
    http://gyazo.com/50a624f7a062de5197ef2ce7cbd0238b.png

    I have tried re-installing WebstatsX and I made sure my plugin is updated.
    If someone can help me, I'd be very thankful!
     
  29. Offline

    gerardvanschip

    Hi. I just installed this, configured my config.php, ran check and it failed on line 69

    Fatal error: Call to undefined function curl_init() in /check.php on line 69

    Tried to Google the error but its very generic so not finding much Minecraft related.

    Anyone ever seen this error before?
     
  30. Offline

    Sharkykzn

    Amazing development, Tnx.

    What is needed to display the server stats (Beta). Think I may be overlooking something.
     
Thread Status:
Not open for further replies.

Share This Page