On Sat, 2008-01-05 at 21:19 +0200, Stefan Petrea wrote:

Hi Stefan

> I'm very new to CGI::Application

Welcome to the club!

> I'm using this example here http://www.redantigua.com/cgi-application1.html 
> for
> learning how to use CGI::Application.
> I get 500 every time I run helloworld.cgi-app.pl 
> What can I do about this ?
> It just seems that the pl is not sending any headers.
> How can I solve this problem ?

Things to check:

1) Is the template in the same directory as the CGI script? It should
be, because of this line (IMHO):
   $self->tmpl_path('./');
in the *.pm file

2) Are the permissions correct on /all/ 3 files?
 - CGI script
 - Template
 - *.pm
-- 
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/index.html



#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to