Question
I installed
YetAnotherXpTrackerPlugin and all necessary plugins and perl modules.
If I want to create a team, the following error appears:
Browser message
TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
Can't locate object method "invalidate" via package "TWiki::Plugins::XpTrackerPlugin::WebDB"
Apache log
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] Can't locate object method "invalidate" via package "TWiki::Plugins::XpTrackerPlugin::WebDB" at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin/Functions.pm line 1698., referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin/Functions.pm line 1698, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugins::XpTrackerPlugin::Functions::xpCacheInvalidate('TestWeb', 'HochschuleDerMedien') called at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin/Functions.pm line 232, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugins::XpTrackerPlugin::Functions::xpSavePage('TestWeb') called at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin.pm line 172, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugins::XpTrackerPlugin::commonTagsHandler('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'HochschuleDerMedien', 'TestWeb', 0) called at /home/httpd/twiki/lib/TWiki/Plugin.pm line 245, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugin::invoke('TWiki::Plugin=HASH(0x8b4438c)', 'commonTagsHandler', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'HochschuleDerMedien', 'TestWeb', 0) called at /home/httpd/twiki/lib/TWiki/Plugins.pm line 333, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugins::_dispatch('TWiki::Plugins=HASH(0x88b36bc)', 'commonTagsHandler', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'HochschuleDerMedien', 'TestWeb', 0) called at /home/httpd/twiki/lib/TWiki/Plugins.pm line 470, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugins::commonTagsHandler('TWiki::Plugins=HASH(0x88b36bc)', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'HochschuleDerMedien', 'TestWeb', 0) called at /home/httpd/twiki/lib/TWiki.pm line 2605, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::handleCommonTags('TWiki=HASH(0x81503a0)', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'TestWeb', 'HochschuleDerMedien') called at /home/httpd/twiki/lib/TWiki/UI/View.pm line 375, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::UI::View::_prepare('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'TWiki=HASH(0x81503a0)', 'TestWeb', 'HochschuleDerMedien', 'TWiki::Meta=HASH(0x8bf3028)', 0) called at /home/httpd/twiki/lib/TWiki/UI/View.pm line 343, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::UI::View::view('TWiki=HASH(0x81503a0)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 159, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 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/GettingStarted
[Wed Sep 19 13:59:04 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/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tError::subs::try('CODE(0x815034c)', 'HASH(0x8c1674c)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 199, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::UI::run('CODE(0x819da6c)', 'view', 1) called, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
I guess the following lines in
/lib/TWiki/Plugins/XpTrackerPlugin/Functions.pm are producing the error:
sub xpCacheInvalidate {
# Force reconstruction of cache
my ($web, $topic) = @_;
# Invalidate the cache
use TWiki::Plugins::XpTrackerPlugin::WebDB;
invalidate TWiki::Plugins::XpTrackerPlugin::WebDB($web, $topic);
$cacheInitialized = 0;
}
The plugin
YetAnotherDBCacheContrib has a method called
invalidate($web, $topic), but I haven't found the definition in one of the provided files.
So who can help me to fix this?
Environment
--
FrankSpangenberg - 19 Sep 2007
Answer
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.
After some reinstalls, especially of
YetAnotherDBCacheContrib the problem is gone...
--
FrankSpangenberg - 26 Sep 2007