Rick Delaney wrote:
Permissions were already good though. Apache runs as user/group www-data, and the www-data user had write perms on those dircectories in /usr/local/caf. Even after doing a chmod -R 777 /usr/local/caf, as this is a test/devel server, the same error happens.On Fri, Jun 09, 2006 at 02:49:04PM -0400, Rick Delaney wrote:No, the message is coming from CGI/Application.pm. The messed up file and line number are because C::A::F sets $Carp::CarpLevel without localizing it, I think.I'm wrong about this, although it should be localized in case trapped with eval. The problem is with CGI::Carp qw(fatalsToBrowser), which does the wrong thing when a die is trapped by an eval. This appears to be improved in the latest CGI on CPAN. Although fatalsToBrowser is nice, a workaround is to turn it off and just check your error log when something goes wrong. With fatalsToBrowser disabled, I get this which isn't too much different. Error executing class callback in prerun stage: Permission denied at /usr/share/perl/5.8/CGI/Carp.pm line 314. (in cleanup) Permission denied at /usr/share/perl/5.8/CGI/Carp.pm line 314. [Fri Jun 9 15:53:04 2006] [error] [client 192.168.21.11] Premature end of script headers: /usr/local/caf/cgi-bin/app.cgi CGI::Carp is latest version from CPAN. Wim |
_______________________________________________ caf mailing list caf@lpi.org http://list.lpi.org/cgi-bin/mailman/listinfo/caf