Tags:
create new tag
view all tags

Question

This is most likely a newbie question.

I have a problem getting the WebPermissionsPlugin installed. This is the first time I try to install a plugin.

I've unpacked into the Twiki root directory. I've run 'perl WebPermissionsPlugin _installer.pl' with no errors. It went without problems.

I then run the configure script. The new plugin is now there, I enable it and save. If I re-run the configure script (to double-check) it will show that the plugin is enabled.

From this point on I would expect it to turn up on InstalledPlugins, but it doesn't.

I can see the topic TWiki.WebPermissionsPlugin. No problems.

The plugin itself is for sure not enabled (or mis-installed) as I cannot use the variables that it supports, i.e. TOPICPERMISSIONS and WEBPERMISSIONS. They are not translated.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: Standard ones plus WebPermissionsPlugin
Server OS: Solaris
Web server: Apache2
Perl version: v5.8.4
Client OS: MS Windows
Web Browser: IE, Firefox
Categories: Plugins

-- Lars Bruun-Hansen - 29 Aug 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.

Two things:

  1. The variables are only available for admin users. For all other users they appear unexpanded. this is probably your problem.
  2. Any errors with the plugin will appear in the FAILED PLUGINS section of InstalledPlugins

-- CrawfordCurrie - 02 Sep 2006

That spec does not look intuitive. How about expanding the variables to something like for admins only or the like?

-- PeterThoeny - 02 Sep 2006

By admin user do you mean a member of TWikiAdminGroup? That I am.

To be precise: I do not see a section called "FAILED PLUGINS" or anything like that on my InstalledPlugins page. I do not see my new plugin, WebPermissionsPlugin, mentioned anywhere on this page yet configure shows it as enabled. Strange.

I can set SKIN=webpermissions,pattern on a topic. This will enable "Edit ACL" under the "More topic actions". So far, so good. However when I hit "Edit ACL" it shows me an unexpanded TOPICPERMISSIONS variable.

Any ideas?

-- Lars Bruun-Hansen - 02 Sep 2006

You didn't mention it, so I thought I should check - have you installed FuncUsersContrib ? its the glue that makes this plaugin work.

If not, then I'll look into making sure that WebPermissionsPlugin reports an error (i thought it did)

-- SvenDowideit - 03 Sep 2006

Yes, I did install FuncUsersContrib. I did it manually before I ran the WebPermissionsPlugin installer. As far as I could tell from the console output the installer verifies this dependency so I shouldn't have any problems there.

I'm using latest version of FuncUsersContrib as well as latest version of TWiki itself. (as of this date)

-- Lars Bruun-Hansen - 03 Sep 2006

Forget everything about the specific plugin. As it turns out I have same problem with other plugins, i.e. they do not turn up on IntalledPlugins even if enabled in configure. I recently tried getting the WysiwygPlugin to work (this comes bundled with TWiki so should be even more simple). Same problem. Any ideas ? I've scanned the previous questions and I can see that others seem to have had same problems, i.e. that plugins enabled in configure do not show up on InstalledPlugins page.

-- LarsBruunxHansen - 26 Sep 2006

I'll be answering my own question: My site uses mod_perl. Apache needs to be restarted before plugins registered via configure show up on InstalledPlugins page.

-- LarsBruunxHansen - 26 Sep 2006

In case anyone else gets here, the above also happens with SpeedyCGI (aka PersistentPerl). To fix this, touch your TWiki view script. (If over FTP, I'm not sure, but you could probably upload that script again.)

-- MarcusLeonard - 23 Dec 2006

Change status to:
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2006-12-23 - MarcusLeonard
 
  • 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.