cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Answered

I upgraded my plugins (ther are many installed) and added a few new plugins, and now I get an error when I try to return to Support.WebHome

I am getting the following error when I navigate from my configuration page (which displays OK) to WebHome:

Can't locate object method "topicExists" via package "Foswiki" at /usr/local/www/foswiki/lib/Foswiki/Users/TopicUserMapping.pm line 609.

at /usr/local/www/foswiki/lib/Foswiki/Users/TopicUserMapping.pm line 609
Foswiki::Users::TopicUserMapping::eachGroupMember('Foswiki::Users::TopicUserMapping=HASH(0xb31fb8)', 'AdminGroup') called at /usr/local/www/foswiki/lib/Foswiki/UserMapping.pm line 334
Foswiki::UserMapping::isInGroup('Foswiki::Users::TopicUserMapping=HASH(0xb31fb8)', 'PaulHarrison', 'AdminGroup') called at /usr/local/www/foswiki/lib/Foswiki/Users/TopicUserMapping.pm line 1011
Foswiki::Users::TopicUserMapping::isAdmin('Foswiki::Users::TopicUserMapping=HASH(0xb31fb8)', 'PaulHarrison') called at /usr/local/www/foswiki/lib/Foswiki/Users.pm line 567
Foswiki::Users::isAdmin('Foswiki::Users=HASH(0x933708)', 'PaulHarrison') called at /usr/local/www/foswiki/lib/Foswiki/Access.pm line 114
Foswiki::Access::checkAccessPermission('Foswiki::Access=HASH(0x101b788)', 'VIEW', 'PaulHarrison', undef, undef, 'InterWikis', 'System') called at /usr/local/www/foswiki/lib/Foswiki/Func.pm line 1003
Foswiki::Func::checkAccessPermission('VIEW', 'PaulHarrison', undef, 'InterWikis', 'System') called at /usr/local/www/foswiki/lib/Foswiki/Plugins/InterwikiPlugin.pm line 72
Foswiki::Plugins::InterwikiPlugin::initPlugin('WebHome', 'System', 'PaulHarrison', 'System') called at /usr/local/www/foswiki/lib/Foswiki/Plugin.pm line 231
Foswiki::Plugin::registerHandlers('Foswiki::Plugin=HASH(0xd493c8)', 'Foswiki::Plugins=HASH(0x621368)') called at /usr/local/www/foswiki/lib/Foswiki/Plugins.pm line 244
Foswiki::Plugins::enable('Foswiki::Plugins=HASH(0x621368)') called at /usr/local/www/foswiki/lib/Foswiki.pm line 1607
Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0x906330)', 'HASH(0x900878)') called at /usr/local/www/foswiki/lib/Foswiki/UI.pm line 293
Foswiki::UI::_execute('Foswiki::Request=HASH(0x906330)', 'CODE(0x905e98)', 'view', 1) called at /usr/local/www/foswiki/lib/Foswiki/UI.pm line 275
Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x906330)') called at /usr/local/www/foswiki/lib/Foswiki/Engine/CGI.pm line 29
Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x8310d8)') called at /usr/local/www/foswiki/bin/view line 45

When I deactivate all of the plugins (there are 36 activated) I still get the error 'Can't locate object method "topicExists" via package "Foswiki" at /usr/local/www/foswiki/lib/Foswiki/Users/TopicUserMapping.pm line 609'. Also, I have installed the Pattern Skin. It was upgraded along with the other plugins. Pattern Skin is not used to display the configuration page. I did not see a checkbox to disable the Pattern Skin in the plugins configuration page. How would I disable the skin to test to see if it is the problem?

Thanks in advance


I'm going to guess that TopicUserMapping is not backwards compatible. I'll investigate it further, but if you don't have a backup, you could either look for the ".bak" files renamed when the extension was updated, or install the older version of TopicUserMappingContrib here: http://foswiki.org/bin/viewfile/Extensions/TopicUserMappingContrib?filename=TopicUserMappingContrib.tgz;rev=5

Another option would be to upgrade to 1.1.2.

-- GeorgeClark - 10 Nov 2010

Confirmed that TopicUserMappingContrib is not backwards compatible.

-- GeorgeClark - 10 Nov 2010

QuestionForm edit

Subject Using an extension
Extension
Version Foswiki 1.0.8
Status Answered
Related Topics
Topic revision: r6 - 10 Jan 2013, GeorgeClark - This page was cached on 23 Mar 2018 - 06:30.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License