I run into this weird issue where if i try to run weathermapper.php i'm getting unidentified index notices.
root@librenms:/opt/weathermapper# php weathermapper.php Generating weathermap configuration to /opt/librenms/html/plugins/Weathermap/configs/STKILDA.conf PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 218 PHP Notice: Undefined index: colmargin in /opt/weathermapper/includes/weathermapper.inc.php on line 218 PHP Notice: Undefined index: rowsize in /opt/weathermapper/includes/weathermapper.inc.php on line 219 PHP Notice: Undefined index: rowmargin in /opt/weathermapper/includes/weathermapper.inc.php on line 219 PHP Notice: Undefined index: rowmargin in /opt/weathermapper/includes/weathermapper.inc.php on line 124 PHP Notice: Undefined index: colmargin in /opt/weathermapper/includes/weathermapper.inc.php on line 127 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 132 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 144 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 144 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 144 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 144 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 144 PHP Notice: Undefined index: rowsize in /opt/weathermapper/includes/weathermapper.inc.php on line 148
the GUI picks up the map but won't open it with 404 as the file xy.html is not in the folder.
Hi, this appears to be due to an empty or missing $weathermapper[$label]['grid_opts'] dictionary. You can use the UI plugin to build this or use one of the examples in the conf.d directory.
Hi,
I run into this weird issue where if i try to run weathermapper.php i'm getting unidentified index notices.
root@librenms:/opt/weathermapper# php weathermapper.php Generating weathermap configuration to /opt/librenms/html/plugins/Weathermap/configs/STKILDA.conf PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 218 PHP Notice: Undefined index: colmargin in /opt/weathermapper/includes/weathermapper.inc.php on line 218 PHP Notice: Undefined index: rowsize in /opt/weathermapper/includes/weathermapper.inc.php on line 219 PHP Notice: Undefined index: rowmargin in /opt/weathermapper/includes/weathermapper.inc.php on line 219 PHP Notice: Undefined index: rowmargin in /opt/weathermapper/includes/weathermapper.inc.php on line 124 PHP Notice: Undefined index: colmargin in /opt/weathermapper/includes/weathermapper.inc.php on line 127 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 132 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 144 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 144 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 144 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 144 PHP Notice: Undefined index: colsize in /opt/weathermapper/includes/weathermapper.inc.php on line 144 PHP Notice: Undefined index: rowsize in /opt/weathermapper/includes/weathermapper.inc.php on line 148
the GUI picks up the map but won't open it with 404 as the file xy.html is not in the folder.
Am i missing something trivial?
Thanks in advance,
Barnaby