Re: APR::Table sporadic error

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Friday, May 06, 2011 17:24:18 Jason Aubrey wrote:
> Any hints/tips/ideas would be very much appreciated.

Are you really sure (I mean really really) that APR::Table is loaded? I 
see you load Apache2::Log but nothing about APR::Table.

I think if you replace line 74

  my $warnings = $r->notes->get("warnings");

by

  my $warnings = eval {$r->notes->get("warnings")};
  if( $@ ) {
    warn "APR::Table is '$INC{q{APR/Table.pm}}'";
    die $@;
  }

you will see that it is not loaded.

If you use a threaded Perl make sure every interpreter loads APR::Table. 
Do you by chance use PerlOptions +Parent in a VHost?

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.