Subject: | Cannot set $c->res->content_type in end() |
Perl version: 5.14.1 - x86_64-linux
OS: Linux dev 2.6.32-24-server #43-Ubuntu SMP Thu Sep 16 16:05:42 UTC
2010 x86_64 GNU/Linux
Catalyst: 5.80032
lighttpd (with mod_fastcgi)
Symptoms: I first noticed this problem using the setup above, running my
app's FCGI server. The server starts up fine, but a request to the root
url causes the stack trace below. This is reproducible.
Immediately afterwards, I started the Catalyst HTTP server and changed
the lighty config - everything worked ok for a while. However, this
morning the HTTP server generated a similar stack trace.
The error is sometimes triggered via my Root controller's end method
(below), but reproducing the error to paste info to create this ticket
has it triggered in Catalyst/Action/RenderView.pm. Seems to be
essentially the same error though.
Stack Trace generated with HTTP server: http://paste.scsys.co.uk/144304
Stack Trace generated with FastCGI server: http://paste.scsys.co.uk/144311
end method from Root.pm (error is the "my $content_type" line):
http://paste.scsys.co.uk/144312