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 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.

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

-- PeterThoeny - 16 Feb 2006

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-02-16 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.