CGI ERROR - Misbehaving script error
Posted: Wed Sep 11, 2002 2:34 pm
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.
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.