I'm trying to run a nuke webportal, even after I setup the database, and connection string, I find that when I run the index.php file, I get as the first error 'Notice: Undefined variable: HTTP_USER_AGENT in C:\nuke\mainfile.php on line 16' then it's followed by a list of undefined constants with references to every php file that the index refers to.
This is the part of the php file that HTTP_USER_AGENT refers to:-
$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible')) {
if (extension_loaded('zlib')) {
ob_end_clean();
ob_start('ob_gzhandler');
}
} else if ($phpver > '4.0') {
if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) {
if (extension_loaded('zlib')) {
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);
//header('Content-Encoding: gzip');
}
}
}
is there some other module that has to be installed?, I already have php, and active perl installed, along with mysql.
This is the part of the php file that HTTP_USER_AGENT refers to:-
$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible')) {
if (extension_loaded('zlib')) {
ob_end_clean();
ob_start('ob_gzhandler');
}
} else if ($phpver > '4.0') {
if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) {
if (extension_loaded('zlib')) {
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);
//header('Content-Encoding: gzip');
}
}
}
is there some other module that has to be installed?, I already have php, and active perl installed, along with mysql.