Tags:
create new tag
view all tags

Question

I installed YetAnotherXpTrackerPlugin and all necessary plugins and perl modules, but I always get internal errors because of undefined subroutines while accessing a topic with a variable of that plugin:

Browser message

TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
Undefined subroutine &TWiki::Plugins::XpTrackerPlugin::Functions::xpShowDeveloperTimeSheet called

Apache log

[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] Undefined subroutine &TWiki::Plugins::XpTrackerPlugin::Functions::xpShowDeveloperTimeSheet called at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin.pm line 314., referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1]  at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin.pm line 314, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \tTWiki::Plugins::XpTrackerPlugin::xpShowDeveloperTimeSheet('TWiki=HASH(0x8150370)', 'TWiki::Attrs=HASH(0x8cdf238)', 'ATeamMember', 'TestWeb') called at /home/httpd/twiki/lib/TWiki/Func.pm line 1809, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \tTWiki::Func::__ANON__('TWiki=HASH(0x8150370)', 'TWiki::Attrs=HASH(0x8cdf238)', 'ATeamMember', 'TestWeb') called at /home/httpd/twiki/lib/TWiki.pm line 2404, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \tTWiki::_expandTagOnTopicRendering('TWiki=HASH(0x8150370)', 'XPSHOWDEVELOPERTIMESHEET', '"ATeamMember"', 'ATeamMember', 'TestWeb') called at /home/httpd/twiki/lib/TWiki.pm line 2323, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \tTWiki::_processTags('TWiki=HASH(0x8150370)', '%XPSHOWDEVELOPERTIMESHEET{"%TOPIC%"}%\\x{d}\\x{a}\\x{d}\\x{a}%XPSHOWDEVELOPERESTI...', 'CODE(0x882e75c)', 16, 'ATeamMember', 'TestWeb') called at /home/httpd/twiki/lib/TWiki.pm line 2249, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \tTWiki::_expandAllTags('TWiki=HASH(0x8150370)', 'SCALAR(0x8c127cc)', 'ATeamMember', 'TestWeb') called at /home/httpd/twiki/lib/TWiki.pm line 2598, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \tTWiki::handleCommonTags('TWiki=HASH(0x8150370)', '%XPSHOWDEVELOPERTIMESHEET{"%TOPIC%"}%\\x{d}\\x{a}\\x{d}\\x{a}%XPSHOWDEVELOPERESTI...', 'TestWeb', 'ATeamMember') called at /home/httpd/twiki/lib/TWiki/UI/View.pm line 375, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \tTWiki::UI::View::_prepare('%XPSHOWDEVELOPERTIMESHEET{"%TOPIC%"}%\\x{d}\\x{a}\\x{d}\\x{a}%XPSHOWDEVELOPERESTI...', 'TWiki=HASH(0x8150370)', 'TestWeb', 'ATeamMember', 'TWiki::Meta=HASH(0x8bec568)', 0) called at /home/httpd/twiki/lib/TWiki/UI/View.pm line 359, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \tTWiki::UI::View::view('TWiki=HASH(0x8150370)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 159, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \tTWiki::UI::__ANON__() called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 379, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \teval {...} called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 371, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \tError::subs::try('CODE(0x815034c)', 'HASH(0x8c11cb0)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 199, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList
[Wed Sep 19 09:39:31 2007] [error] [client 192.168.0.1] \tTWiki::UI::run('CODE(0x819d96c)', 'view', 1) called, referer: http://twiki-vm/twiki/bin/view/TestWeb/WebTopicList

I repaired the permissions for the .pm and .pl files but the plugin doesn't work. It's not always the same subroutine, it depends on the topic. As I can see these subroutines are defined in /lib/TWiki/Plugins/XpTrackerPlugin/Functions, but why aren't they recognized?!

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: SpreadSheetPlugin, CommentPlugin, ControlsPlugin, EasyTimelinePlugin, EditHiddenTablePlugin, EditTablePlugin, InterwikiPlugin, PreferencesPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, SvgPlugin, TWikiUmlPlugin, TablePlugin, TimelinePlugin, TwistyPlugin, WysiwygPlugin, XpTrackerPlugin
Server OS: Debian 4.0 (VMware)
Web server: Apache/2.2.3
Perl version: Perl/v5.8.8
Client OS: Windows 2000 SP4
Web Browser: Firefox 2.0.0.6
Categories: Plugins

-- FrankSpangenberg - 19 Sep 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I reinstalled it and updated the ownership of every file, now it is working...

-- FrankSpangenberg - 19 Sep 2007

I'm having the very same problem. Reinstallation isn't an option for me because we already have content on our TWiki which we don't want to loose. At present, all files in the whole TWiki installation have the following access rights: - all users can read - the user and the group under which the web server is executed can write and execute

Is there anything that I must change? What am I doing wrong?

-- StephanEberle - 14 Nov 2007

-- StephanEberle - 14 Nov 2007

If the owner/group (web server) is able to read the files, it should be working. With reinstalling I meant just copying/installing again all plug-in files and all dependencies to the TWiki installation, you won't loose any content, but you should always make a backup first.

And check all dependencies twice, like YetAnotherDBCacheContrib...

-- FrankSpangenberg - 16 Nov 2007

Closing this support question after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 01 Jan 2008

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-01-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.