problems after upgrading to php 5.0.5
Moderators: Developers, Moderators
problems after upgrading to php 5.0.5
Upgraded to php 5.0.5 - can't see graphs or data sources anymore.
If I click eg. data sources, I get a header "Showing Rows 1 to 30 of 39 [1,2]"
but then the list is empty with only "No Data Sources".
Same thing for graphs. both on the console and graph view. Everything else seems to work.
-J
If I click eg. data sources, I get a header "Showing Rows 1 to 30 of 39 [1,2]"
but then the list is empty with only "No Data Sources".
Same thing for graphs. both on the console and graph view. Everything else seems to work.
-J
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Interesting, what happens when you goto "Graph Management", select a Graph and Hit the Debug link?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
No worries, good info to know.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
hm, i have similar problem:
This remains even after uprgade from MySQL 5.0.12 to MySQL 5.0.13 and dropping & creating cacti database.
how can i fix this?
as described by JeppeIf I click eg. data sources, I get a header "Showing Rows 1 to 30 of 39 [1,2]"
but then the list is empty with only "No Data Sources".
Same thing for graphs
This remains even after uprgade from MySQL 5.0.12 to MySQL 5.0.13 and dropping & creating cacti database.
Code: Select all
[localhost]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12 to server version: 5.0.13-rc-standard-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use cacti;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select
-> graph_templates_graph.id,
-> graph_templates_graph.local_graph_id,
-> graph_templates_graph.height,
-> graph_templates_graph.width,
-> graph_templates_graph.title_cache,
-> graph_templates.name,
-> graph_local.host_id
-> from graph_local,graph_templates_graph
-> left join graph_templates on graph_local.graph_template_id=graph_templates.id
-> where graph_local.id=graph_templates_graph.local_graph_id
-> and graph_templates_graph.title_cache like '%%%%'
-> order by graph_templates_graph.title_cache,graph_local.host_id
-> limit 0,30;
ERROR 1054 (42S22): Unknown column 'graph_local.graph_template_id' in 'on clause'
mysql> describe graph_local;
+-------------------+-----------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------------+-----------------------+------+-----+---------+----------------+
| id | mediumint(8) unsigned | NO | PRI | NULL | auto_increment |
| graph_template_id | mediumint(8) unsigned | NO | MUL | 0 | |
| host_id | mediumint(8) unsigned | NO | MUL | 0 | |
| snmp_query_id | mediumint(8) | NO | | 0 | |
| snmp_index | varchar(100) | NO | MUL | | |
+-------------------+-----------------------+------+-----+---------+----------------+
5 rows in set (0.04 sec)
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
We are currently not supporting mySQL 5.0, as it's not a full release.
When it is, we will have a patch or release to support it.
When it is, we will have a patch or release to support it.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
oops, should have read this thread 30 minutes ago! I have mysql 5.0.13-rc freshly installed and see the same issue. If you bypass the security in graph_image.php you can see the graphs if you go to them directly, but I still have the problem of it not showing up everywhere else.
btw, mysql5 seems FAST! a noticeable difference at least for polling and just moving around the system) I'm going to dig around a little more to figure out an easy way to at least remove enough of the security checks to get it operational again, I don't really want to go down in mysql versions. I'll post what else I find here.
btw, mysql5 seems FAST! a noticeable difference at least for polling and just moving around the system) I'm going to dig around a little more to figure out an easy way to at least remove enough of the security checks to get it operational again, I don't really want to go down in mysql versions. I'll post what else I find here.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
The fix is simple... Check out the bug database..
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 1 guest