Item11845: DBCachePlugin not in INC Path, when calling delete file action.
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
I'm using a fresh install of FOSWIKI 1.1.5 and several Plugins, but not
DBCachePlugin. When I try to use the delete file REST-action the browser hangs (as the AJAX response is an error message). The Problem seems to result from several references to the
DBCachePlugin in
DeleteAttachment.pm.
Exception is:
Can't locate Foswiki/Plugins/DBCachePlugin.pm in @INC (@INC contains: /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib . /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib/CPAN/lib/arch /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib/CPAN/lib/5.8.8/x86_64-linux-thread-multi /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib/CPAN/lib/5.8.8 /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib/CPAN/lib) at /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib/Foswiki/Plugins/TopicInteractionPlugin/Action/DeleteAttachment.pm line 21., referer: ---;revInfo=1
The same error seems to happen for the following files.
-sh-3.2$ grep DBCachePlugin *
CreateLinks.pm:use Foswiki::Plugins::DBCachePlugin ();
CreateLinks.pm: Foswiki::Plugins::DBCachePlugin::disableRenameHandler();
CreateLinks.pm: Foswiki::Plugins::DBCachePlugin::enableRenameHandler();
CreateLinks.pm: Foswiki::Plugins::DBCachePlugin::loadTopic($web, $topic);
HideAttachment.pm:use Foswiki::Plugins::DBCachePlugin ();
HideAttachment.pm: Foswiki::Plugins::DBCachePlugin::disableRenameHandler();
HideAttachment.pm: Foswiki::Plugins::DBCachePlugin::enableRenameHandler();
HideAttachment.pm: Foswiki::Plugins::DBCachePlugin::loadTopic($web, $topic);
MoveAttachment.pm:use Foswiki::Plugins::DBCachePlugin ();
MoveAttachment.pm: Foswiki::Plugins::DBCachePlugin::disableRenameHandler();
MoveAttachment.pm: Foswiki::Plugins::DBCachePlugin::enableRenameHandler();
MoveAttachment.pm: Foswiki::Plugins::DBCachePlugin::loadTopic($web, $topic);
MoveAttachment.pm: Foswiki::Plugins::DBCachePlugin::loadTopic($newWeb, $newTopic);
UnhideAttachment.pm:use Foswiki::Plugins::DBCachePlugin ();
UnhideAttachment.pm: Foswiki::Plugins::DBCachePlugin::disableRenameHandler();
UnhideAttachment.pm: Foswiki::Plugins::DBCachePlugin::enableRenameHandler();
UnhideAttachment.pm: Foswiki::Plugins::DBCachePlugin::loadTopic($web, $topic);=
--
MartinHoffmann - 09 May 2012
Please upgrade to the latest release of
TopicInteractionPlugin. Feel free to reopen this bug item when the error still persists.
--
MichaelDaum - 09 May 2012