No content was displayed

#2 · closed · 2 comments

View on GitHub ↗

flipphos

Hi, I tried your vnstat-php script on my VPS (Centos 6.9), which has Nginx: 1.12.1, MySQL: 5.5.36, PHP:5.5.38 as environment. The php-frontend only shows two lines with "Network Traffic" and "Hourly", and nothing else, as shown in the attached picture. I tried under Safari 11.0.2 and Firefox 57.0.1, same results. <img width="973" alt="default" src="https://user-images.githubusercontent.com/11366098/33945182-3e75e124-e059-11e7-87c6-3d69f5eedf90.png"> While vnstati gives the following picture: ![default](https://user-images.githubusercontent.com/11366098/33945359-c361f724-e059-11e7-8134-55e21dea808f.png)

Comments

DASPRiD

This is weird, any messages in the PHP/Nginx error log?

flipphos

Sorry for not replying you earlier. I was trying to solve this problem. It appeared that 'shell_exec" was disabled in the php.ini. I fixed it and now the script runs beautifully. Thank you very much for your prompt response and nice contribution!