weathermap blank page

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
branoma
Posts: 8
Joined: Fri Apr 11, 2014 8:47 am

weathermap blank page

Post by branoma »

Hello,
I am new in Cacti and I am trying to start work with plugin weathermap. I have installed clean Ubuntu instalation 12.10, clean installation of Cacti 0.8.8a, Apache version 2.2.22. After I downloaded latest weathermap version 0.97c, PHP script check.php gives me OK results.
When I click on weather link, there is a blank page in browser.
Please, could you advice what is wrong?

Thank you very much for advice.
Brano
PyP0
Posts: 6
Joined: Tue Dec 03, 2013 11:44 am

Re: weathermap blank page

Post by PyP0 »

I have exactly the same problem...

Permissions OK,
SQL tables OK, (weathermap_auth, weathermap_data, weathermap_groups, weathermap_maps and weathermap_settings)
Cacti working perfectly..

I can open the editor using:

"http://mysite/cacti/plugins/weathermap/editor.php".

I see the Weathermap Tab on the top of the screen but when I click there it shows me a blank page on that URL:

"http://mysite/cacti/plugins/weathermap/ ... plugin.php"
branoma
Posts: 8
Joined: Fri Apr 11, 2014 8:47 am

Re: weathermap blank page

Post by branoma »

Please, any idea how to silve it?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: weathermap blank page

Post by Howie »

Is there any error in the apache error log? This sounds like the kind of thing php would log an error for.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
branoma
Posts: 8
Joined: Fri Apr 11, 2014 8:47 am

Re: weathermap blank page

Post by branoma »

in error.log I can see this

[Tue Apr 15 15:08:28 2014] [error] [client 10.1.1.150] PHP Warning: include_once(./include/auth.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/weathermap$
[Tue Apr 15 15:08:28 2014] [error] [client 10.1.1.150] PHP Warning: include_once(): Failed opening './include/auth.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/weatherm$
[Tue Apr 15 15:08:28 2014] [error] [client 10.1.1.150] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on line 242, referer: http:/$
[Tue Apr 15 15:08:28 2014] [error] [client 10.1.1.150] PHP Warning: include_once(/include/top_graph_header.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins$
[Tue Apr 15 15:08:28 2014] [error] [client 10.1.1.150] PHP Warning: include_once(): Failed opening '/include/top_graph_header.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugi$
[Tue Apr 15 15:08:28 2014] [error] [client 10.1.1.150] PHP Fatal error: Call to undefined function db_fetch_assoc() in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on lin$
[Tue Apr 15 15:08:51 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32
[Tue Apr 15 15:08:57 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32, referer: http://10.0.1.78$
[Tue Apr 15 15:08:57 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32, referer: http://10.0.1.78$
[Tue Apr 15 15:08:57 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32, referer: http://10.0.1.78$
[Tue Apr 15 15:09:00 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32
[Tue Apr 15 15:09:09 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32, referer: http://10.0.1.78$
[Tue Apr 15 15:09:12 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32, referer: http://10.0.1.78$
[Tue Apr 15 15:09:12 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32, referer: http://10.0.1.78$
[Tue Apr 15 15:09:14 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32, referer: http://10.0.1.78$
[Tue Apr 15 15:09:14 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32, referer: http://10.0.1.78$
[Tue Apr 15 15:09:14 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32, referer: http://10.0.1.78$
[Tue Apr 15 15:09:16 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32, referer: http://10.0.1.78$
[Tue Apr 15 15:09:25 2014] [error] [client 10.1.1.150] PHP Deprecated: Function split() is deprecated in /usr/local/share/cacti/plugins/weathermap/editor.php on line 32
[Tue Apr 15 15:15:56 2014] [error] [client 10.1.1.150] PHP Warning: include_once(./include/auth.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/weathermap$
[Tue Apr 15 15:15:56 2014] [error] [client 10.1.1.150] PHP Warning: include_once(): Failed opening './include/auth.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/weatherm$
[Tue Apr 15 15:15:56 2014] [error] [client 10.1.1.150] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on line 242, referer: http:/$
[Tue Apr 15 15:15:56 2014] [error] [client 10.1.1.150] PHP Warning: include_once(/include/top_graph_header.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins$
[Tue Apr 15 15:15:56 2014] [error] [client 10.1.1.150] PHP Warning: include_once(): Failed opening '/include/top_graph_header.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugi$
[Tue Apr 15 15:15:56 2014] [error] [client 10.1.1.150] PHP Fatal error: Call to undefined function db_fetch_assoc() in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on lin$
branoma
Posts: 8
Joined: Fri Apr 11, 2014 8:47 am

Re: weathermap blank page

Post by branoma »

after each attemp to "click" on wheatermap link I can see in apache error log next

[Tue Apr 15 15:57:11 2014] [error] [client 10.1.1.150] PHP Warning: include_once(./include/auth.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/weathermap$
[Tue Apr 15 15:57:11 2014] [error] [client 10.1.1.150] PHP Warning: include_once(): Failed opening './include/auth.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/weatherm$
[Tue Apr 15 15:57:11 2014] [error] [client 10.1.1.150] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on line 242, referer: http:/$
[Tue Apr 15 15:57:11 2014] [error] [client 10.1.1.150] PHP Warning: include_once(/include/top_graph_header.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins$
[Tue Apr 15 15:57:11 2014] [error] [client 10.1.1.150] PHP Warning: include_once(): Failed opening '/include/top_graph_header.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugi$
[Tue Apr 15 15:57:11 2014] [error] [client 10.1.1.150] PHP Fatal error: Call to undefined function db_fetch_assoc() in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on lin$
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: weathermap blank page

Post by Howie »

Was cacti from APT or from source files? Ubuntu and Debian do some odd things with their packages.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
branoma
Posts: 8
Joined: Fri Apr 11, 2014 8:47 am

Re: weathermap blank page

Post by branoma »

from APT (apt-get install cacti cacti-spine).
I can try to install from source code but is there a possibility to save/export/import my current configuration and also save history(sorry I am not very experienced linux user)?
PyP0
Posts: 6
Joined: Tue Dec 03, 2013 11:44 am

Re: weathermap blank page

Post by PyP0 »

My Apache error.log... I have the same problem. Seems that 1 path is wrong or something...

[Wed Apr 16 12:02:26 2014] [error] [client ::1] File does not exist: /var/www/favicon.ico
[Wed Apr 16 12:02:31 2014] [error] [client ::1] PHP Warning: include_once(./include/auth.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on line 6, referer: http://localhost/cacti/
[Wed Apr 16 12:02:31 2014] [error] [client ::1] PHP Warning: include_once(): Failed opening './include/auth.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on line 6, referer: http://localhost/cacti/
[Wed Apr 16 12:02:31 2014] [error] [client ::1] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on line 242, referer: http://localhost/cacti/
[Wed Apr 16 12:02:31 2014] [error] [client ::1] PHP Warning: include_once(/include/top_graph_header.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on line 242, referer: http://localhost/cacti/
[Wed Apr 16 12:02:31 2014] [error] [client ::1] PHP Warning: include_once(): Failed opening '/include/top_graph_header.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on line 242, referer: http://localhost/cacti/
[Wed Apr 16 12:02:31 2014] [error] [client ::1] PHP Fatal error: Call to undefined function db_fetch_assoc() in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin.php on line 821, referer: http://localhost/cacti/
[Wed Apr 16 12:02:34 2014] [error] [client ::1] PHP Warning: include_once(./include/auth.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 4, referer: http://localhost/cacti/
[Wed Apr 16 12:02:34 2014] [error] [client ::1] PHP Warning: include_once(): Failed opening './include/auth.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 4, referer: http://localhost/cacti/
[Wed Apr 16 12:02:34 2014] [error] [client ::1] PHP Warning: include_once(./include/config.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 5, referer: http://localhost/cacti/
[Wed Apr 16 12:02:34 2014] [error] [client ::1] PHP Warning: include_once(): Failed opening './include/config.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 5, referer: http://localhost/cacti/
[Wed Apr 16 12:02:34 2014] [error] [client ::1] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 7, referer: http://localhost/cacti/
[Wed Apr 16 12:02:34 2014] [error] [client ::1] PHP Warning: include_once(/database.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 7, referer: http://localhost/cacti/
[Wed Apr 16 12:02:34 2014] [error] [client ::1] PHP Warning: include_once(): Failed opening '/database.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 7, referer: http://localhost/cacti/
[Wed Apr 16 12:02:34 2014] [error] [client ::1] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 311, referer: http://localhost/cacti/
[Wed Apr 16 12:02:34 2014] [error] [client ::1] PHP Warning: include_once(/include/top_header.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 311, referer: http://localhost/cacti/
[Wed Apr 16 12:02:34 2014] [error] [client ::1] PHP Warning: include_once(): Failed opening '/include/top_header.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 311, referer: http://localhost/cacti/
[Wed Apr 16 12:02:34 2014] [error] [client ::1] PHP Fatal error: Call to undefined function read_config_option() in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 426, referer: http://localhost/cacti/
[Wed Apr 16 12:03:44 2014] [notice] Graceful restart requested, doing restart


Thx for the answers!
PyP0
Posts: 6
Joined: Tue Dec 03, 2013 11:44 am

Re: weathermap blank page

Post by PyP0 »

SOLVED!!!! :D

I've done that:

cd /usr/local/share/cacti/ && ln -s /usr/share/cacti/site/include/

Now it works!
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: weathermap blank page

Post by Howie »

OK, and I will test with Ubuntu packages before the next release, so you don't have to do this :-)
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
branoma
Posts: 8
Joined: Fri Apr 11, 2014 8:47 am

Re: weathermap blank page

Post by branoma »

Great!!! Thank you. It's working also for me.
I have next problem, when I try to create new map via editor.php nothing happend. I typed new name, click on Create button (also tried Create map as a copy) and nothing.... No error message and no new map. What is wrong?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: weathermap blank page

Post by Howie »

branoma wrote:Great!!! Thank you. It's working also for me.
I have next problem, when I try to create new map via editor.php nothing happend. I typed new name, click on Create button (also tried Create map as a copy) and nothing.... No error message and no new map. What is wrong?
the filename must end in .conf - this is not very clear, sorry.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
branoma
Posts: 8
Joined: Fri Apr 11, 2014 8:47 am

Re: weathermap blank page

Post by branoma »

Thank you very much for advice. Everything running smoothly.
Thanks a lot.
nth1686
Posts: 3
Joined: Tue Aug 02, 2016 3:15 am

Re: weathermap blank page

Post by nth1686 »

branoma wrote:Thank you very much for advice. Everything running smoothly.
Thanks a lot.
Hi Pro I'm the new Cacti
I installed weather map plugin, but I cannot create new map by Weathermap Editor, and I cannot change anything by simple.conf.
Could you help me to solve this one.
Thanks.

[/quote]

1) create a new post - don't just pick a 2 year old one at random

2) you will need to provide more information:
[*] which version of Cacti?
[*] which version of weathermap?
[*] what operating system?
[*] what exactly are you trying, and what actually happens? Do you get an error message? (What is it?) Is there an error in the Apache or Cacti logs? (what is it?)

You might like this:
http://www.catb.org/esr/faqs/smart-questions.html
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest