Undefined Index

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

Moderators: Developers, Moderators

Post Reply
Apoc1970
Posts: 4
Joined: Tue Mar 26, 2002 7:20 am
Location: Germany
Contact:

Undefined Index

Post by Apoc1970 »

Hi,

I try to install cacti 0.6.6 on a Win2K Professional machine with Apache 1.3, MySQL 3.23.49, PHP 4.1.2 and ActiveState Perl 5.6.1.631.

When I try to open the index.php 6 Warnings are displayed.

Undefinded index: cactilogin in c:\Program Files\Apache Group\Apache\htdocs\auth\include\auth.php on line 31
Undefined index: changepassword in c:\Program Files\Apache Group\Apache\htdocs\auth\include\auth.php on line 35
Undefined variable: guest_account in c:\Program Files\Apache Group\Apache\htdocs\auth\include\auth.php on line 40
Undefined variable: au in c:\Program Files\Apache Group\Apache\htdocs\auth\include\auth.php on line 60
Undefined variable: action in c:\Program Files\Apache Group\Apache\htdocs\auth\include\login.php on line 16
Undefined variable: badpassword in c:\Program Files\Apache Group\Apache\htdocs\auth\include\login.php on line 100

:roll: What have I done wrong?
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Usually undefined variable messages are a result of the following not being in your php.ini file:

register_globals = On
register_argc_argv = On

See if that helps.

-Ian
Guest

Post by Guest »

Both variables are set to "On" in the php.ini file, as mentioned in the install file in the cacti distribution.

The php.ini file is located in the Windows 2000 System Root directory

c:\winnt

The warnings still occur. :(
Apoc1970
Posts: 4
Joined: Tue Mar 26, 2002 7:20 am
Location: Germany
Contact:

it was me

Post by Apoc1970 »

The Anonymous post above was made by me.

:wink:
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Someone just had the exact same error as you and was fixed using the php.ini file posted to this thread:

http://www.raxnet.net/board/viewtopic.php?t=256

See if that helps you at all.

-Ian
Apoc1970
Posts: 4
Joined: Tue Mar 26, 2002 7:20 am
Location: Germany
Contact:

Post by Apoc1970 »

:D

Yes, the modified php.ini made cacti work.

Thanx
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests