Cacti and Win32, install problems

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
stu

Cacti and Win32, install problems

Post by stu »

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
stu

An update

Post by stu »

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:
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

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:

Code: Select all

error_reporting =       E_ALL & ~E_NOTICE
Then restart Apache/IIS and see if cacti wants to behave.

-Ian
stu

That got it!

Post by stu »

Thanks Rax. Seems to be working now.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests