[Catalyst] Problems upgrading .psgi file (Warning "You are
running Catalyst::Engine::PSGI,
which is considered a legacy engine for,
this version of Catalyst." -> Error "response must be an array
reference")
Tomas Doran
bobtfish at bobtfish.net
Thu May 3 10:04:20 GMT 2012
On 3 May 2012, at 07:52, Erik Wasser wrote:
> [error] response must be an array reference
>
> This error message comes from the source of mod_psgi.
>
> The content after the restart with the modified .psgi file is a "500
> Internal Server Error" error page from every request.
>
> I'm using Catalyst 5.90011. What's wrong here? Isn't mod_psgi working
> anymore? Is mod_psgi still the way to go with apache and catalyst? Did I
> read "Catalyst::Runtime" correctly?
Catalyst uses the psgi.streaming interface, and mod_psgi doesn't support this.
Try adding Plack::Middleware::BufferedStreaming to make your responses unbuffered?
Cheers
t0m
More information about the Catalyst
mailing list