From: Collin S. <col...@co...> - 2006-07-15 03:21:39
|
I recently upgraded to Apache2::Pagekit 2.14.14 (w/mod_perl 2.0.1 and apache2 2.0.58) and have been having significant problems with the install. I narrowed the error down to Apache2::Request::PageKit: -- package Apache2::Request::PageKit; ... # object oriented method call, see Eagle p.65 sub handler : method { ... eval { $pk = $class->new( $requestrec ); ^^^^^ THE ERROR OCCURS AS THE OBJECT IS INSTANTIATED ^^^^ ... }; ^^^^^ ?!? THE METHOD CALL DOES NOT SEEM TO GET TO ?!? ^^^^ ^^^^^ ?!? THIS POINT DESPITE THE EVAL -- I'VE TESTED ?!? ^^^^ ^^^^^ ?!? IT WITH die "Error: $@" if $@ ?!? ^^^^ -- but I can't figure out how to debug from here given that a die "Error: $@" if $@; after the eval does not produce any output in error_log (and presumably the method is not even getting to this point.) My Config.xml GLOBALS and SERVERS tags are straightforward: -- <GLOBAL default_page = "index" fop_command = "/usr/java/jdk1.3.0_02/bin/java -cp /usr/local/javaclass/fop org.apache.fop.apps.CommandLine" gzip_output = "static" login_page="login1" model_base_class="PageKit::Common" model_dispatch_prefix="PageKit::CollinStarkweather::App" recent_login_timeout="10" session_expires="+1y" /> <SERVERS> <SERVER id="production" reload="no"/> <SERVER id="staging" can_edit="yes" reload="yes"/> </SERVERS> -- as is my httpd.conf configuration -- # For some reason PageKit doesn't see these if they are put in # the VirtualHost directive PerlSetVar PKIT_ROOT /app/apache2/site/www.collinstarkweather.com/pagekit PerlSetVar PKIT_SERVER staging <VirtualHost *:80> ... SetHandler perl-script PerlHandler +Apache2::PageKit <Perl> use Apache2::PageKit; Apache2::PageKit->startup; </Perl> PerlRequire /app/apache2/site/www.collinstarkweather.com/scripts/startup.pl PerlModule Apache2::ErrorReport PerlSetVar ErrorReportHandler display </VirtualHost> -- I'm certainly willing to try to debug things myself, but am stuck. Thanks, -Collin -- Collin Starkweather, Ph.D. http://www.collinstarkweather.com ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |