FABtotum / FAB-UI

The FABtotum User Interface Repo
http://www.fabtotum.com
GNU General Public License v2.0
23 stars 30 forks source link

Hardware Setting - not working #36

Closed deflektor closed 2 years ago

deflektor commented 7 years ago

Hardware Setting - Safety - Tab displays following text:

hardware - saftey - error

Machine Limits Collision warning A PHP Error was encountered

Severity: Notice

Message: Undefined index: collision-warning

Filename: general/widget.php

Line Number: 102

Enable A PHP Error was encountered

Severity: Notice

Message: Undefined index: collision-warning

Filename: general/widget.php

Line Number: 105

Disabled

Changes in menu - and saving is not possible.

deflektor commented 7 years ago

Added following to root@fabtotum:/var/www/fabui/config# vi config.json "safety":{"door":"0","collision-warning":"0"}

before only following was available: "safety":{"door":"0"}

Manually editing via SSH and then refresh in browser - then save - solved this issue. Now all other items in this Hardware Setting page are working too.

Maybe the config.json file could be included into github?