Tags:
create new tag
, view all tags

Question

Hi,

I was looking for a way to show in my Twiki who is currently logged in. I have seen in another Support Topic (ShowOnlineUsers) the suggestion to use the UserInfoPlugin plugin. I have tried to install it (directly from the web: configure -> plugins -> find more extensions ...) but I get the following error:

UserInfoPlugin_installer.pl data/ data/TWiki/ data/TWiki/UserInfoPlugin.txt lib/ lib/TWiki/ lib/TWiki/Plugins/ lib/TWiki/Plugins/UserInfoPlugin/ lib/TWiki/Plugins/UserInfoPlugin/Core.pm lib/TWiki/Plugins/UserInfoPlugin.pm tar failed: Illegal seek Failed to unpack archive /tmp/py4bD9PVR6.tgz
Content-type: text/html
Software error:

Use of uninitialized value in pattern match (m//) at /opt/twiki/lib/TWiki/Configure/UIs/EXTEND.pm line 227.

And nothing is installed.

I do not know perl. Is it a plugin bug? is it a problem with my config? Could you please help me to fix the problem? Or do you have another suggestion how to show the currently logged in users?

Thanks.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, TreePlugin, FlexWebListPlugin, DirectedGraphWebMapPlugin, BreadCrumbsPlugin, VotePlugin, CalendarPlugin, HolidaylistPlugin, MostPopularPlugin, ImgPlugin, HeadlinesPlugin, WeatherPlugin, AlbumOfSnapsPlugin, NewsPlugin
Server OS: Red Hat Enterprise Linux ES release 3, 2.4.21-47.ELsmp
Web server: Apache/2.0.46
Perl version: perl-5.8.0-94.EL3
Client OS: Windows XP
Web Browser: Firefox 2.0.0.6
Categories: Plugins, Add-Ons

-- CatiaLavalle - 05 Oct 2007

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.

I have tried to install it by hand:

  • download in $TWIKIHOME
  • unzip UserInfoPlugin.zip
  • in configure "Enable"
  • changed manually the rights of the installed files

Then I have tested:

 %NRUSERS% , %NRLASTVISITORS% , %LASTVISITORS% , %NEWUSERS% 

do work.

 %VISITORS% , %NRVISITORS% 

which is the reason for using the plugin, does not work: no matter how many users logged in the VISITORS list is empty and NRVISITORS is 0.

Any idea?

-- CatiaLavalle - 05 Oct 2007

Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 03 Dec 2007

 
Change status to:
Topic revision: r3 - 2007-12-03 - 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.