You are here: Foswiki>Tasks Web>Item2159 (25 Mar 2017, GeorgeClark)Edit Attach

Item2159: mod_perl under apache 2.2 broken

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: ModPerlEngineContrib
Branches:
Reported By: KoenMartens
Waiting For:
Last Change By: GeorgeClark
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

This is way too old. Closing as no-action. Mod_perl seems to be working okay with apache 2.4.

-- Main.GeorgeClark - 25 Mar 2017 - 22:50

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 No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r3 - 25 Mar 2017, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy