CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
networkk
Posts: 19
Joined: Tue Feb 13, 2024 6:44 am

CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'

Post by networkk »

Hi,

I've just re install cacti and I weathermap doesn't work anymore. I have many problem in my logs :

Code: Select all

024-04-16 08:52:39 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'
2024-04-16 08:52:39 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2024-04-16 08:52:39 - ERROR PHP ERROR in Plugin 'weathermap': Uncaught Error: Class "Locale" not found in /usr/share/cacti/cacti-1.2.26/plugins/weathermap/lib/WeatherMap.class.php:1878 Stack trace: #0 /usr/share/cacti/cacti-1.2.26/plugins/weathermap/lib/WeatherMap.class.php(2034): WeatherMap->strftime() #1 /usr/share/cacti/cacti-1.2.26/plugins/weathermap/lib/WeatherMap.class.php(3625): WeatherMap->DrawTimestamp() #2 /usr/share/cacti/cacti-1.2.26/plugins/weathermap/lib/poller-common.php(442): WeatherMap->DrawMap() #3 /usr/share/cacti/cacti-1.2.26/plugins/weathermap/setup.php(1169): weathermap_run_maps() #4 /usr/share/cacti/cacti-1.2.26/lib/plugins.php(231): weathermap_poller_bottom() #5 /usr/share/cacti/cacti-1.2.26/lib/plugins.php(89): api_plugin_run_plugin_hook() #6 /usr/share/cacti/cacti-1.2.26/poller.php(917): api_plugin_hook() #7 {main} thrown in file: /usr/share/cacti/cacti-1.2.26/plugins/weathermap/lib/WeatherMap.class.php on line: 1878
I work with the source version 1.2.26 of cacti and with the github version of weathermap.

Does anyone know what it can be ?
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'

Post by TheWitness »

You need to install php-intl.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
networkk
Posts: 19
Joined: Tue Feb 13, 2024 6:44 am

Re: CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'

Post by networkk »

Yes, I figured It out, I don't have any issues since I installed php-intl.
Thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest