Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 29 2020 11:22
    AndusDEV closed #111
  • Dec 23 2020 22:54

    robinp7720 on master

    BlueStats is no longer under ac… (compare)

  • Nov 14 2020 20:39
    JoshBecconsall commented #111
  • Nov 05 2020 12:50
    AndusDEV opened #111
  • Apr 29 2020 16:07
    SentinelCraft opened #110
  • Jan 05 2020 15:00
    ntimo closed #55
  • Aug 05 2019 06:06
    ChickensBurning opened #109
  • Jun 02 2019 08:21
    lukeeexd commented #108
  • Jun 01 2019 23:37
    robinp7720 commented #108
  • May 31 2019 12:08
    lukeeexd commented #108
  • May 31 2019 03:46
    spannerman79 commented #108
  • May 30 2019 22:08
    lukeeexd commented #108
  • May 30 2019 21:31
    lukeeexd commented #108
  • May 30 2019 21:19
    lukeeexd commented #108
  • May 30 2019 13:26
    lukeeexd commented #108
  • May 30 2019 12:39
    robinp7720 commented #108
  • May 30 2019 12:07
    lukeeexd commented #108
  • May 30 2019 12:01
    robinp7720 closed #108
  • May 30 2019 12:00
    robinp7720 commented #108
  • May 30 2019 12:00
    robinp7720 labeled #108
adamwbb
@adamwbb
Zeyphros
@robinp7720
And BlueStats is installed in the webserver root?
adamwbb
@adamwbb
yes
my webserver root is /opt/lampp/htdocs
Zeyphros
@robinp7720
then try open http://localhost/ajax/?call=allPlayers in your browser
With the correct hostname
adamwbb
@adamwbb
<br />
<b>Notice</b>: Use of undefined constant DEBUG - assumed 'DEBUG' in <b>/opt/lampp/htdocs/classes/plugin/plugin.php</b> on line <b>78</b><br />
{"info":{"url":"http:\/\/172.106.203.66\/player\/{UUID}\/"},"data":[{"id":1,"name":"adamwbb","uuid":"19a20ddc-b47e-4664-a156-e426685568c8"},{"id":3,"name":"joshuastgermaine","uuid":"521143c9-4ba4-4a35-ab45-dc2046ccf454"}]}
Zeyphros
@robinp7720
ah
just add define('DEBUG', FALSE); after the <?php in ajax/index.php to fix this
alternatively you can do a git pull
adamwbb
@adamwbb
Parse error: syntax error, unexpected ',' in /opt/lampp/htdocs/ajax/index.php on line 2
Zeyphros
@robinp7720
You probably forgot to copy the ;
adamwbb
@adamwbb
i got that i there
<?php
('DEBUG', FALSE);
$appPath = __DIR__ . "/..";
Zeyphros
@robinp7720
you forgot the define
adamwbb
@adamwbb
ok itw workign now
Zeyphros
@robinp7720
awesome
adamwbb
@adamwbb
is there a way to set it to look like the webstatsx slate theme
slate is the dark theme of webstatsx
Zeyphros
@robinp7720
replace <link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/spacelab/bootstrap.min.css" rel="stylesheet" integrity="sha384-L/tgI3wSsbb3f/nW9V6Yqlaw3Gj7mpE56LWrhew/c8MIhAYWZ/FNirA64AVkB5pI" crossorigin="anonymous"> with <link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/slate/bootstrap.min.css" rel="stylesheet" integrity="sha384-RpX8okQqCyUNG7PlOYNybyJXYTtGQH+7rIKiVvg1DLg6jahLEk47VvpUyS+E2/uJ" crossorigin="anonymous"> in themes/webstatsx/global.html
adamwbb
@adamwbb
thanks.
Zeyphros
@robinp7720
Glad I could help :)
NHDriver4
@NHDriver4
Hey what's up guys! I just installed the latest dev and everything went great until "Base plugin does not exist:
Please install this plugin or change the base plugin". Any idea's on what might be causing this? I only setup the blue stats and statz databases in setup.
I found this following query above in chat, however now I just get a blank page. INSERT INTO BlueStats_config (row_id, server_id, option, plugin, value) VALUES (NULL, '1', 'base_plugin', 'BlueStats', '\"Statz\"');
NHDriver4
@NHDriver4
Got it working. Had to scroll up more for missing config fix snippet
Thanks!
hinovejas
@hinovejas
Hello! Bluestats looks like something amazing, but I can't seem to get it to work after many attempts. I'm installing it in linux using up to date software. I've tried using mysql, php7, and even tried switching from nginx to apache2, but every time after finishing the install succesfully I just get a blank page. going into /admin works and it seems all my URLs are pointing to the right locations.
Zeyphros
@robinp7720
give me the last five lines of your webserver error log. This should be located in /var/log/apache/error_log or in /var/log/httpd/error_log
@hinovejas
Zeyphros
@robinp7720
Turing on debug mode in index.php may give some more information to figure out whats going wrong
hinovejas
@hinovejas
here's whats showing in the log:
[Mon Nov 06 08:02:46.045215 2017] [:error] [pid 5379] [client 50.24.90.35:44272] PHP Notice: Undefined index: plugin in /var/www/html/admin/advanced/parts/plugins.php on line 46, referer: http://50.24.90.35:8080/admin/index.php
[Mon Nov 06 08:05:46.339867 2017] [:error] [pid 2085] [client 50.24.90.35:44328] PHP Notice: Undefined index: plugin in /var/www/html/admin/advanced/parts/plugins.php on line 46, referer: http://50.24.90.35:8080/admin/
[Mon Nov 06 08:17:38.793861 2017] [:error] [pid 5379] [client 50.24.90.35:44502] PHP Notice: Undefined index: plugin in /var/www/html/admin/advanced/parts/plugins.php on line 46, referer: http://50.24.90.35:8080/admin/?page=look
[Mon Nov 06 21:52:21.850771 2017] [:error] [pid 2085] [client 188.95.251.28:44076] script '/var/www/html/ip4.php' not found or unable to stat
[Tue Nov 07 01:41:55.644344 2017] [:error] [pid 5379] [client 50.24.90.35:46252] PHP Notice: Undefined index: plugin in /var/www/html/admin/advanced/parts/plugins.php on line 46, referer: http://50.24.90.35:8080/admin/index.php
Zeyphros
@robinp7720
@hinovejas sorry for the 4 day wait. Those errors aren't the reason as to why BlueStats isn't rendering anything
Debug mode may display some more errors
The problem may just be that the theme is incorrectly set
Oestle
@Oestle
has anyone here set up Bluestats on a docker container before? Couldn't get it to work so far... apart from apache2, php libapache2-mod-php, mysql-client, php-mysql, php-mysqlnd, php-curl any other dependencies i need to install? All i get when accessing it through a browser is a blank white page. No entry in the apache error log, just an error 500 in the apache access log. When trying to access a page like highscores/ i get a 404 not found. /admin Portal works though...
Zeyphros
@robinp7720
@Oestle You can try turning on debug mode in index.php
Oestle
@Oestle

excellent, thank you. First error i got was for the minecraft server query, after setting a correct address there what i'm getting now is:

Warning: mkdir(): No such file or directory in /web/classes/cache.class.php on line 25

Warning: file_put_contents(/Library/Server/Web/Data/Sites/Minecraft_Stats/cache/e251273eb74a8ee3f661a7af00915af1.json): failed to open stream: No such file or directory in /web/classes/cache.class.php on line 32

And yes, that cache file does not exist, but why is it looking for it...? And no, this is not a fresh install of bluestats, because i'm trying to port my already running one to docker. But when i tried to do a fresh install just now, i also get the error:

The requested URL /install/ was not found on this server.

after clicking on install. Am i missing anything obvious? :D

Oestle
@Oestle
ok, my bad, the cache directory was set wrong as well, but after correcting this i again get a blank page only, even in debug mode :D
Oestle
@Oestle
after "a2enmod rewrite action" i get through the initial install, then after deleting the install folder i get the same blank page again, something still seems to be missing
Oestle
@Oestle
ok, i got it. Problem was some missing php modules.
Podzify
@Podzify
Hello. I have basic experience in web site setups, I'm trying to install BlueStats on my own Ubuntu server, I've gotten to the /install page but I haven't any idea on which details to fill. If I'm supposed to create a new BlueStats database (the first one of the 6 settings groups displayed), then when trying localhost/admin/admin I get " BlueStats database connetion error: Access denied". Please help, this seems like a very basic problem.
narboledab
@narboledab
Hi!!
Is anyone connected? I hace a problem with the page allPlayers
It doesn't show any player
Is the only thing that is not working on the interface
narboledab
@narboledab
Don't worry, is working now, thanks anyways :)
lukeeexd
@lukeeexd
Are people still active here? I'm getting base plugin not installed error. Seen the issue on it, tried the fixinstall.php thing but shows blank page
OrthyonMC
@OrthyonMC_twitter
hi
base plugin error
how to fix xthat