WEBStatsX

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

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

    LordKitsuna

    it says No issues found. Any other ideas? is there a certain php module needed or something? I tried grabbing the most recent version and putting those on and redoing the config but same thing.
     
  2. Offline

    cynexit

    php curl would be very helpful to get the complete output of the check file (so we could see if everything is okay with the database connection).

    EDIT: If u run your server with ubuntu it is as simple as
    Code:
    sudo apt-get install php5-curl
     
    sudo service apache2 restart
    #or
    sudo apache2ctl restart
    (but there should also be a package for yum/pacman/aptitude on all common distris)
     
  3. Offline

    LordKitsuna

    Alright i installed it best part is it says all green on check.php so now i am even more confused
     
  4. Offline

    cynexit

    Well, no, it seems to "crash" when it comes to the database checks. This is what it should look like: http://webstatsx.cynexit.com/check.php
    So check your database connection, make sure the webserver can connect to the mysql server, after that check that the user and password is valid.
     
  5. Offline

    LordKitsuna

    How can i check that the webserver is connecting properly? i already have the settings right i am 100% sure of that as stats is logging properly in game and it has the exact same settings.
     
  6. Offline

    Adriani6

    Open the file called check.php
     
  7. Offline

    Lolmewn Retired Staff

    LordKitsuna Looks like you have no connection to the database. The check.php terminates sooner than expected, right when it was checking the database connection (or at least, I think).
     
  8. Offline

    cynexit

    First guess (since php-curl wasn't installed), is php-mysqli / php-mysqli installed?
     
  9. Offline

    LordKitsuna

    Suddenly it works! lol thanks that was the thing that was missing. I was on IIS winserver 2012 and it had just kinda worked. I have used debian for webhosting in the past but never anything interactive like this all static pages.

    i guess while i am here i should ask, anyone have any idea why all my players constantly show as online?

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

    Lolmewn Retired Staff

    Try setting the config value with the 'fix' to true.
     
  11. Offline

    LordKitsuna

    Alright so i set that, restarted the server. And gave it some time to update. Seems to still be stuck on saying everyone but me is online. Oddly enough my player shows offline constantly now.
     
  12. Offline

    Lolmewn Retired Staff

    LordKitsuna it's a bug caused by offline mode, it's really weird.
     
  13. Offline

    TNTUP

    Mind if I change Minotar's URL image to RightAwake's URL instead (My webserver)? Where I can change those values =)
     
  14. Offline

    Lolmewn Retired Staff

    Sure, no problem. Not sure where they're generated (/me pokes cynexit)
     
  15. Offline

    MysteryManX

    I'm still confuzzled on why my Stats page turns out like this...

    stats.png


    This is after 5-10 minutes of inactivity.
     
  16. Offline

    Lolmewn Retired Staff

    MysteryManX Are you in offline-mode? It has issues.
     
  17. Offline

    MysteryManX

    Nope. I followed EVERY instruction provided by you, and this thread.
     
  18. Offline

    Lolmewn Retired Staff

    Meh, probably just a bug then. I know this happens a lot in offline mode environments, never seen it happen in online-mode though.. /me puts on inspector hat.
     
  19. Offline

    MysteryManX

    /eco give Lolmewn 1000000

    Now be a good boy and fix it, or I want a refund xD

    I feel like I'm the only one with this problem :(
     
  20. Offline

    Lolmewn Retired Staff

    MysteryManX Oh but you're not. It used to be the other way around (everyone appearing as offline), but now it seems to have switched for some reason...
     
  21. Offline

    LordKitsuna

    Yeah im not in offline mode either (afaik its not possible to use offline mode anymore with bukkit but i could be wrong) so i am not sure whats wrong.
     
  22. Offline

    Lolmewn Retired Staff

    Just a bug in my plugin, I don't even know myself either!
     
  23. Offline

    jakesully

    Nvm found wat causing the site to give error it was prefix that was wrong :)

    got a new problem which is status on player :/ it says i'm offline when i'm not :( any clue how to fix this problem?

    i got another problem that the web stats wont log few players :/
     
  24. Offline

    kitez


    i have problem like this, my player page and server status isn't working. i checked the server, curl and socket support enabled. there's data in Stats_player

    i'm using debian, the latest stats and webstatsx. could you tell me how to solve this problem?

    thank you for your help... :)
     
  25. Offline

    Lolmewn Retired Staff

  26. Offline

    kitez

    thank you for your help and fast response, sorry for keep you waiting.

    here is my player page looks like

    Show Spoiler

    [​IMG]


    it doesn't show anything.

    and this is after i follow your suggestion

    Show Spoiler

    [​IMG]


    and then i check my config.php. here is my config.php

    Show Spoiler

    [​IMG]


    i guess there's nothing wrong from my config.
     
  27. Offline

    Lolmewn Retired Staff

    kitez Try running it through a parser.
     
  28. Offline

    kitez

    ok, my problem is fixed. thank you very much for your help :)

    i was uncomment this syntax in classes.php to debug, and then the problem was come out.

    #error_reporting(E_ALL);
    #ini_set('display_errors', '1');

    it was because my server ip, my server is behind NAT. so i guess that's the problem. and for the player page it was because some code in footer.php that i changed.

    once again thank you very much for your help, hope this will help others :).

    btw, this webstatsx is great, it's very useful.
     
  29. Offline

    pointfit

    http://sporecraft.com/stats/

    ^Errors I'm getting :(
    Can someone help please? I'm sure I put the correct info in the config.php
    The in game plugin seems to be working fine though.
     
  30. Offline

    Lolmewn Retired Staff

Thread Status:
Not open for further replies.

Share This Page