Closed sgvfr closed 10 months ago
Was this an new weather map install or upgrade. If upgrade, from what version?
This one should be resolved. Before I tag it, I have to get to the others though.
looks like a missed ( , or an extra ) on Weathermap.class.php
1611: $dy = (100 - $p) * $scalefactor);
i changed locally to: $dy = ((100 - $p) * $scalefactor);
500 cleared.
[Wed Nov 15 09:27:37.566982 2023] [php:error] [pid 2479099] [client 10.52.12.200:52835] PHP Parse error: Unclosed '{' on line 1610 does not match ')' in /var/www/html/cacti/plugins/weathermap/lib/WeatherMap.class.php on line 1611, referer: http://10.52.101.249/plugins.php
sorry, this was reported in https://github.com/Cacti/plugin_weathermap/issues/127 already.
I'll close this one as the new bug was introduced under a different issue (127) this bug was fixed and can confirm working for me with the latest pull.
Weathermap version: b2f3403fc (HEAD -> develop, origin/develop, origin/HEAD) QA: Modify confirmation API to add header and footer most current pull of cacti devel 1.3
Trying to duplicate a weathermap from the console fails.