Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    Hi Guys,

    My brain's run out of steam on this one.

    I'm running PHP 4.3 on a Windows 2003 server and IIS 6.

    When I should ordinarily get a 404 error page I'm getting the following error:
    Code:
    Warning: Unknown(E:\Inetpub\WWWRoot\WWWSites\siemens\bbc\nonsla.php):
     failed to open stream: No such file or directory in Unknown on line 0
    
    Warning: (null)(): Failed opening 'E:\Inetpub\WWWRoot\WWWSites\siemens\bbc\nonsla.php'
    for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0
    I've looked at a few possible solutions for this including setting the IIS custom error page and enabling file verification for the PHP mapping but nothing has helped.

    Any ideas?

  2.  

  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,656
    Member #
    1234
    Liked
    137 times
    .; before the include path?
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com

  4. #3
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    I don't think it's that because it looks much like the generic "cannot find included file" error message.

    It's as though it's complaining that it can't find a required file called from within a script file rather than returning a simple 404 error and supplying the page cannot be found file.

    I was reading that under IIS php.ini needs this:

    cgi.force_redirect = 0

    which goes against the default for Apache etc. Apparently the error comes from having the above turned on which causes the server to return a 200 instead of a 404.

    I assume that if it's returning a 200 (everything is cool and the gang) then it proceeds to try to parse a page that doesn't exist and the PHP error monkey kicks in instead.

    All speculation though...


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:32 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com