Tags:
create new tag
, view all tags

Question

I installed the WebDAVPlugin exactly as stated in the docs. Now I'm at the point where I have to run bin/dav_recache to create the DAV locks.

I added the variable "LOCK_DB" to the preferences, but noticed in the dav_recache code that "WEBDAVPLUGIN_LOCK_DB" should be its name. So I changed it, but I have the same error:

Can't use string ("WEBDAVPLUGIN_LOCK_DB") as a HASH ref while "strict refs" in use at /home/twiki/lib/TWiki/Prefs.pm line 218.

I did some tests with the dav_recache script. This line...

my $pdb = TWiki::Prefs::getPreferencesValue("WEBDAVPLUGIN_LOCK_DB");

returns nothing, even If I want to get the value of another variable.

If I change this to...

my $pdb = "/var/lock/DAV";

it spits out another error message:

Undefined subroutine &TWiki::Store::getAllWebs called at /home/twiki/lib/TWiki/Plugins/WebDAVPlugin/Permissions.pm line 45.

So... I guess this plugin is not actual for the current TWiki Release 4.

How can I get this to work?

Thank you very much!

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: WebDAVPlugin
Server OS: Debian 3.1
Web server: Apache 1.3.34
Perl version: 5.8.7
Client OS: Linux
Web Browser: Any
Categories: Plugins

-- JensHassler - 16 Feb 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

This Plugin does not work in Dakar. I put a note in the WebDAVPluginDev topic.

-- PeterThoeny - 16 Feb 2006

 
Topic revision: r2 - 2006-02-16 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.