• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Each time someone looks at one topic (any) in TWiki 4.0 I get this in the Apache error log

[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine initPlugin redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 104.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine commonTagsHandler redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 128.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine initDefaults redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 149.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine initOptions redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 196.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine initNamedDefaults redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 281.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine handleChecklist redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 300.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine substItemLine redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 399.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine handleAutoChecklist redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 417.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine handleChecklistItem redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 440.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine getNextState redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 464.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine doChecklistItemStateReset redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 483.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine doChecklistItemStateChange redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 496.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine renderChecklistItem redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 508.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine getUniqueUrlParam redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 604.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine urlEncode redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 611.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine htmlEncode redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 617.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine substIllegalChars redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 624.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine getImageSrc redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 630.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine readChecklistItemStateTopic redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 644.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine saveChecklistItemStateTopic redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 663.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine createUnknownParamsMessage redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 697.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine collectAllChecklistItems redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 707.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine postRenderingHandler redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 726.
[Tue Feb  7 00:52:53 2006] ChecklistPlugin.pm: Subroutine endRenderingHandler redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/ChecklistPlugin.pm line 734.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine initPlugin redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 114.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine commonTagsHandler redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 136.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine initDefaults redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 153.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine initRegexs redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 209.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine initOptions redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 224.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine handleHolidaylist redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 303.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine createUnknownParamsMessage redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 319.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine getStartDate redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 328.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine getDays redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 374.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine getTableRefs redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 400.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine handleDateRange redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 422.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine fetchHolidaylist redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 444.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine handlePublicHolidays redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 492.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine replaceSpecialDateNotations redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 517.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine fetchExceptions redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 527.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine getFullDateFromBusinessDate redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 558.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine handleCalendarEvents redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 569.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine mystrftime redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 757.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine renderHolidaylist redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 809.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine getTopicText redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 950.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine readTopicText redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 989.
[Tue Feb  7 00:52:53 2006] HolidaylistPlugin.pm: Subroutine expandIncludedEvents redefined at /usr/local/apache2/dakar/lib/TWiki/Plugins/HolidaylistPlugin.pm line 1002. 

This is not good.

Made one report because there must be some principle problem here since two plugins bahaves the same. But it is the same author!

KJL

Additional info.

The errors are only seen when.

  • mod_perl is enabled. - and for the view script only.
  • when you edit a topic. Any topic. The topic does not need to use any of the two plugins.
  • None of the other plugins installed have this behavour.

KJL

I compared the plugins with the other plugins. A major difference was the use strict; statement in both.

When I remove those the warnings stop.

KJL

Removing use strict; actually did not resolve the problem. I have megabytes of this warning and it seems to come from other cases than editing and saving. I have tried to remove use warnings; instead

KJL

After having run for an hour with use warnings; commented out (and with use strict; reinserted) I have not seen this flodding happen again from any of the two plugins. So I guess this is the reason.

KJL

Yes. I have run all night. Not a single error from the two plugins. It is the use warnings; that causes the error_log flooding.

KJL

ItemTemplate
Summary ChecklistPlugin and HolidaylistPlugin floods the error log with subroutine redefined statements
ReportedBy TWiki:Main.KennethLavrsen
Codebase

SVN Range Thu, 02 Feb 2006 build 8675
AppliesTo Extension
Component HolidaylistPlugin/ChecklistPlugin
Priority Normal
CurrentState Closed
WaitingFor

TargetRelease major
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2006-02-09 - DanielRohde
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback