Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000111

Re: [PHP-DEV] Re: PHP 4.0 Bug #6093 Updated: Fatal error: Unable to open D:\Jana\html in Unknown on line 0 From: Andi Gutmans (andi <email protected>)
Date: 11/01/00

BTW, I just checked out the RFC
http://web.golux.com/coar/cgi/draft-coar-cgi-v11-03-clean.html#6.1.7 and it
seems to me that we should be using PATH_TRANSLATED and when using
DISCARD_PATH we should probably be using SCRIPT_NAME and not
SCRIPT_FILENAME. But I guess that isn't your problem.

Andi

At 03:28 PM 11/1/00 +0100, Thomas Hauck wrote:
>Hallo,
>
>i solved the Problem.
>
>I downloaded the source-code of php4 and after looking for a few minutes i
>found the error. You gays should somewhere tell the other people that php4
>has a build in error, and whants the scriptname as PATH_TRANSLATED to
>execute it. At least that is what the comment in the source of php4 says. As
>far as i know, is this because the apache server software for NT has this
>error. That means all other serversoftware has to build in the same error
>for the PATH_TRANSLATED variable. Whould it not be better to ask for the
>server-software environment variable and go the standard way if it is not
>apache for NT.
>
>As far as i know, is the PATH_TRANSLATED environment variable the
>physical translation of the PATH_INFO environment variable, and not the
>script filename.
>
>Sorry about my bad english.
>
>Mfg. T.Hauck
>
>Telefon : 07041/860686 ab 18.00 Uhr
>Email: T.Hauck <email protected>
> T.Hauck <email protected>
>Web: http://www.jana-server.ocm.de/
> http://home.t-online.de/home/T.Hauck/
>
>----- Original Message -----
>From: "Bug Database" <php-dev <email protected>>
>To: <T.Hauck <email protected>>
>Sent: Wednesday, November 01, 2000 3:05 PM
>Subject: PHP 4.0 Bug #6093 Updated: Fatal error: Unable to open D:\Jana\html
>in Unknown on line 0
>
>
> > ID: 6093
> > Updated by: sniper
> > Reported By: T.Hauck <email protected>
> > Status: Feedback
> > Bug Type: *General Issues
> > Assigned To:
> > Comments:
> >
> > Have you tried using PHP4.0.3pl1 ?
> > Does the problem still exist?
> >
> > --Jani
> >
> >
> > Previous Comments:
> > --------------------------------------------------------------------------
>-
> >
> > [2000-08-10 23:09:01] T.Hauck <email protected>
> > Hallo,
> >
> > i'am writting a Http-Server for Windows. I prev. used PHP 3.0.16 and it
>worked fine. No i installed a PHP 4.0.1pl2 and i will get on the same
>scripts this message:
> > Fatal error: Unable to open D:Janahtml in Unknown on line 0
> > where D:Janahtml ist the root directory of the scripts.
> >
> > I tracked it so far down, that if i do not set a few specific eniroment
>varibals, it works. I include a list with all the enviroment variables the
>http-server sends.
> >
> > If i leave the ones marked with a * away it works !
> >
> > COMPUTERNAME=THOMAS
> > COMSPEC=C:WINNTsystem32cmd.exe
> > DOCUMENT_ROOT=D:Janahtml
> > *GATEWAY_INTERFACE=CGI/1.1
> > HOME=D:Janahtml
> > HOMEDRIVE=C:
> > HOMEPATH=
> > HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
>application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint,
>*/*
> > HTTP_ACCEPT_ENCODING=
> > HTTP_ACCEPT_LANGUAGE=de
> > HTTP_COOKIE=last_loginid=Thomas
> > HTTP_HOST=thomas
> > HTTP_REFERER=
> > HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
> >
>INCLUDE=D:ProgrammeMS-StudioVC98atlinclude;D:ProgrammeMS-StudioVC98mfcinclud
>e;D:ProgrammeMS-StudioVC98include;d:CenturaCAPI
> >
>LIB=D:ProgrammeMS-StudioVC98mfclib;D:ProgrammeMS-StudioVC98lib;d:CenturaCAPI
> > LOGONSERVER=\THOMAS
> > MSDEVDIR=D:ProgrammeMS-StudioCommonMSDev98
> > NUMBER_OF_PROCESSORS=1
> > OS2LIBPATH=C:WINNTsystem32os2dll;
> > OS=Windows_NT
> >
>PATH=C:Perlbin;C:WINNTsystem32;C:WINNT;D:Centura;D:ProgrammeSymantecpcAnywhe
>re;C:Phpbin;D:ProgrammeMS-StudioCommonToolsWinNT;D:ProgrammeMS-StudioCommonM
>SDev98Bin;D:ProgrammeMS-StudioCommonTools;D:ProgrammeMS-StudioVC98bin
> > PATH_INFO=
> > PATH_TRANSLATED=D:Janahtml
> > PROCESSOR_ARCHITECTURE=x86
> > PROCESSOR_IDENTIFIER=x86 Family 6 Model 7 Stepping 3, GenuineIntel
> > PROCESSOR_LEVEL=6
> > PROCESSOR_REVISION=0703
> > QUERY_STRING=
> > REMOTE_ADDR=190.111.111.77
> > REMOTE_HOST=190.111.111.77
> > REMOTE_PORT=2629
> > *REQUEST_METHOD=GET
> > REQUEST_URI=/env.pl
> > SCRIPT_NAME=/env.pl
> > SERVER_ADDR=190.111.111.77
> > SERVER_ADMIN=T.Hauck <email protected>
> > *SERVER_NAME=thomas
> > SERVER_PORT=80
> > SERVER_PROTOCOL=HTTP/1.1
> > *SERVER_SOFTWARE=Jana-Server/2.0
> > SYSTEMDRIVE=C:
> > SYSTEMROOT=C:WINNT
> > TEMP=C:TEMP
> > TMP=C:TEMP
> > USERDOMAIN=THOMAS
> > USERNAME=Thomas
> > USERPROFILE=C:WINNTProfilesThomas
> > WINDIR=C:WINNT
> > (generatet with a perl-script, because php does't work)
> >
> > There must be some reason for that message with the enviroment variables.
> > By the way the php.ini file i left unchanged and copyed it to the
>Windowsdirectory.
> >
> > It would be greate to here from you soon. What i'am doing wrong.
> >
> > Thanks Thomas Hauck, Germany
> > http://www.jana-server.ocm.de/
> > Mail:T.Hauck <email protected>
> >
> >
> >
> > --------------------------------------------------------------------------
>-
> >
> >
> > Full Bug description available at: http://bugs.php.net/?id=6093
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>