From: Boris Z. <bz...@2b...> - 2006-07-15 13:05:45
|
Hi Collin, I guess the problem is, that the uploadlimit from libapreq2 has changed to a new lower limit. The solution is a) set your post_max in pagekits global config file to a value >= 64_000_000 (64MB) b) to raise the limit in your httpd.conf file. with APREQ2_ReadLimit 100000000 Am 15.07.2006 um 05:21 schrieb Collin Starkweather: > 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. > > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Pagekit-users mailing list > Pag...@li... > https://lists.sourceforge.net/lists/listinfo/pagekit-users -- Boris |