Errors on admin panel

first line on admin panel

Warning: file_get_contents(/proc/meminfo): failed to open stream: No such file or directory in /web/htdocs/www.stefanotruzzi.it/home/emoncms/Modules/admin/admin_main_view.php on line 17

And this in server information section
Server Information

Notice: Undefined index: MemTotal in /web/htdocs/www.stefanotruzzi.it/home/emoncms/Modules/admin/admin_main_view.php on line 295 
Notice: Undefined index: MemFree in /web/htdocs/www.stefanotruzzi.it/home/emoncms/Modules/admin/admin_main_view.php on line 295 
Notice: Undefined index: Buffers in /web/htdocs/www.stefanotruzzi.it/home/emoncms/Modules/admin/admin_main_view.php on line 295 
Notice: Undefined index: Cached in /web/htdocs/www.stefanotruzzi.it/home/emoncms/Modules/admin/admin_main_view.php on line 295 
Notice: Undefined index: MemTotal in /web/htdocs/www.stefanotruzzi.it/home/emoncms/Modules/admin/admin_main_view.php on line 296 
Warning: Division by zero in /web/htdocs/www.stefanotruzzi.it/home/emoncms/Modules/admin/admin_main_view.php on line 296 
Notice: Undefined index: SwapTotal in /web/htdocs/www.stefanotruzzi.it/home/emoncms/Modules/admin/admin_main_view.php on line 300

Emoncms Version 9.7.7 | 2016.10.29

The /proc/meminfo call is trying to get Linux system memory info for the admin display page. What is the output when you run this command directly in your server? What sort of server is it?

@Andy_Taylor may have some more ideas.

Glyn

“Stable” doesn’t have the latest code in it for this; I added extra error checking a while back to solve these issues. (see PR#598).

However the Master branch looks like it has been re-written with an alternative solution. (see PR#600).

I’ll get current master branch merged into stable branch. It’s been proven
to be working well

  • sent from my mobile device

Emoncms V9.7.8 has been merged into stable branch: