Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Support questions about the Threshold plugin
Moderators: Developers , Moderators
bio777
Posts: 16 Joined: Fri Mar 17, 2006 6:16 am
Post
by bio777 » Wed Feb 10, 2010 8:20 am
I get this message when trying to view the graph under the Thold lpugin tab
Code: Select all
[b]Uninitialized string offset: 1 in /var/www/cacti/lib/functions.php on line 1754[/b]
Any idea's ?
Running cacti v0.8.7e + Spine v0.8.7e + PA v2.6 + Thold v0.4.1 + Settings v0.5 + Discovery v0.8.5 + Update v0.4 + Monitor v0.8.2
regarsd
bio..
khm
Posts: 25 Joined: Fri Jul 14, 2006 3:57 am
Post
by khm » Thu Apr 15, 2010 2:57 am
I have got the same problem!
Does anybody knows an answer for this problem?
Best regards
[quote][b]Cacti Version[/b] - 0.8.7e
[b]Plugin Architecture[/b] - 2.6
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.31-14-server
[b]Web Server[/b] - Apache/2.2.12 (Ubuntu)
[b]PHP[/b] - 5.2.10-2ubuntu6.4
[b]MySQL[/b] - 5.1.37-1ubuntu5.1
[b]RRDTool[/b] - 1.3.1
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.6)
Thresholds (thold - v0.4.1)
PHP Network Weathermap (weathermap - v0.97)
Device Tracking (mactrack - v1.1)
Network Discovery (discovery - v0.9)
Host Info (hostinfo - v0.2)
SuperLinks (superlinks - v0.8)
Documents (docs - v0.2)
Cycle Graphs (Cycle Graphs - v0.7)[/list][/quote]
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Tue May 18, 2010 5:53 am
You need to post those lines from lib/functions.php. Thanks.
TheWitness
khm
Posts: 25 Joined: Fri Jul 14, 2006 3:57 am
Post
by khm » Tue May 18, 2010 6:17 am
}elseif (!empty($nav_level_cache{$i}["url"])) {
[quote][b]Cacti Version[/b] - 0.8.7e
[b]Plugin Architecture[/b] - 2.6
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.31-14-server
[b]Web Server[/b] - Apache/2.2.12 (Ubuntu)
[b]PHP[/b] - 5.2.10-2ubuntu6.4
[b]MySQL[/b] - 5.1.37-1ubuntu5.1
[b]RRDTool[/b] - 1.3.1
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.6)
Thresholds (thold - v0.4.1)
PHP Network Weathermap (weathermap - v0.97)
Device Tracking (mactrack - v1.1)
Network Discovery (discovery - v0.9)
Host Info (hostinfo - v0.2)
SuperLinks (superlinks - v0.8)
Documents (docs - v0.2)
Cycle Graphs (Cycle Graphs - v0.7)[/list][/quote]
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Wed May 19, 2010 6:10 am
Can you change from empty to isset. Let me know if that fixes it. Also open a bug report when done.
TheWitness
khm
Posts: 25 Joined: Fri Jul 14, 2006 3:57 am
Post
by khm » Thu May 20, 2010 1:04 am
I changed empty to isset.
Now following errors appear:
Notice: Uninitialized string offset: 1 in /var/www/cacti/lib/functions.php on line 1754
Notice: Uninitialized string offset: 1 in /var/www/cacti/lib/functions.php on line 1756
Fatal error: Cannot use string offset as an array in /var/www/cacti/lib/functions.php on line 1756
[quote][b]Cacti Version[/b] - 0.8.7e
[b]Plugin Architecture[/b] - 2.6
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.31-14-server
[b]Web Server[/b] - Apache/2.2.12 (Ubuntu)
[b]PHP[/b] - 5.2.10-2ubuntu6.4
[b]MySQL[/b] - 5.1.37-1ubuntu5.1
[b]RRDTool[/b] - 1.3.1
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.6)
Thresholds (thold - v0.4.1)
PHP Network Weathermap (weathermap - v0.97)
Device Tracking (mactrack - v1.1)
Network Discovery (discovery - v0.9)
Host Info (hostinfo - v0.2)
SuperLinks (superlinks - v0.8)
Documents (docs - v0.2)
Cycle Graphs (Cycle Graphs - v0.7)[/list][/quote]
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Thu May 20, 2010 4:25 am
Has to be a plugin issue.
TheWitness
Users browsing this forum: No registered users and 0 guests