I used this tutorial to install php-weathermap-0.97c.
http://www.network-weathermap.com/manua ... ditor.html
When ever I go to view maps I get... "You Have No Maps" even though I manually created one from the sample file and put it in weathermap/configs.
I can't make new maps or copy maps in the GUI.
I can edit maps in the GUI that I copy and rename from the sample file via CLI. Editing the maps worked great but I can't view them.
It wouldn't be a bid deal to drop into CLI to make the map originally if I could only view them.
Cacti Version: 0.8.7g, Plugin Architecture Version: 2.8
Linux 3.2.0-55-generic on x86_64
Ubuntu Linux 12.04.3
PHP 5.3.10-1ubuntu3.8 with Suhosin-Patch (cli) (built: Sep 4 2013 20:00:51)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
php-weathermap-0.97c
The check.php status is good on both the command line and the web browser.
editor.php...
Code: Select all
require_once 'lib/editor.inc.php';
require_once 'lib/Weathermap.class.php';
// so that you can't have the editor active, and not know about it.
$ENABLED=true;
if(! $ENABLED)
{
print "<p>The editor has not been enabled yet. You need to set ENABLED=true at the top of editor.php</p>";
print "<p>Before you do that, you should consider using FilesMatch (in Apache) or similar to limit who can access the editor. There is more information in the install guide section of the manual.</p>";
exit();
}
// sensible defaults
$mapdir='configs';
$cacti_base = '/usr/share/cacti/site';
$cacti_url = 'http://graphs.mywebsite.com/';
$ignore_cacti=FALSE;
$configerror = '';
Code: Select all
[Fri Oct 25 15:10:55 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/lib/functions.php on line 1795, referer: http://graphs.mywebsite.com/
[Fri Oct 25 15:10:55 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/lib/functions.php on line 1795, referer: http://graphs.mywebsite.com/
[Fri Oct 25 15:10:55 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function session_unregister() is deprecated in /usr/share/cacti/site/lib/functions.php on line 410, referer: http://graphs.mywebsite.com/
[Fri Oct 25 15:10:55 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function session_unregister() is deprecated in /usr/share/cacti/site/lib/functions.php on line 410, referer: http://graphs.mywebsite.com/
[Fri Oct 25 15:10:57 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/weathermap-cacti-plugin.php
[Fri Oct 25 15:11:04 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/editor.php
[Fri Oct 25 15:11:10 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/editor.php?mapname=blared&action=newmap&plug=
[Fri Oct 25 15:11:10 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/editor.php?mapname=portland.conf&plug=
[Fri Oct 25 15:11:10 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/editor.php?mapname=portland.conf&plug=
[Fri Oct 25 15:11:17 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/editor.php?mapname=portland.conf&plug=
[Fri Oct 25 15:11:31 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/editor.php?action=newfile
[Fri Oct 25 15:14:59 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/lib/functions.php on line 1795, referer: http://graphs.mywebsite.com/cacti/index.php
[Fri Oct 25 15:14:59 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/lib/functions.php on line 1795, referer: http://graphs.mywebsite.com/cacti/index.php
[Fri Oct 25 15:14:59 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function session_unregister() is deprecated in /usr/share/cacti/site/lib/functions.php on line 410, referer: http://graphs.mywebsite.com/cacti/index.php
[Fri Oct 25 15:14:59 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function session_unregister() is deprecated in /usr/share/cacti/site/lib/functions.php on line 410, referer: http://graphs.mywebsite.com/cacti/index.php
[Fri Oct 25 15:15:01 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/weathermap-cacti-plugin.php
[Fri Oct 25 15:15:07 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/editor.php
[Fri Oct 25 15:15:09 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/editor.php?mapname=fds&action=newmapcopy&plug=&sourcemap=portland.conf
[Fri Oct 25 15:15:09 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/editor.php?mapname=portland.conf&plug=
[Fri Oct 25 15:15:09 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/editor.php?mapname=portland.conf&plug=
[Fri Oct 25 15:15:13 2013] [error] [client xx.xx.xx.xx] PHP Deprecated: Function split() is deprecated in /usr/share/cacti/site/plugins/weathermap/editor.php on line 32, referer: http://graphs.mywebsite.com/cacti/plugins/weathermap/editor.php?mapname=portland.conf&plug=
after a while of troubleshooting and re-installations of the plugin I opened up the permissions to 775 across the board so that root and www-data have rwx.
Code: Select all
ls -la weathermap/
total 380
drwxrwxr-x 9 root www-data 4096 Oct 25 14:43 .
drwxr-xr-x 3 www-data www-data 4096 Oct 25 14:43 ..
-rwxrwxr-x 1 root www-data 12735 Apr 3 2013 cacti-pick.php
-rwxrwxr-x 1 root www-data 35564 Apr 10 2013 CHANGES
-rwxrwxr-x 1 root www-data 1633 Mar 22 2013 check-gdbug.php
-rwxrwxr-x 1 root www-data 13008 Mar 25 2013 check.php
drwxrwxr-x 2 root www-data 4096 Oct 25 14:52 configs
-rwxrwxr-x 1 root www-data 18011 Mar 22 2013 COPYING
drwxrwxr-x 7 root www-data 4096 Apr 10 2013 docs
-rwxrwxr-x 1 root www-data 49646 Oct 25 15:36 editor.php
drwxrwxr-x 2 root www-data 4096 Apr 10 2013 editor-resources
drwxrwxr-x 2 root www-data 4096 Apr 10 2013 images
-rwxrwxr-x 1 root www-data 62 Mar 22 2013 index.php
drwxrwxr-x 5 root www-data 4096 Apr 10 2013 lib
-rwxrwxr-x 1 root www-data 65 Mar 22 2013 logout.php
-rwxrwxr-x 1 root www-data 38 Mar 22 2013 net-data.txt
drwxrwxr-x 2 root www-data 4096 Oct 25 15:44 output
-rwxrwxr-x 1 root www-data 50734 Mar 22 2013 overlib.js
drwxrwxr-x 2 root www-data 4096 Apr 10 2013 random-bits
-rwxrwxr-x 1 root www-data 1348 Mar 25 2013 README
-rwxrwxr-x 1 root www-data 36357 Mar 22 2013 setup.php
-rwxrwxr-x 1 root www-data 8683 Apr 2 2013 weathermap
-rwxrwxr-x 1 root www-data 149 Mar 22 2013 weathermap-cacti-plugin.css
-rwxrwxr-x 1 root www-data 42134 Apr 2 2013 weathermap-cacti-plugin-mgmt.php
-rwxrwxr-x 1 root www-data 26791 Apr 2 2013 weathermap-cacti-plugin.php
-rwxrwxr-x 1 root www-data 1052 Mar 22 2013 weathermap-cacti-rebuild.php
-rwxrwxr-x 1 root www-data 370 Mar 22 2013 weathermap.conf
Any idea what is the problem?
Let me know if you need any additional info.
Thanks for the help.
-Pete