Forums / Installing on a Windows Server / The specified CGI application misbehaved by not returning a complete set of HTTP head

The specified CGI application misbehaved by not returning a complete set of HTTP head

Locked
Results 1 to 7 of 7
This thread is locked. New replies are disabled.
07 Jul 2009, 01:59
#1
radox avatar

radox

New Zenner

Join Date:
Jul 2009
Posts:
5
Plugin Contributions:
0

The specified CGI application misbehaved by not returning a complete set of HTTP head

Just installed 1.3.8 on Windows 2003
Running PHP Fast CGI

See here:
www.zadrosolutions.com/info.php

Everything seems to work (so far) but I can't figure out why I get a CGI error when I click on the "version" link in the admin panel.

admin/server_info.php <-- CGI error here

I'm not too worried on the version, but don't want this to bring up issues later or have the client click on it.

Please advise...

Thanks in advance.
07 Jul 2009, 02:26
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: The specified CGI application misbehaved by not returning a complete set of HTTP head

I'm having a hard time guessing what exactly the "CGI error here" message might actually say ...
07 Jul 2009, 02:40
#3
radox avatar

radox

New Zenner

Join Date:
Jul 2009
Posts:
5
Plugin Contributions:
0

Re: The specified CGI application misbehaved by not returning a complete set of HTTP head

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers.
07 Jul 2009, 03:12
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: The specified CGI application misbehaved by not returning a complete set of HTTP head

Maybe you have a bad version of PHP? What version (number) are you using?
Has it always done that? Or did it just start recently?

Some related discussions:
http://www.zen-cart.com/forum/showthread.php?t=41360
http://www.zen-cart.com/forum/showthread.php?t=35536
http://www.zen-cart.com/forum/showthread.php?t=38938
07 Jul 2009, 11:26
#5
radox avatar

radox

New Zenner

Join Date:
Jul 2009
Posts:
5
Plugin Contributions:
0

Re: The specified CGI application misbehaved by not returning a complete set of HTTP head

I'm using PHP version 5.2.5

This is the fist time I've installed Zen Cart. I have never seen this error on any other application.
07 Jul 2009, 11:31
#6
radox avatar

radox

New Zenner

Join Date:
Jul 2009
Posts:
5
Plugin Contributions:
0

Re: The specified CGI application misbehaved by not returning a complete set of HTTP head

I switched PHP to ISAPI mode, and everything works.
Has anyone else got this to work in Fast-CGI mode?

I need Fast-CGI for other applications.

Thanks.
08 Jul 2009, 00:58
#7
jakefrommsft avatar

jakefrommsft

New Zenner

Join Date:
Jul 2009
Posts:
15
Plugin Contributions:
0

Re: The specified CGI application misbehaved by not returning a complete set of HTTP head

Hi -

The error message you are seeing there is sent from CGI, rather than FastCGI. CGI sends this error when the CGI or PHP processes complete without returning response headers.

So, the first thing to fix is the PHP handler. I can tell you how to do that if you tell me how you installed PHP (using the Installer, the ZIP file, from the Web Platform Installer, or some other method).

It's possible that the second issue of the process not returning response headers is related to the handler configuration. If it's not, you should get a more descriptive error once we have FastCGI working properly.

-Jake

--
Steve Jacobson (Jake)
Microsoft IIS Team
stjacobs at microsoft dot com