ID: 32855 Updated by: [EMAIL PROTECTED] Reported By: balakrishnan at swathigroup dot com -Status: Open +Status: Bogus Bug Type: IIS related Operating System: Windows PHP Version: 4.3.10 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. We're not here to fix your stuff. Previous Comments: ------------------------------------------------------------------------ [2005-04-27 13:25:31] balakrishnan at swathigroup dot com Description: ------------ We purchased a product which was developed under PHP and Mysql environment. We are new to php environment. The purchased product said to run under PHP version 4.1.0 or above. When we running the application it generates lots of warnings and notice as below. Kindly help us to come out from this flaw. Reproduce code: --------------- <?PHP ############################################################# ## iDevAffiliate Version 4.0 - Copyright by iDevDirect.com ## Site: http://www.idevdirect.com/ ## Support: http://www.idevdirect.com/support/ ## Email: [EMAIL PROTECTED] ############################################################# $install_directory_name = "idevaffiliate"; ###################################################################### // Leave the following settings alone unless you experience errors. // Before adjusting, see step #3 in README.txt. // AUTOMATIC PATH SETTING - Do Not Adjust! // If This Doesn't Work Use The Manual Path Setting Below $path = $_SERVER['DOCUMENT_ROOT'] . "/" . "$install_directory_name"; // MANUAL PATH SETTING // Comment The Above PATH and UN-Comment The Below PATH //$path = "D:\sss projects\idevaffiliate"; // ################### DO NOT EDIT BELOW THIS LINE ################### include("$path/config/database.php"); if ($_REQUEST['cfg']) { include("$path/config/updates.php"); } $color_sheet_data=mysql_query("select * from idevaff_colors"); $color_sheet=mysql_fetch_array($color_sheet_data); ?> Expected result: ---------------- It should show a User name and password controls and a login button. Actual result: -------------- Notice: Undefined index: DOCUMENT_ROOT in D:\SSS Projects\LRBIKEscom\www\idevaffiliate\config\config.php on line 18 Warning: main(/lrbikescom/www/idevaffiliate/config/database.php): failed to open stream: No such file or directory in D:\SSS Projects\LRBIKEscom\www\idevaffiliate\config\config.php on line 26 Warning: main(): Failed opening '/lrbikescom/www/idevaffiliate/config/database.php' for inclusion (include_path='.;c:\php4\pear') in D:\SSS Projects\LRBIKEscom\www\idevaffiliate\config\config.php on line 26 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32855&edit=1
