When I point my browser to the URL for my Cacti install, I am getitng this output:
Notice: Undefined variable: database in c:\inetpub\wwwroot\cacti\include\database.php on line 17
Notice: Undefined variable: database in c:\inetpub\wwwroot\cacti\include\database.php on line 17
Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\cacti\include\database.php:17) in c:\inetpub\wwwroot\cacti\include\auth.php on line 22
I've been through the forums, to no avail. Can someone shed some light on this for me?
Thanks
Cacti and Win32, install problems
Moderators: Developers, Moderators
An update
Now I am getting this set of messages:
Notice: Undefined variable: database in c:\inetpub\wwwroot\cacti\include\database.php on line 17
Notice: Undefined variable: database in c:\inetpub\wwwroot\cacti\include\database.php on line 17
Warning: Cannot send session cookie - headers already sent by (output started at c:\inetpub\wwwroot\cacti\include\database.php:17) in c:\inetpub\wwwroot\cacti\include\auth.php on line 30
Warning: Cannot send session cache limiter - headers already sent (output started at c:\inetpub\wwwroot\cacti\include\database.php:17) in c:\inetpub\wwwroot\cacti\include\auth.php on line 30
Notice: Undefined index: user_id in c:\inetpub\wwwroot\cacti\include\auth.php on line 33
Notice: Undefined index: user_hash in c:\inetpub\wwwroot\cacti\include\auth.php on line 34
Notice: Undefined index: change_password in c:\inetpub\wwwroot\cacti\include\auth.php on line 44
Notice: Undefined variable: guest_account in c:\inetpub\wwwroot\cacti\include\auth.php on line 49
Notice: Undefined variable: au in c:\inetpub\wwwroot\cacti\include\auth.php on line 73
Notice: Undefined variable: action in c:\inetpub\wwwroot\cacti\auth_login.php on line 17
Notice: Undefined variable: badpassword in c:\inetpub\wwwroot\cacti\auth_login.php on line 118
Please enter your cacti user name and password below:
User Name:
Notice: Undefined variable: conf_drop_down_user_list in c:\inetpub\wwwroot\cacti\auth_login.php on line 132
Password:
Notice: Undefined variable: database in c:\inetpub\wwwroot\cacti\include\database.php on line 17
Notice: Undefined variable: database in c:\inetpub\wwwroot\cacti\include\database.php on line 17
Warning: Cannot send session cookie - headers already sent by (output started at c:\inetpub\wwwroot\cacti\include\database.php:17) in c:\inetpub\wwwroot\cacti\include\auth.php on line 30
Warning: Cannot send session cache limiter - headers already sent (output started at c:\inetpub\wwwroot\cacti\include\database.php:17) in c:\inetpub\wwwroot\cacti\include\auth.php on line 30
Notice: Undefined index: user_id in c:\inetpub\wwwroot\cacti\include\auth.php on line 33
Notice: Undefined index: user_hash in c:\inetpub\wwwroot\cacti\include\auth.php on line 34
Notice: Undefined index: change_password in c:\inetpub\wwwroot\cacti\include\auth.php on line 44
Notice: Undefined variable: guest_account in c:\inetpub\wwwroot\cacti\include\auth.php on line 49
Notice: Undefined variable: au in c:\inetpub\wwwroot\cacti\include\auth.php on line 73
Notice: Undefined variable: action in c:\inetpub\wwwroot\cacti\auth_login.php on line 17
Notice: Undefined variable: badpassword in c:\inetpub\wwwroot\cacti\auth_login.php on line 118
Please enter your cacti user name and password below:
User Name:
Notice: Undefined variable: conf_drop_down_user_list in c:\inetpub\wwwroot\cacti\auth_login.php on line 132
Password:
Undefined variable errors are usually due to PHP's error level being set too high.
In your php.ini file, make sure the following is set:
Then restart Apache/IIS and see if cacti wants to behave.
-Ian
In your php.ini file, make sure the following is set:
Code: Select all
error_reporting = E_ALL & ~E_NOTICE
-Ian
Who is online
Users browsing this forum: No registered users and 1 guest