I am trying to write an application for my church. I have an option
for uploading images to a controller. It is using attachment_fu. It
works fine without any problem in Mongrel_rails.
But, when I tried to deploy it to Phusion Passenger, I consistently
gets "Premature end of script headers". And, I even set the httpd.conf
to debug. I still don't see any outputs from where ti is causing it.
It is pretty clear this problem only shows up in Phusion Passenger.
And, the problem is aways with uploading the file and Attachment_fu.
Is there a solution for this problem?
Many thanks,
-Ray
--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To post to this group, send email to phusion-...@googlegroups.com.
To unsubscribe from this group, send email to phusion-passen...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.
No, Phusion Passenger is open source.
Which Rails version are you using? And have you tried looking in the
web server error log?
--
Phusion | The Computer Science Company
Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, appfa...@appfactory.us and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
There's a bug in Rails 2.3.5 which causes some error messages not to
be displayed. Try applying the patch here:
https://rails.lighthouseapp.com/projects/8994/tickets/3577-failsafe-middleware-should-flush-the-logger
With this you might see a proper error message in the logs.
Here is the mini app that I wrote to test this problem with Attachment_fu. I have spent quite bit of time. It is still acting erratically. Can someone please help me and look at the problem?
Thanks,
-Ray