PDA

View Full Version : Premature end of script headers


Moofed
May 9th, 2006, 08:09 PM
I am trying to install rails on my site via the ocs-install-rails script and rails applications are failing to run. ~/logs/errors_log reports:
Premature end of script headers: dispatch.cgi
I have checked everything suggested in this (http://www.ocsforums.com/showthread.php?t=276) thread, and I can login to mysql manually, and running dispatch.cgi from a shell gives a 500 error. Ideas?

BTW, the ocs-install-rails script is looking for /usr/local/bin/bash. I had to use 'bash /usr/local/bin/ocs-install-rails' in order for it to run.

rob
May 11th, 2006, 03:27 AM
Looks like the script was on a FreeBSD machine of ours and copied over from there instead of our central mirror :) I'll get that fixed.

As for the dispatch.cgi error, we'll need to do some investigating. Please open a ticket and we'll look at it as soon as possible.