PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001266PacketFencecaptive portalpublic2011-09-12 10:292011-10-24 20:24
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSRHEL / CentOSOS Version5
Product Version 
Target Version3.0.0Fixed in Version3.0.0 
Summary0001266: A ton of perl warnings in the apache error logs
DescriptionSince we added a global ErrorLog statement in the apache config (revno: d6eed242e68ce97e624724d65259bb12302697cb), I start seeing a lot of warnings going out in the error_log file. Stuff like:

...WIRED_MAC_AUTH redefined at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/Util.pm 
line 69.

Prototype mismatch: sub
        ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_html_captive_2dportal_register_2ecgi::INSTALL_DIR: 
none vs () at /usr/lib/perl5/5.8.8/constant.pm line 103 (0000002)
    (S prototype) The subroutine being declared or defined had previously been
    declared or defined with a different function prototype.



Lots of constant redefinitions, prototype mismatchs. Most of them seems caused by mod_perl and PerlRun mode of operation running into each other as some modules already in memory are use'd again.

I want this fixed before we get a lot of reports that stuff is broken (even if it's not).
TagsNo tags attached.
fixed in git revision
fixed in mtn revision847404ba89e8cd5996a817ad1fe2d234b43e8da1
Attached Files

- Relationships

-  Notes
(0002196)
obilodeau (reporter)
2011-09-12 13:36

Fixed by both revno 575978a7e6bf6724d6d00aae9f217ddc6bf6ec62 and revno 847404ba89e8cd5996a817ad1fe2d234b43e8da1.

Quite an intrusive fix: migrated all constants into Readonly style constants. They are lexically scoped and are probably removed cleanly by mod_perl PerlRun's cleanup mechanism.
(0002233)
obilodeau (reporter)
2011-09-21 22:15

fix released in 3.0

- Issue History
Date Modified Username Field Change
2011-09-12 10:29 obilodeau New Issue
2011-09-12 13:36 obilodeau mtn revision => 847404ba89e8cd5996a817ad1fe2d234b43e8da1
2011-09-12 13:36 obilodeau Note Added: 0002196
2011-09-12 13:36 obilodeau Status new => resolved
2011-09-12 13:36 obilodeau Fixed in Version => trunk
2011-09-12 13:36 obilodeau Resolution open => fixed
2011-09-12 13:36 obilodeau Assigned To => obilodeau
2011-09-21 22:07 obilodeau Fixed in Version trunk => 3.0.0
2011-09-21 22:15 obilodeau Note Added: 0002233
2011-09-21 22:16 obilodeau Status resolved => closed
2011-10-24 20:24 obilodeau Target Version +1 => 3.0.0


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker