Problems with Cacti 0.66 on Win2K/Apache

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

Moderators: Developers, Moderators

Post Reply
jgriesel
Posts: 2
Joined: Tue Mar 26, 2002 3:48 pm
Location: Houston, TX

Problems with Cacti 0.66 on Win2K/Apache

Post by jgriesel »

While I have been able to get the supporting software installed on my Win2K Server, I am seeing numerous errors that I can not get resolved.

I have installed the following SW:
Apache 1.3.23
PHP 4.1.2
MySQL 1.3.23
rddtool 1.0.33

I have installed the Apache/PHP/MySQL aparently successfullly, since I can bring up a PHP info web page, and I have installed PHPMyAdmin and created the cacti database and populated t with the required fields.

But, when I lauch cacti, I get numerous undefined variable warnings. The first two were for the /auth/include/database.php file and /include/database.php files in reference to the $database variable. After setting hte variable to a nul value at the begineeing of each file ($database = "";) I was finally able to get the first time configuration page, but it had the following error:
Warning: Undefined variable: action in d:\server\apache\apache\htdocs\cacti\environment.php on line 68

I was able to fill in the fields and continue on, but now I get these errors:
Warning: Undefined index: cactilogin in d:\server\apache\apache\htdocs\cacti\auth\include\auth.php on line 31
Warning: Undefined index: changepassword in d:\server\apache\apache\htdocs\cacti\auth\include\auth.php on line 35
Warning: Undefined variable: guest_account in d:\server\apache\apache\htdocs\cacti\auth\include\auth.php on line 40
Warning: Undefined variable: au in d:\server\apache\apache\htdocs\cacti\auth\include\auth.php on line 60
Warning: Undefined variable: action in d:\server\apache\apache\htdocs\cacti\auth\include\login.php on line 16
Warning: Undefined variable: badpassword in d:\server\apache\apache\htdocs\cacti\auth\include\login.php on line 100


I could continue to define undefined vairable, but I would probably start breaking something. Is there a file that I am missing that seed all these variable?

Any suggestions?

Thanks.
Guest

Post by Guest »

Try the PHP.INI file below (you'll need to modify some dir paths)
safe_mode_gid=Off
gpc_order="GPC"
enable_dl=On
cgi.force_redirect=0
define_syslog_variables=Off
SMTP=localhost
sendmail_from=me@localhost.com
sql.safe_mode=Off
odbc.allow_persistent=On
odbc.check_persistent=On
odbc.max_persistent=-1
odbc.max_links=-1
odbc.defaultlrl=4096
odbc.defaultbinmode=1
mysql.allow_persistent=On
mysql.max_persistent=-1
mysql.max_links=-1
msql.allow_persistent=On
msql.max_persistent=-1
msql.max_links=-1
pgsql.allow_persistent=On
pgsql.max_persistent=-1
pgsql.max_links=-1
sybase.allow_persistent=On
sybase.max_persistent=-1
sybase.max_links=-1
sybase.min_error_severity=10
sybase.min_message_severity=10
sybase.compatability_mode=Off
sybct.allow_persistent=On
sybct.max_persistent=-1
sybct.max_links=-1
sybct.min_server_severity=10
sybct.min_client_severity=10
bcmath.scale=0
ifx.allow_persistent=On
ifx.max_persistent=-1
ifx.max_links=-1
ifx.textasvarchar=0
ifx.byteasvarchar=0
ifx.charasvarchar=0
ifx.blobinfile=0
ifx.nullformat=0
session.save_handler=files
session.save_path=C:\PHP\sessiondata
session.use_cookies=1
session.name=PHPSESSID
session.auto_start=0
session.cookie_lifetime=0
session.cookie_path=/
session.serialize_handler=php
session.gc_probability=1
session.gc_maxlifetime=1440
session.entropy_length=0
session.cache_limiter=nocache
session.cache_expire=180
session.use_trans_sid=1
url_rewriter.tags="a=href,area=href,frame=src,input=src,form=fakeentry"
pfpro.defaulthost="test-payflow.verisign.com"
pfpro.defaultport=443
pfpro.defaulttimeout=30
sockets.use_system_read=On
expose_php=On
allow_url_fopen=On
max_execution_time=60
memory_limit=16M
include_path="c:\php\includes;c:\www\cacti"
extension_dir="C:\php\extensions\"
engine=On
y2k_compliance=Off
output_buffering=Off
zlib.output_compression=Off
short_open_tag=On
asp_tags=Off
allow_call_time_pass_reference=On
implicit_flush=Off
precision=14
display_errors=On
error_reporting=E_USER_ERROR
display_startup_errors=Off
track_errors=Off
warn_plus_overloading=Off
html_errors=On
log_errors=Off
variables_order="EGPCS"
magic_quotes_gpc=On
register_globals=On
register_argc_argv=On
magic_quotes_runtime=Off
magic_quotes_sybase=Off
post_max_size=8M
default_mimetype="text/html"
default_charset="iso-8859-1"
file_uploads=On
upload_tmp_dir="C:\PHP\uploadtemp"
upload_max_filesize=2M
safe_mode=Off
safe_mode_allowed_env_vars="PHP_"
safe_mode_protected_env_vars="LD_LIBRARY_PATH"
jgriesel
Posts: 2
Joined: Tue Mar 26, 2002 3:48 pm
Location: Houston, TX

thanks

Post by jgriesel »

thanks, that fixed the problems. :D
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests