I have sleazed thru, phpbuilder, and several ther sites including this one for information about this issue. On each site people have posted speculations, and on one occasion an explination indicated just what it ment.
And from what I have been able to gather, it was that the file did not exist in the locaiton specified.
That is not the case for me, the file does exist, the header("location: URL")
is correct in its syntax, the funny thing is that when I refresh the page it shows the correct page wich proves that it "did" find the file.
Anther explination was, PHP script finished without throwing anything to STDOUT. Problem with that is, you dont have to throw anything to stdout from a script, you can have a script proccess information that the current app can use to execute its functions.
I have tested this on my local machine a winXP pro box service packed to the tits, and it works fine. I throw apche for win32 on the same server that my scripts are (as well as were IIS is installed and serving websites) stop IISADMIN and start apache service, open browser and bang.. its ALL good.
So, its not STDOUT problem, its not a permisions problem.
It may be, platform specific to Win2K Server (although I have seen posts with people succesfully using php iis on a win2k server and advanced server for that matter)
It may be the configuration of IIS (although its pretty simplistic)
And if it is a configuration poblem, what might it be.
CGI ERROR - Misbehaving script error
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
One thing to try might be to go into IIS and right click on the your computer's/server's name, select properties and click on the Edit button for the Master Services. Then select the Home Directory tab and press the configuration button. Find the .php extension in the list and press the Edit button. Finally select the 'Check that file exists' option and OK your way out. Now you should get 404 errors when a PHP page cannot be found and hopefully another error if that's not the case. It's not a solution but it may show if the server really thinks it can't find the file.
Mac
Mac