You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the latest weathmap 1.3.1, when you use the editor, the file config.php is not read
And the default path is // sensible defaults $mapdir = 'configs';
Instead of what is in the config.php file (in my case):
$configdir = '/usr/share/cacti/plugins/weathermap/configs/';
Outputdir should behave the same, I think!
that lead to the following error: 06/01/2025 10:48:13 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/weathermap/weathermap-cacti-plugin-editor.php[396]:getMapAreaData(), /plugins/weathermap/lib/editor.actions.php[98]:WeatherMap->DrawMap(), /plugins/weathermap/lib/WeatherMap.class.php[3511]:file_get_contents(), CactiErrorHandler()) 06/01/2025 10:48:13 - ERROR PHP WARNING in Plugin 'weathermap': file_get_contents(configs/lavey-V3.conf): Failed to open stream: No such file or directory in file: /usr/share/cacti/plugins/weathermap/lib/WeatherMap.class.php on line: 3511
And the editor is not taking the image from the right directory, I didn't find where the images are called! And no error, but no image/icon on my map
The text was updated successfully, but these errors were encountered:
Do not use the latest version it's very much broken. I haven't had time to fix it just telling people who Open tickets to not to upgrade to developer release.
In the latest weathmap 1.3.1, when you use the editor, the file config.php is not read
And the default path is
// sensible defaults $mapdir = 'configs';
Instead of what is in the config.php file (in my case):
$configdir = '/usr/share/cacti/plugins/weathermap/configs/';
Outputdir should behave the same, I think!
that lead to the following error:
06/01/2025 10:48:13 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/weathermap/weathermap-cacti-plugin-editor.php[396]:getMapAreaData(), /plugins/weathermap/lib/editor.actions.php[98]:WeatherMap->DrawMap(), /plugins/weathermap/lib/WeatherMap.class.php[3511]:file_get_contents(), CactiErrorHandler()) 06/01/2025 10:48:13 - ERROR PHP WARNING in Plugin 'weathermap': file_get_contents(configs/lavey-V3.conf): Failed to open stream: No such file or directory in file: /usr/share/cacti/plugins/weathermap/lib/WeatherMap.class.php on line: 3511
And the editor is not taking the image from the right directory, I didn't find where the images are called! And no error, but no image/icon on my map
The text was updated successfully, but these errors were encountered: