Orb
05-08-2004, 04:28 PM
Hi im trying to install phpdig under Xitami with php 4.3.6.6 win98.
I have modified the connect file for sql connection, when i go to the intall.php file i get these errors..
Notice: Use of undefined constant SCRIPT_FILENAME - assumed 'SCRIPT_FILENAME' in C:\XITAMI\web\phpdig\includes\config.php on line 18
Notice: Undefined index: SCRIPT_FILENAME in C:\XITAMI\web\phpdig\includes\config.php on line 18
Notice: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' in C:\XITAMI\web\phpdig\includes\config.php on line 18
Notice: Undefined index: REQUEST_URI in C:\XITAMI\web\phpdig\includes\config.php on line 18
Warning: Cannot modify header information - headers already sent by (output started at C:\XITAMI\web\phpdig\includes\config.php:18) in C:\XITAMI\web\phpdig\libs\auth.php on line 25
Warning: Cannot modify header information - headers already sent by (output started at C:\XITAMI\web\phpdig\includes\config.php:18) in C:\XITAMI\web\phpdig\libs\auth.php on line 26
Line 18 is :
18: if (eregi("config.php",$_SERVER['SCRIPT_FILENAME']) || eregi("config.php",$_SERVER['REQUEST_URI'])) {
19: exit();
Ive set the session folder in my php.ini to c:\tmp so am not sure about the headers already sent errors other scripts work fine..
Any help would be great thanks..
Orb...
I have modified the connect file for sql connection, when i go to the intall.php file i get these errors..
Notice: Use of undefined constant SCRIPT_FILENAME - assumed 'SCRIPT_FILENAME' in C:\XITAMI\web\phpdig\includes\config.php on line 18
Notice: Undefined index: SCRIPT_FILENAME in C:\XITAMI\web\phpdig\includes\config.php on line 18
Notice: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' in C:\XITAMI\web\phpdig\includes\config.php on line 18
Notice: Undefined index: REQUEST_URI in C:\XITAMI\web\phpdig\includes\config.php on line 18
Warning: Cannot modify header information - headers already sent by (output started at C:\XITAMI\web\phpdig\includes\config.php:18) in C:\XITAMI\web\phpdig\libs\auth.php on line 25
Warning: Cannot modify header information - headers already sent by (output started at C:\XITAMI\web\phpdig\includes\config.php:18) in C:\XITAMI\web\phpdig\libs\auth.php on line 26
Line 18 is :
18: if (eregi("config.php",$_SERVER['SCRIPT_FILENAME']) || eregi("config.php",$_SERVER['REQUEST_URI'])) {
19: exit();
Ive set the session folder in my php.ini to c:\tmp so am not sure about the headers already sent errors other scripts work fine..
Any help would be great thanks..
Orb...