Yay, for this latest problem of adding a weathermap I actually get some error output in apaches error.log. Here you go:
[Sun Sep 04 10:42:19.091503 2016] [:error] [pid 25988] [client <clientIP>:60480] PHP Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php:837\nStack trace:\n#0 /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php(274): add_config('AndelainHQ.conf')\n#1 {main}\n thrown in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 837, referer: http://<serverIP>/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php?action=addmap_picker
I'm also getting some errors while picking data sources form cacti in the editor. Here's one example:
[Sun Sep 04 10:29:54.899548 2016] [:error] [pid 25906] [client <clientIP>:60162] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/local/share/cacti/plugins/weathermap/cacti-pick.php:69\nStack trace:\n#0 {main}\n thrown in /usr/local/share/cacti/plugins/weathermap/cacti-pick.php on line 69, referer: http://<serverIP>/cacti/plugins/weathermap/cacti-pick.php?host_id=2&command=link_step1&overlib=1&aggregate=0
The errors seem related, that some sql functions are missing. Could it be a missing package?
EDIT: It seems they are related to my PHP version. I'm on PHP 7, but I could have sworn I saw somewhere that weathermap was updated to handle that. Can't find it now though... :/
Guess I'm looking for some way to make weathermap work with PHP 7 then.
Any suggestions?