NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item11383 for general documentation changes for release 1.1.5. Use
Item9693 for docu changes for release 2.0.
Item2159: mod_perl under apache 2.2 broken
Using
ModPerlEngineContrib under apache 2.2. under
FreeBSD? 7.x seems to be broken.
First of, i needed to set
use lib qw( /some/path/bin );
in tools/mod_perl_startup.pl
Then I got:
[Fri Sep 25 16:18:48 2009] [error] Can't locate object method "status" via package "Foswiki::Engine::Apache2::MP20" at /some/path/lib/Foswiki/Engine/Apache.pm line 213.\n at /some/path/lib/Foswiki/Engine/Apache.pm line 213\n\tFoswiki::Engine::Apache::finalizeHeaders('Foswiki::Engine::Apache2::MP20=HASH(0x8dfc9c0)', 'Foswiki::Response=HASH(0x8f7ae94)') called at /some/path/lib/Foswiki/Engine/Apache2.pm line 44\n\tFoswiki::Engine::Apache2::finalizeHeaders('Foswiki::Engine::Apache2::MP20=HASH(0x8dfc9c0)', 'Foswiki::Response=HASH(0x8f7ae94)') called at /some/path/lib/Foswiki/Engine.pm line 298\n\tFoswiki::Engine::finalizeError('Foswiki::Engine::Apache2::MP20=HASH(0x8dfc9c0)', 'Foswiki::Response=HASH(0x8f7ae94)') called at /some/path/lib/Foswiki/Engine.pm line 115\n\tFoswiki::Engine::__ANON__('Error::Simple=HASH(0x8f7ad14)', 'SCALAR(0x8c3ad84)') called at /some/path/lib/CPAN/lib/Error.pm line 339\n\teval {...} called at /some/path/lib/CPAN/lib/Error.pm line 330\n\tError::subs::run_clauses('HASH(0x8f52d24)', 'Can\\'t locate object method "method" via package "Foswiki::En...', 'undef', 'ARRAY(0x8c3af64)') called at /some/path/lib/CPAN/lib/Error.pm line 390\n\tError::subs::try('CODE(0x8f3edcc)', 'HASH(0x8f52d24)') called at /some/path/lib/Foswiki/Engine.pm line 117\n\tFoswiki::Engine::prepare('Foswiki::Engine::Apache2::MP20=HASH(0x8dfc9c0)') called at /some/path/lib/Foswiki/Engine/Apache.pm line 84\n\tFoswiki::Engine::Apache::run('Foswiki::Engine::Apache2::MP20=HASH(0x8dfc9c0)') called at /some/path/bin/view line 45\n\tModPerl::ROOT::ModPerl::Registry::www_mappingcontroversies_2enet_bin_view::handler('Apache2::RequestRec=SCALAR(0x8efa694)') called at /usr/local/lib/perl5/site_perl/5.8.8/mach/ModPerl/RegistryCooker.pm line 204\n\teval {...} called at /usr/local/lib/perl5/site_perl/5.8.8/mach/ModPerl/RegistryCooker.pm line 204\n\tModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x8efa760)') called at /usr/local/lib/perl5/site_perl/5.8.8/mach/ModPerl/RegistryCooker.pm line 170\n\tModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x8efa760)') called at /usr/local/lib/perl5/site_perl/5.8.8/mach/ModPerl/Registry.pm line 31\n\tModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x8efa694)') called at -e line 0\n\teval {...} called\n
--
KoenMartens - 25 Sep 2009
Looks like I have the same when testing with Ubuntu 8.04.
--
LarsEik - 20 Oct 2009