Hi.

I've built a web-based application for work and during the test phase, some testers have experienced a CGI error saying:

CGI ERROR:
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

The server is a windows server running windows 2003, IIS6 and PHP version 4.3.9.

Can anyone help as I have 3 projects in progress and guess this will effect all of them. Any advice much appreciated :bemused: .

Many thanks

    Hi,

    which action(s) did cause that error message ?

    Thomas

      It seems to happen when they login to the system or save a record to the database. It doesn't happen all the time, just some times.

      If you need any other information just let me know - thanks for replying to my post so quickly 😉

        Ok,

        in most cases that means that php wasn't able to send anything because of e.g. a crash or some other error. This error can also happen if the php script doesn't exist at all and the option 'check file exists' isn't enabled in the IIS manager. Also check if the IUSR_???? user has read and execute rights on all the scripts, php4ts.dll, php.ini and all other files/extensions PHP tries to access.

        Can you reproduce that problem ?

        Thomas

          Thanks for that. I will get the IT guys to do the checks you mentioned. I havent had the error myself yet - only the other department that is testing it. Will try and do a load of figures myself tomorrow to see if I get it.

            5 days later

            I'm getting the error as well when I use the system - but not everytime. I've forwarded your suggestions to the IT guys and they said they've tried them all but it's still happening.

            Do you have any other suggestions?
            Any advice much appreciated.

            Many thanks

              Great thanks for that. Think this could be it. I didn't remember it happening on the old server and we have upgraded the server to a new fast dual processor machine.

              Reading the MS release it does seem to fit our situation. I have forwarded it on to the IT department to try it out and will let you know if it's sucessful.

              Many thanks for such a quick response!

                Write a Reply...