kethd Posted February 6, 2008 Report Share Posted February 6, 2008 First-timer can't get started.Using Uniform Server 3.5-Apollo and Firefox 2.0.0.11 under Win98SE.APANEL fails at launch -- displays in browser: http://localhost/apanel/ Warning: include(W:/home/home/admin/www/includes/lang/en.php) [function.include]: failed to open stream: No such file or directory in W:\home\admin\www\index.php on line 13 Warning: include() [function.include]: Failed opening 'W:/home/home/admin/www/includes/lang/en.php' for inclusion (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear;/home/admin/www/plugins/pear/PEAR') in W:\home\admin\www\index.php on line 13 Warning: file_get_contents(W:/home/home/admin/www/includes/.lang) [function.file-get-contents]: failed to open stream: No such file or directory in W:\home\admin\www\index.php on line 15 Warning: Cannot modify header information - headers already sent by (output started at W:\home\admin\www\index.php:13) in W:\home\admin\www\index.php on line 17 What is wrong? How to fix? Is anyone running 3.5 under Win98SE with success? At first, had this basic error: Out of environment spaceFixed that by adding this line to CONFIG.SYS: SHELL=C:\COMMAND.COM /E:4096 /P Seems certain that the 3.5 software uncompressed OK. Took same files to the library on USB stick, launched under XP, apanel opened fine. I thought this would be the easiest way to try out PHP, but now I wonder... Thank You for any help/advice! Quote Link to comment Share on other sites More sharing options...
Ric Posted February 6, 2008 Report Share Posted February 6, 2008 I think you may need to increase the environment space even more to say:SHELL=C:\COMMAND.COM /E:8192 /P Try that first. The real problem the environment variable %Disk% is not being picked up n the following:File: config.inc.phpLocated in folder: *\Uniform Server\udrive\home\admin\www\includes Open this file and locate these lines: $drive = $_ENV['Disk'] . ":"; if($drive == ":"){ $path = realpath(dirname($_SERVER['config.inc.php'])); $pathArray = explode("\\",$path); $drive="$pathArray[0]/$pathArray[1]"; }$usr = "$drive/usr"; There is an error in the code that is normally never seen however because the variable is not being passed in you situation this error is highlighted. Anyway you have two options: Either: 1) Change this line: $drive="$pathArray[0]/$pathArray[1]"; To: $drive="$pathArray[0]";2) Alternatively add the line shown in bold: $drive = $_ENV['Disk'] . ":"; if($drive == ":"){ $path = realpath(dirname($_SERVER['config.inc.php'])); $pathArray = explode("\\",$path); $drive="$pathArray[0]/$pathArray[1]"; }$drive=”W:”;$usr = "$drive/usr"; If you look at the paths where the errors occour you will notice there is a double homeW:/home/home/admin/www/includes/lang/en.php clearly that does not exist hence.. All the bestRic Quote Link to comment Share on other sites More sharing options...
Ric Posted July 3, 2008 Report Share Posted July 3, 2008 Well quick dirty fixes always come back to haunt. This is no exception I think the combined bug fix see Wiki will resolve this: http://wiki.uniformserver.com/index.php/Bu..._config_inc_php All the bestRic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.