-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
errors #52
Comments
I don't think this branch works well with vnstat 2.x yet. I have a version here that works for me: Feel free to try it |
@tomangert Hi, I've tried both this one and your version and none of them work. They fail with error that @e4e6 reported. |
What vnstat version are you using? I am running with 2.6 and tested with several older versions. Maybe newer versions changed something. |
@tomangert I've installed vnstat into the running container and worked fine. |
Yes vnstat has to be installed separately. Rpm, deb, source, whatever works for you. Then set $vnstat_bin_dir to point to the executable in include/config.php |
Try your your version,still not work.The error show :Fatal error: Uncaught Exception: JSON is invalid in /var/www/html/includes/vnstat.php:60 Stack trace: #0 /var/www/html/includes/vnstat.php(44): vnStat->processVnstatData('') #1 /var/www/html/index.php(27): vnStat->__construct('/usr/bin/vnstat') #2 {main} thrown in /var/www/html/includes/vnstat.php on line 60 |
Fatal error: Uncaught Exception: JSON is invalid in /var/www/html/includes/vnstat.php:60 Stack trace: #0 /var/www/html/includes/vnstat.php(44): vnStat->processVnstatData('') #1 /var/www/html/index.php(27): vnStat->__construct('/usr/bin/vnstat') #2 {main} thrown in /var/www/html/includes/vnstat.php on line 60
The text was updated successfully, but these errors were encountered: