# Errors on admin panel

**URL:** <https://community.openenergymonitor.org/t/errors-on-admin-panel/2305>\
**Category:** Emoncms\
**Created:** [24 November 2016 16:11 UTC](https://community.openenergymonitor.org/t/errors-on-admin-panel/2305 "2016-11-24T16:11:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefano\_Truzzi](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/stefano_truzzi/32/11861_2.png) [@Stefano\_Truzzi](https://community.openenergymonitor.org/u/Stefano_Truzzi)\
**Post date:** [24 November 2016 16:11 UTC](https://community.openenergymonitor.org/t/errors-on-admin-panel/2305/1 "2016-11-24T16:11:01Z")

</div>

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

```plaintext
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

---

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [24 November 2016 18:41 UTC](https://community.openenergymonitor.org/t/errors-on-admin-panel/2305/2 "2016-11-24T18:41:34Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Andy\_Taylor](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/andy_taylor/32/6960_2.png) [@Andy\_Taylor](https://community.openenergymonitor.org/u/Andy_Taylor)\
**Post date:** [24 November 2016 19:45 UTC](https://community.openenergymonitor.org/t/errors-on-admin-panel/2305/3 "2016-11-24T19:45:42Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [24 November 2016 20:14 UTC](https://community.openenergymonitor.org/t/errors-on-admin-panel/2305/4 "2016-11-24T20:14:55Z")

</div>

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

- sent from my mobile device

---

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [24 November 2016 20:38 UTC](https://community.openenergymonitor.org/t/errors-on-admin-panel/2305/5 "2016-11-24T20:38:53Z")

</div>

Emoncms V9.7.8 has been merged into stable branch:

> <https://github.com/emoncms/emoncms/pull/613>
>
> \- Default level of zoom RealTime, BarBraph, TimeStore, Threshold vis. @chaveiro …@RDCH106
> \- Additional checking for memory information (Some Linux hosts do not allow access to '/proc/meminfo') @AndyTaylorTweet
> \- Refactor admin page code @chaveiro
> \- Add support for environmental variables @spikeheap
> \- Add iOS itunes store link / badge for iOS Emoncms app @mattjgalloway
> \- Remove external request for GooglePlay / itunes badges locally, saved locally @glynhudson
> \- Tweak button colours on admin page @glynhudson
> \- Ubuntu 16.07 / PHP7 install guide tweaks
