Hi, I installed Ganglia 3.1.2 and PHP version is 5.3.0. Now I could view the default page of Ganglia to view the clusters status. However, when I click any button like "Choose a node" or other buttons, it will show the ganglia directory. Furthermore, I noticed a block error report at Apache error_log.
[Mon Jul 27 13:17:39 2009] [error] [client 10.0.38.109] PHP Fatal error: Class 'TemplatePower' not found in /usr/local/apache2/htdocs/ganglia/meta_view.php on line 3, referer: http://10.0.38.101:8000/ganglia/?m=load_one&r=hour&s=descending&c=Dawning+101&h=&sh=0&hc=4&z=small [Mon Jul 27 13:17:52 2009] [error] [client 10.0.38.109] PHP Notice: Undefined variable: w in /usr/local/apache2/htdocs/ganglia/pie.php on line 387, referer: http://10.0.38.101:8000/ganglia/?m=load_one&r=hour&s=descending&c=Dawning+101&h=&sh=0&hc=4&z=small [Mon Jul 27 13:17:52 2009] [error] [client 10.0.38.109] PHP Notice: Undefined variable: heads in /usr/local/apache2/htdocs/ganglia/pie.php on line 393, referer: http://10.0.38.101:8000/ganglia/?m=load_one&r=hour&s=descending&c=Dawning+101&h=&sh=0&hc=4&z=small And after that I check /usr/local/apache2/htdocs/ganglia folder, here's following list of files. -rw-r--r-- 1 root root 71 2009-07-24 15:32 AUTHORS -rwxr-xr-x 1 root root 3.0K 2009-07-24 15:32 auth.php -rw-r--r-- 1 root root 27K 2009-07-24 19:07 class.TemplatePower.inc.php -rw-r--r-- 1 root root 1.2K 2009-07-24 15:32 cluster_legend.html -rwxr-xr-x 1 root root 7.9K 2009-07-24 15:32 cluster_view.php -rwxr-xr-x 1 root root 3.9K 2009-07-24 15:32 conf.php -rw-r--r-- 1 root root 3.9K 2009-07-24 15:32 conf.php.in -rw-r--r-- 1 root root 1.1K 2009-07-24 15:32 COPYING -rwxr-xr-x 1 root root 701 2009-07-24 15:32 footer.php -rwxr-xr-x 1 root root 13K 2009-07-24 15:32 functions.php -rwxr-xr-x 1 root root 9.7K 2009-07-24 15:32 ganglia.php -rwxr-xr-x 1 root root 4.8K 2009-07-24 15:32 get_context.php -rwxr-xr-x 1 root root 1.2K 2009-07-24 15:32 get_ganglia.php drwxr-xr-x 2 root root 296 2009-07-24 15:32 graph.d -rwxr-xr-x 1 root root 8.3K 2009-07-24 15:32 graph.php -rwxr-xr-x 1 root root 1.8K 2009-07-24 15:32 grid_tree.php -rwxr-xr-x 1 root root 11K 2009-07-24 15:32 header.php -rwxr-xr-x 1 root root 5.8K 2009-07-24 15:32 host_view.php -rwxr-xr-x 1 root root 1.6K 2009-07-27 13:00 index.php -rw-r--r-- 1 root root 522 2009-07-24 15:32 Makefile.am -rwxr-xr-x 1 root root 8.2K 2009-07-24 15:32 meta_view.php -rw-r--r-- 1 root root 1.3K 2009-07-24 15:32 node_legend.html -rwxr-xr-x 1 root root 2.7K 2009-07-24 15:32 physical_view.php -rwxr-xr-x 1 root root 13K 2009-07-24 15:32 pie.php -rw-r--r-- 1 root root 1.2K 2009-07-24 15:32 private_clusters -rwxr-xr-x 1 root root 5.0K 2009-07-24 15:32 show_node.php -rw-r--r-- 1 root root 2.2K 2009-07-24 15:32 styles.css drwxr-xr-x 3 root root 72 2009-07-24 15:32 templates -rwxr-xr-x 1 root root 164 2009-07-24 15:32 version.php -rw-r--r-- 1 root root 257 2009-07-24 15:32 version.php.in I guess I have the class.TemplatePower.inc.php file. So I don't know why it could happen. I have no idea to determine the problem. And I check the file index.php, I paste some block here. include_once "./functions.php"; include_once "./get_context.php"; include_once "./ganglia.php"; include_once "./get_ganglia.php"; include_once "./class.TemplatePower.inc.php"; Obviously it should hold the class.TemplatePower.inc.php file correctly. But why such error occurred? Could anyone help me? Thank you very much. Best Regards, Amy Lee ------------------------------------------------------------------------------ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

