Minor bug in graph.php (cacti-0.8.6h.tar.gz)

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
carpii
Posts: 3
Joined: Sun Sep 10, 2006 11:44 am

Minor bug in graph.php (cacti-0.8.6h.tar.gz)

Post by carpii »

on line 34, the line which reads

"limit 0,1");

should have a space infront of it like this

" limit 0,1");

This bug was causing log entries to appear because the generated sql statement was like

and graph_templates_item.local_graph_id=1limit 0,1
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

IMHO this has already been corrected : http://cacti.net/download_patches.php ("Invalid SQL When Creating Graphs").
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests