PacketFence - BTS - PacketFence
View Issue Details
0001266PacketFencecaptive portalpublic2011-09-12 10:292011-10-24 20:24
obilodeau 
obilodeau 
normalminoralways
closedfixed 
LinuxRHEL / CentOS5
 
3.0.03.0.0 
847404ba89e8cd5996a817ad1fe2d234b43e8da1
0001266: A ton of perl warnings in the apache error logs
Since 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).
No tags attached.
Issue History
2011-09-12 10:29obilodeauNew Issue
2011-09-12 13:36obilodeaumtn revision => 847404ba89e8cd5996a817ad1fe2d234b43e8da1
2011-09-12 13:36obilodeauNote Added: 0002196
2011-09-12 13:36obilodeauStatusnew => resolved
2011-09-12 13:36obilodeauFixed in Version => trunk
2011-09-12 13:36obilodeauResolutionopen => fixed
2011-09-12 13:36obilodeauAssigned To => obilodeau
2011-09-21 22:07obilodeauFixed in Versiontrunk => 3.0.0
2011-09-21 22:15obilodeauNote Added: 0002233
2011-09-21 22:16obilodeauStatusresolved => closed
2011-10-24 20:24obilodeauTarget Version+1 => 3.0.0

Notes
(0002196)
obilodeau   
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   
2011-09-21 22:15   
fix released in 3.0