Statistics are not showing up.

Issue #869 closed
Richard Hawkins created an issue

I have installed Piler on Ubuntu 16.10. It all seems to work very well except for the Stats. I is showing the graph but it is blank.

Nginx show this error when loading the page.

2018/01/02 09:05:35 [error] 1750#1750: *277 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: yMin in /var/www/html/system/helper/libchart/classes/view/axis/Bound.php on line 106 PHP message: PHP Notice: Undefined variable: yMin in /var/www/html/system/helper/libchart/classes/view/axis/Bound.php on line 109 PHP message: PHP Notice: Undefined variable: yMax in /var/www/html/system/helper/libchart/classes/view/axis/Bound.php on line 115" while reading response header from upstream, client: 172.16.96.60, server: piler.medctrbarbour.org, request: "GET /index.php?route=stat/graph&timespan=daily&uid= HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "piler.medctrbarbour.org", referrer: "http://piler.medctrbarbour.org/index.php?route=stat/stat&timespan=daily"

I am not sure but it may be something with php I am using. I install php-7 on this system.

Any ideas??

Comments (9)

  1. Richard Hawkins reporter

    Does it require any archiving rules? At the moment I don’t have any archiving rules. hmmm..

  2. Janos SUTO repo owner

    I didn't mention any archiving rules, they have nothing to do with the stats chart. Is there any other error related to the issue before 'Undefined variable: yMin' line?

  3. Richard Hawkins reporter

    Version 1.3.1

    I bet it has something to do with a config file. I was having to guess when I went to install this system with postinstall

    I think most of your examples shows all the webui in /var/piler/www mine is in /var/www/html

    Piler conf files are in /usr/local/etc/piler instead of /usr/local/etc

  4. Janos SUTO repo owner

    If the problem still persists, do the following. Get the master branch (see the downloads), but don't install it, rather put the webui directory under a virtualhost. Copy your current config.php (and probably config-site.php as well) to the virtualhost's documentroot, and check the statistics if they are shown properly.

  5. Log in to comment