Page 1 of 1

CGI Error when trying to run install

Posted: Wed May 24, 2006 1:30 am
by tcustomgolf
I have run the CMS install on two other hosts successfully, but getting the below error on a third:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


and that's it....doesn't return anything.

Tried running via the index.php in the root, and also via the install/instal.php. It happens as soon as I run the install.

Any help would be appreciated.

Re: CGI Error when trying to run install

Posted: Wed May 24, 2006 12:01 pm
by tcustomgolf
And, FYI....

This was a different host than the other two, but they say all the install requirements meet what CMSMS requires; and I am running v.13.

Re: CGI Error when trying to run install

Posted: Wed May 24, 2006 3:57 pm
by Elijah Lofgren
tcustomgolf wrote: I have run the CMS install on two other hosts successfully, but getting the below error on a third:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


and that's it....doesn't return anything.

Tried running via the index.php in the root, and also via the install/instal.php. It happens as soon as I run the install.

Any help would be appreciated.
Is your server a Windows server running IIS? It could that a patch from Microsoft will fix it: http://support.microsoft.com/default.as ... -US;884764

A suggestion in the php bug: http://bugs.php.net/bug.php?id=25863
is to:
Hi all!

Actually, all you need to do is specify a MIME type.  Put this line at
the top of your code, and voila!

print "Content-type: text/html\n\n";

Pretty simple really...  ;)
So you could try adding

Code: Select all

print "Content-type: text/html\n\n";
to the top of both index.php and install/install.php after this line:

Code: Select all

<?php

Re: CGI Error when trying to run install

Posted: Wed May 24, 2006 6:19 pm
by tcustomgolf
Elijah,

Thanks for all the good info....

I was led to believe the server was Linux with Apache...the error seems to be an IIS issue, so I went back to the company to get the specs of the server to be sure.

I did try the updates to index/instal.php and same error, so it could possibly be the former, and I guess the host would need to patch IIS.

Re: CGI Error when trying to run install

Posted: Wed May 24, 2006 6:25 pm
by tcustomgolf
P.S. - Just found out it is a Linux/Apache server....

Any other thoughts??

Re: CGI Error when trying to run install

Posted: Wed May 24, 2006 9:52 pm
by Ted
Sounds like something between php/apache to me.  We don't even have an error like that in our code.

Are you having issues running any other php apps on that machine?

Re: CGI Error when trying to run install

Posted: Wed May 24, 2006 9:59 pm
by tcustomgolf
Haven't tried any others....a brand new shared host with nothing else on it....
Any php app you know of I could try?