CGI Error after IIS Installation. No resolution. Anyone with success PLEASE HELP!
Page: 1, 2
Hello,
I apologize for the duplicate post, but my first post has grown cold (5 weeks since the last response) and I need help resolving the issue.
We purchased AC for our company to use several months ago (after a trial run on my personal server). The company unfortunately exclusively runs IIS on Windows servers. Running VMWare or getting a separate LINUX box is out of the question...so I am stuck trying to get this to work on IIS.
Here's what I know:
1) Installation goes great! It connects, sets up the database, all green lights.
2) When I try to view the /public/ page I see the following error:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Ilija told me it was a server configuration issue and that they don't support IIS. Our server administrators told me that since the script installed perfectly without any problems, that it's a problem with the code. I don't care what's to blame. I just need someone to help me figure out why this isn't working! Clearly some of you have had success installing on IIS. But I don't know what's different about my environment from those of you that have NOT had this same problem.
This has become a real problem for our business and I need resolution ASAP or else we're going to have to give up on AC and loose our $400 investment.
HELP HELP HELP!
(Thanks for the help!)
I apologize for the duplicate post, but my first post has grown cold (5 weeks since the last response) and I need help resolving the issue.
We purchased AC for our company to use several months ago (after a trial run on my personal server). The company unfortunately exclusively runs IIS on Windows servers. Running VMWare or getting a separate LINUX box is out of the question...so I am stuck trying to get this to work on IIS.
Here's what I know:
1) Installation goes great! It connects, sets up the database, all green lights.
2) When I try to view the /public/ page I see the following error:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Ilija told me it was a server configuration issue and that they don't support IIS. Our server administrators told me that since the script installed perfectly without any problems, that it's a problem with the code. I don't care what's to blame. I just need someone to help me figure out why this isn't working! Clearly some of you have had success installing on IIS. But I don't know what's different about my environment from those of you that have NOT had this same problem.
This has become a real problem for our business and I need resolution ASAP or else we're going to have to give up on AC and loose our $400 investment.
HELP HELP HELP!
(Thanks for the help!)
andrewCharron
on Jan 15. 2008. 9:44 pm
I suppose that switching to Apache is out of the question completely?
This could be a PHP issue:
http://bugs.php.net/bug.php?id=25863
According to there, some developers are saying it is an issue with PHP being out of date. Are you running the latest copy of PHP5?
There are also a few user recommended changes below, but be careful.
This could be a PHP issue:
http://bugs.php.net/bug.php?id=25863
According to there, some developers are saying it is an issue with PHP being out of date. Are you running the latest copy of PHP5?
There are also a few user recommended changes below, but be careful.
Ilija Studen
on Jan 15. 2008. 9:58 pm
This is pretty nasty problem with PHP and IIS and I really don't know what can we do about this. As you can see in PHP bug tracker Andrew linked there is no solution just yet and problem seams to be random.
There is no need to set up a new Linux box, Apache would do just fine. It runs fine on Windows and you can run it on separate port if you already have IIS running on the server and occupying port 80.
If this is not an option contact us on support@a51dev.com regarding the refund or if you have any other proposition. We are really sorry, but some things are simply beyond our control.
PS: If anyone knows a solution for this problem we would be more than glad to hear it.
There is no need to set up a new Linux box, Apache would do just fine. It runs fine on Windows and you can run it on separate port if you already have IIS running on the server and occupying port 80.
If this is not an option contact us on support@a51dev.com regarding the refund or if you have any other proposition. We are really sorry, but some things are simply beyond our control.
PS: If anyone knows a solution for this problem we would be more than glad to hear it.
activeCollab team member
Ilija Studen:This is pretty nasty problem with PHP and IIS and I really don't know what can we do about this. As you can see in PHP bug tracker Andrew linked there is no solution just yet and problem seams to be random.
There is no need to set up a new Linux box, Apache would do just fine. It runs fine on Windows and you can run it on separate port if you already have IIS running on the server and occupying port 80.
If this is not an option contact us on support@a51dev.com regarding the refund or if you have any other proposition. We are really sorry, but some things are simply beyond our control.
PS: If anyone knows a solution for this problem we would be more than glad to hear it.
Thanks Ilija,
I had seen that post before in all my research. I don't know that that post accurately represents this problem. Note that it was posted in 2003 and the latest reply to that post was 2005. Several versions of IIS and PHP ago.
To that point, we are running IIS6 and PHP 5.2.3.
Ilija Studen
on Jan 16. 2008. 1:20 pm
Does PHP runs through FastCGI or as ISAPI extension? I read more about these errors (there is a ton of reports) and some people suggested that simple switch to ISAPI would solve the problem. You can read more here.
activeCollab team member
Ilija Studen:Does PHP runs through FastCGI or as ISAPI extension? I read more about these errors (there is a ton of reports) and some people suggested that simple switch to ISAPI would solve the problem. You can read more here.
Thanks so much for trying to trouble shoot this with me Ilija. I've made the change to ISAPI and the error went away. But now a new problem has arrived. When I go to the active collab installation I just get a blank page. NO output code at all. Very strange.
Going to "activecollab.mydomain.com" does redirect to "activecollab.mydomain.com/public/index.php/login?re_route=homepage" so clearly something is working properly, but I'm just not getting any output.
Here's a screen shot of my PHP info as output by the server. For reference. Any thoughts?!

Oliver Maksimović
on Jan 16. 2008. 4:42 pm
Seems that PHP and IIS still do not love each other. I've been looking for a solution, too, but seems that there is no reliable way to get this problem solved (other than simply switching to Apache web server).
activeCollab team member, too ;)
Ilija Studen
on Jan 16. 2008. 5:04 pm
In case you get blank page you should open config/config.php and set DEBUG to 2. This will let PHP show error messages and give you more information about what is happening...
activeCollab team member
Ilija Studen:In case you get blank page you should open config/config.php and set DEBUG to 2. This will let PHP show error messages and give you more information about what is happening...
I tried that and still no change. Viewing source on the "login" screen is just a completely blank file.
An update to my progress for the day.
1) I've made recommended modification to my php.ini file as follows:
Turned off cgi.force_redirect (set equal to 0)
2) I've also checked permissions on the PHP directories and ensured that IUSR has proper access to the site and PHP.
3) Changed from CGI to ISAPI for PHP execution.
In my review of the php.ini file I noticed that almost all of the php extensions were still commented out. Here's what's in my file. Does anyone see any extensions that i might need to have in there for this to work properly?
Part two of this question is do I need to restart IIS whenever a change is made to php.ini or will it take effect immediately?
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_msql.dll
;extension=php_mssql.dll
extension=php_mysql.dll
;extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_pdo.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
;extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_zip.dll
Thanks!
~ Parker
1) I've made recommended modification to my php.ini file as follows:
Turned off cgi.force_redirect (set equal to 0)
2) I've also checked permissions on the PHP directories and ensured that IUSR has proper access to the site and PHP.
3) Changed from CGI to ISAPI for PHP execution.
In my review of the php.ini file I noticed that almost all of the php extensions were still commented out. Here's what's in my file. Does anyone see any extensions that i might need to have in there for this to work properly?
Part two of this question is do I need to restart IIS whenever a change is made to php.ini or will it take effect immediately?
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_msql.dll
;extension=php_mssql.dll
extension=php_mysql.dll
;extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_pdo.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
;extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_zip.dll
Thanks!
~ Parker



