Cacti / plugin_weathermap

Weathermap for Cacti 1.x
MIT License
80 stars 25 forks source link

Cacti plugin Weathermap 1.1 issue on weathermap-cacti-plugin-mgmt.php #150

Closed paroke65 closed 3 months ago

paroke65 commented 3 months ago

2024/06/24 17:37:21 [error] 19281#19281: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function raise_message_javascript() in /opt/nginx/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php:327 Stack trace:

0 {main}

thrown in /opt/nginx/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 327" while reading response header from upstream, client: 124.15.14.5, server: cacti, request: "GET /cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "124.15.14.52", referrer: "http://124.15.14.52/cacti/plugins.php"

TheWitness commented 3 months ago

What Cacti version?

paroke65 commented 3 months ago

cacti version 1.2.22

paroke65 commented 3 months ago

I managed to fix the issue : it was necessary to modify the permissions for the Weathermap directory

paroke65 commented 3 months ago

I managed to fix the issue : it was necessary to modify the permissions for the Weathermap directory