Help: It doesn't work - Notice: Use of... [SOLVED]

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Link
Posts: 2
Joined: Fri Aug 19, 2005 1:44 am

Help: It doesn't work - Notice: Use of... [SOLVED]

Post by Link »

I've already searched the forums for any hints and checked some settings, but somehow, something is still missing.

After installing cacti I opened up the browser pointed to http://localhost/cacti/ and got the following error:

Code: Select all

Notice: Use of undefined constant DATA_INPUT_TYPE_SNMP - assumed 'DATA_INPUT_TYPE_SNMP' in /usr/share/cacti/include/config_arrays.php on line 102

Notice: Use of undefined constant DATA_INPUT_TYPE_SNMP_QUERY - assumed 'DATA_INPUT_TYPE_SNMP_QUERY' in /usr/share/cacti/include/config_arrays.php on line 103

Notice: Use of undefined constant DATA_INPUT_TYPE_SCRIPT - assumed 'DATA_INPUT_TYPE_SCRIPT' in /usr/share/cacti/include/config_arrays.php on line 104

Notice: Use of undefined constant DATA_INPUT_TYPE_SCRIPT_QUERY - assumed 'DATA_INPUT_TYPE_SCRIPT_QUERY' in /usr/share/cacti/include/config_arrays.php on line 105

Notice: Use of undefined constant DATA_INPUT_TYPE_PHP_SCRIPT_SERVER - assumed 'DATA_INPUT_TYPE_PHP_SCRIPT_SERVER' in /usr/share/cacti/include/config_arrays.php on line 106

Notice: Use of undefined constant DATA_INPUT_TYPE_QUERY_SCRIPT_SERVER - assumed 'DATA_INPUT_TYPE_QUERY_SCRIPT_SERVER' in /usr/share/cacti/include/config_arrays.php on line 107

Notice: Use of undefined constant DATA_QUERY_AUTOINDEX_NONE - assumed 'DATA_QUERY_AUTOINDEX_NONE' in /usr/share/cacti/include/config_arrays.php on line 111

Notice: Use of undefined constant DATA_QUERY_AUTOINDEX_BACKWARDS_UPTIME - assumed 'DATA_QUERY_AUTOINDEX_BACKWARDS_UPTIME' in /usr/share/cacti/include/config_arrays.php on line 112

Notice: Use of undefined constant DATA_QUERY_AUTOINDEX_INDEX_NUM_CHANGE - assumed 'DATA_QUERY_AUTOINDEX_INDEX_NUM_CHANGE' in /usr/share/cacti/include/config_arrays.php on line 113

Notice: Use of undefined constant DATA_QUERY_AUTOINDEX_FIELD_VERIFICATION - assumed 'DATA_QUERY_AUTOINDEX_FIELD_VERIFICATION' in /usr/share/cacti/include/config_arrays.php on line 114

Notice: Use of undefined constant AVAIL_SNMP_AND_PING - assumed 'AVAIL_SNMP_AND_PING' in /usr/share/cacti/include/config_arrays.php on line 161

Notice: Use of undefined constant AVAIL_SNMP - assumed 'AVAIL_SNMP' in /usr/share/cacti/include/config_arrays.php on line 162

Notice: Use of undefined constant AVAIL_PING - assumed 'AVAIL_PING' in /usr/share/cacti/include/config_arrays.php on line 163

Notice: Use of undefined constant PING_ICMP - assumed 'PING_ICMP' in /usr/share/cacti/include/config_arrays.php on line 166

Notice: Use of undefined constant PING_UDP - assumed 'PING_UDP' in /usr/share/cacti/include/config_arrays.php on line 167

Notice: Use of undefined constant POLLER_VERBOSITY_NONE - assumed 'POLLER_VERBOSITY_NONE' in /usr/share/cacti/include/config_arrays.php on line 170

Notice: Use of undefined constant POLLER_VERBOSITY_LOW - assumed 'POLLER_VERBOSITY_LOW' in /usr/share/cacti/include/config_arrays.php on line 171

Notice: Use of undefined constant POLLER_VERBOSITY_MEDIUM - assumed 'POLLER_VERBOSITY_MEDIUM' in /usr/share/cacti/include/config_arrays.php on line 172

Notice: Use of undefined constant POLLER_VERBOSITY_HIGH - assumed 'POLLER_VERBOSITY_HIGH' in /usr/share/cacti/include/config_arrays.php on line 173

Notice: Use of undefined constant POLLER_VERBOSITY_DEBUG - assumed 'POLLER_VERBOSITY_DEBUG' in /usr/share/cacti/include/config_arrays.php on line 174

Notice: Use of undefined constant TREE_ORDERING_NONE - assumed 'TREE_ORDERING_NONE' in /usr/share/cacti/include/config_arrays.php on line 212

Notice: Use of undefined constant TREE_ORDERING_ALPHABETIC - assumed 'TREE_ORDERING_ALPHABETIC' in /usr/share/cacti/include/config_arrays.php on line 213

Notice: Use of undefined constant TREE_ORDERING_NUMERIC - assumed 'TREE_ORDERING_NUMERIC' in /usr/share/cacti/include/config_arrays.php on line 214

Notice: Use of undefined constant GT_LAST_HALF_HOUR - assumed 'GT_LAST_HALF_HOUR' in /usr/share/cacti/include/config_arrays.php on line 400

Notice: Use of undefined constant GT_LAST_HOUR - assumed 'GT_LAST_HOUR' in /usr/share/cacti/include/config_arrays.php on line 401

Notice: Use of undefined constant GT_LAST_2_HOURS - assumed 'GT_LAST_2_HOURS' in /usr/share/cacti/include/config_arrays.php on line 402

Notice: Use of undefined constant GT_LAST_4_HOURS - assumed 'GT_LAST_4_HOURS' in /usr/share/cacti/include/config_arrays.php on line 403

Notice: Use of undefined constant GT_LAST_6_HOURS - assumed 'GT_LAST_6_HOURS' in /usr/share/cacti/include/config_arrays.php on line 404

Notice: Use of undefined constant GT_LAST_12_HOURS - assumed 'GT_LAST_12_HOURS' in /usr/share/cacti/include/config_arrays.php on line 405

Notice: Use of undefined constant GT_LAST_DAY - assumed 'GT_LAST_DAY' in /usr/share/cacti/include/config_arrays.php on line 406

Notice: Use of undefined constant GT_LAST_2_DAYS - assumed 'GT_LAST_2_DAYS' in /usr/share/cacti/include/config_arrays.php on line 407

Notice: Use of undefined constant GT_LAST_3_DAYS - assumed 'GT_LAST_3_DAYS' in /usr/share/cacti/include/config_arrays.php on line 408

Notice: Use of undefined constant GT_LAST_4_DAYS - assumed 'GT_LAST_4_DAYS' in /usr/share/cacti/include/config_arrays.php on line 409

Notice: Use of undefined constant GT_LAST_WEEK - assumed 'GT_LAST_WEEK' in /usr/share/cacti/include/config_arrays.php on line 410

Notice: Use of undefined constant GT_LAST_2_WEEKS - assumed 'GT_LAST_2_WEEKS' in /usr/share/cacti/include/config_arrays.php on line 411

Notice: Use of undefined constant GT_LAST_MONTH - assumed 'GT_LAST_MONTH' in /usr/share/cacti/include/config_arrays.php on line 412

Notice: Use of undefined constant GT_LAST_2_MONTHS - assumed 'GT_LAST_2_MONTHS' in /usr/share/cacti/include/config_arrays.php on line 413

Notice: Use of undefined constant GT_LAST_3_MONTHS - assumed 'GT_LAST_3_MONTHS' in /usr/share/cacti/include/config_arrays.php on line 414

Notice: Use of undefined constant GT_LAST_4_MONTHS - assumed 'GT_LAST_4_MONTHS' in /usr/share/cacti/include/config_arrays.php on line 415

Notice: Use of undefined constant GT_LAST_6_MONTHS - assumed 'GT_LAST_6_MONTHS' in /usr/share/cacti/include/config_arrays.php on line 416

Notice: Use of undefined constant GT_LAST_YEAR - assumed 'GT_LAST_YEAR' in /usr/share/cacti/include/config_arrays.php on line 417

Notice: Use of undefined constant GT_LAST_2_YEARS - assumed 'GT_LAST_2_YEARS' in /usr/share/cacti/include/config_arrays.php on line 418

Notice: Use of undefined constant GD_MO_D_Y - assumed 'GD_MO_D_Y' in /usr/share/cacti/include/config_arrays.php on line 422

Notice: Use of undefined constant GD_MN_D_Y - assumed 'GD_MN_D_Y' in /usr/share/cacti/include/config_arrays.php on line 423

Notice: Use of undefined constant GD_D_MO_Y - assumed 'GD_D_MO_Y' in /usr/share/cacti/include/config_arrays.php on line 424

Notice: Use of undefined constant GD_D_MN_Y - assumed 'GD_D_MN_Y' in /usr/share/cacti/include/config_arrays.php on line 425

Notice: Use of undefined constant GD_Y_MO_D - assumed 'GD_Y_MO_D' in /usr/share/cacti/include/config_arrays.php on line 426

Notice: Use of undefined constant GD_Y_MN_D - assumed 'GD_Y_MN_D' in /usr/share/cacti/include/config_arrays.php on line 427

Notice: Use of undefined constant GDC_HYPHEN - assumed 'GDC_HYPHEN' in /usr/share/cacti/include/config_arrays.php on line 431

Notice: Use of undefined constant GDC_SLASH - assumed 'GDC_SLASH' in /usr/share/cacti/include/config_arrays.php on line 432

Fatal error: Call to undefined function: read_config_option() in /usr/share/cacti/include/config_form.php on line 651
Also, there are NO directories to be created inside the cacti dir (so rrd/ and log/ still missing), so I guess the poller.php doesn't run either properly... but cron jobs do get executed!

Any hints?

My system:
SuSE Linux 9.2

cacti 0.86e-2.3
php 4.3.8 (cli)
php-snmp
php-session
php-mysql
apache 2.0.50
mysql 4.0.21
net-snmp 5.1.2
Last edited by Link on Fri Aug 19, 2005 2:14 am, edited 1 time in total.
Link
Posts: 2
Joined: Fri Aug 19, 2005 1:44 am

Post by Link »

OK, I'm sorry, I'm fcuking stupid. I upgraded my cacti version before I set up cacti the first time. So I got a new config.php.rpmnew file in the include/ dir. Just moved it to config.php, changed user/pass for mysql - now it work.

things solved :)
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests