logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: blank page printed when using cgiapp_postrun: msg#00004

Subject: Re: blank page printed when using cgiapp_postrun
Hi Octavian,

Octavian Rasnita <orasnita@xxxxxxxxx> wrote:
I have made a program using CGI::Application,
CGI::Application::Plugin::Authentication and
CGI::Application::Plugin::DBH [...]
if I use header_props() in cgiapp_postrun, nothing is printed ...
That method is just:

sub cgiapp_postrun {
my $self = shift;
$self->header_props(-charset => 'ISO-8859-2');
}

I guess there is an incompatibility with the Authentication plugins,
but I don't know how to solve it.

I don't know which plugin(s) are causing the problem (Im still using CGI::App without any plugins) but I'd use one "old-school" workaround: add the following meta tag somewhere in the <head> of your html template:

<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-2" />

hope this helps,

-dave

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp@xxxxxxxxxxxxxxxxx/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>