Question
I get errors in my Apache log when I install the
TopicVarsPlugin. And the plugin fails to work - especially with
SpeedyCGI. Can someone help fixing this Plugin?
Environment
| TWiki version: |
TWikiRelease01Sep2004 |
| TWiki plugins: |
DefaultPlugin, SpreadSheetPlugin, ActionTrackerPlugin, ChartPlugin, CommentPlugin, DefaultPlugin, EditTablePlugin, EmptyPlugin, InterwikiPlugin, RenderListPlugin, RevisionLinkPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, TWikiDrawPlugin, TablePlugin TopicVarsPlugin |
| Server OS: |
Fedora Core2, kernel 2.6.7 stock |
| Web server: |
Apache 2.0.50 |
| Perl version: |
5.8.3 |
| Client OS: |
Win XP SP2 |
| Web Browser: |
IE6 |
This is the error message I get in the Apache log (time stamping snipped off)
view: Use of uninitialized value in substitution (s///) at ../lib/TWiki/Plugins/TopicVarsPlugin.pm line 70., referer:
http://www.lavrsen.dk/twiki/bin/view/Sandbox/TestTopic5
view: Use of uninitialized value in substitution (s///) at ../lib/TWiki/Plugins/TopicVarsPlugin.pm line 74., referer:
http://www.lavrsen.dk/twiki/bin/view/Sandbox/TestTopic5
view: Use of uninitialized value in hash element at ../lib/TWiki/Plugins/TopicVarsPlugin.pm line 161., referer:
http://www.lavrsen.dk/twiki/bin/view/Sandbox/TestTopic5
view: Use of uninitialized value in hash element at ../lib/TWiki/Plugins/TopicVarsPlugin.pm line 162., referer:
http://www.lavrsen.dk/twiki/bin/view/Sandbox/TestTopic5
The plugin can work in clean (and slow) CGI mode. I have seen it working partly in Modperl (but not much works for me with modperl). With
SpeedyCGI the plugin does not work often.
But both when it appears to work and when it fails it floods the log with 1000s of error messages like the ones above.
The two for lines 70 and 74 are always there. The 161/162 sometimes. I have not found out when the 61/162 gets triggered.
I have tried to figure out the code but I am not yet familiar with TWiki's plugin system and my Perl is still very limited though I have written small perl scripts with reg exes etc. So I would love to get some help or suggestions (or better solution).
--
KennethLavrsen - 05 Sep 2004
Answer