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.
You are here: Foswiki>Tasks Web>Item2159 (20 Oct 2009, LarsEik) Edit this topic text (e) Attach an image or document to this topic; manage existing attachments (a) View sequential topic history View without formatting (v) Create new topic Printable version of this topic (p) More: delete or rename this topic; set parent topic; view and compare revisions (m)

Item2159: mod_perl under apache 2.2 broken

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal New Extension ModPerlEngineContrib  
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

ItemTemplate edit

Summary mod_perl under apache 2.2 broken
ReportedBy KoenMartens
Codebase 1.0.7
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Extension
Component ModPerlEngineContrib
Priority Normal
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r2 - 20 Oct 2009 - 21:53:31 - LarsEik
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads