Re: [Catalyst] FCGI problem.

2012-08-03 Thread Mark A. Stratman
On Aug 2, 2012, at 8:43 AM, Duncan Garland wrote:

> Any idea what’s causing this? I tried re-installing Plack::Handler::FCGI but 
> it just made things worse. It works using the development server or cgi. It 
> works using fcgi on our other servers.

> [warn] Use of uninitialized value $host in substitution (s///) at 
> /usr/lib64/perl5/site_perl/share/perl5/Catalyst/Engine.pm line 447,  
> line 998.

I can't say for certain, but it looks like neither the HTTP_HOST nor the 
SERVER_NAME environment variables are set.  Whether this is what's causing the 
FCGI to freak out remains to be seen, but if nobody else has a more 
authoritative answer, this is the first thing I would try to remedy.

- Mark___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] FCGI problem.

2012-08-02 Thread Duncan Garland
Any idea what's causing this? I tried re-installing Plack::Handler::FCGI but it 
just made things worse. It works using the development server or cgi. It works 
using fcgi on our other servers.

[info] Maintenance powered by Catalyst 5.90015
[warn] Use of uninitialized value in concatenation (.) or string at 
/usr/lib64/perl5/site_perl/share/perl5/Plack/Handler/FCGI.pm line 115,  
line 998.
[warn] Use of uninitialized value in quotemeta at 
/usr/lib64/perl5/site_perl/share/perl5/Plack/Handler/FCGI.pm line 117,  
line 998.
[warn] Use of uninitialized value in string eq at 
/usr/lib64/perl5/site_perl/share/perl5/Catalyst.pm line 2773,  line 998.
[info] *** Request 1 (1.000/s) [26264] [Thu Aug  2 14:29:39 2012] ***
[warn] Use of uninitialized value $host in substitution (s///) at 
/usr/lib64/perl5/site_perl/share/perl5/Catalyst/Engine.pm line 447,  line 
998.
[warn] Use of uninitialized value $host in concatenation (.) or string at 
/usr/lib64/perl5/site_perl/share/perl5/Catalyst/Engine.pm line 454,  line 
998.
[warn] Use of uninitialized value $host in concatenation (.) or string at 
/usr/lib64/perl5/site_perl/share/perl5/Catalyst/Engine.pm line 462,  line 
998.
[debug] Path is "/"
[debug] "" request for "/" from ""
[warn] Use of uninitialized value in string eq at 
/usr/lib64/perl5/site_perl/share/perl5/Catalyst/Action/RenderView.pm line 51, 
 line 998.
[debug] Rendering template "index"
[debug] Applying HTML page layout wrappers to index
[warn] binmode() on unopened filehandle GEN4 at 
/usr/lib64/perl5/site_perl/share/perl5/Plack/Handler/FCGI.pm line 158,  
line 998.
[warn] print() on unopened filehandle GEN4 at 
/usr/lib64/perl5/site_perl/share/perl5/Plack/Handler/FCGI.pm line 170,  
line 998.
[warn] Use of uninitialized value in string eq at 
/usr/lib64/perl5/site_perl/share/perl5/Catalyst.pm line 1794,  line 998.
[warn] print() on unopened filehandle GEN4 at 
/usr/lib64/perl5/site_perl/share/perl5/Plack/Handler/FCGI.pm line 172,  
line 998.
[debug] Response Code: 200; Content-Type: text/html; charset=utf-8; 
Content-Length: 2199
[info] Request took 0.021762s (45.952/s)

Duncan
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/