Tags:
create new tag
view all tags

Question

Hi, I have a TWiki installation that we have been using for a few weeks now. I changed the 'Main' web name to 'Development'. Everything seems to work ok except that I get the following error message when I click on the 'Groups' link of the 'Development' web left nav menu:

"TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.

Can't use an undefined value as an ARRAY reference"

Here are the relevant lines from the web server log:

[Fri Nov 03 04:33:56 2006] [error] [client 67.161.68.36] Can't use an undefined value as an ARRAY reference at /var/www/twiki/lib/TWiki.pm line 3403., referer: http://mercury.accolo.com/twiki/bin/view/Development/TWikiAdminGroup [Fri Nov 03 04:33:56 2006] [error] [client 67.161.68.36] \tTWiki::_GROUPS('TWiki=HASH(0x804c9a8)','TWiki::Attrs=HASH(0x8b10dec)','TWikiGroups','Development') called at /var/www/twiki/lib/TWiki.pm line 2269, referer: http://mercury.accolo.com/twiki/bin/view/Development/TWikiAdminGroup [Fri Nov 03 04:33:56 2006] [error] [client 67.161.68.36] \tTWiki::_expandTagOnTopicRendering('TWiki=HASH(0x804c9a8)','GROUPS','undef','TWikiGroups','Development') called at /var/www/twiki/lib/TWiki.pm line 2188, referer: http://mercury.accolo.com/twiki/bin/view/Development/TWikiAdminGroup [Fri Nov 03 04:33:56 2006] [error] [client 67.161.68.36] \tTWiki::_processTags('TWiki=HASH(0x804c9a8)','---+ TWiki Groups\\x{a}\\x{a}These groups can be used to define fine gr...','CODE(0x873ddf0)',16,'TWikiGroups','Development') called at /var/www/twiki/lib/TWiki.pm line 2114, referer: http://mercury.accolo.com/twiki/bin/view/Development/TWikiAdminGroup [Fri Nov 03 04:33:56 2006] [error] [client 67.161.68.36] \tTWiki::_expandAllTags('TWiki=HASH(0x804c9a8)','SCALAR(0x8745688)','TWikiGroups','Development') called at /var/www/twiki/lib/TWiki.pm line 2457, referer: http://mercury.accolo.com/twiki/bin/view/Development/TWikiAdminGroup @

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Linus ES 3.0
Web server: Apache
Perl version: 5
Client OS: Windows XP
Web Browser: Firefox 2.0
Categories: Fatal error

-- SethTaylor - 03 Nov 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.

I had the same problem and fixed it by going through every single group [do a search on 'Group'] and making sure that each group has a valid user.

In my case, I created a TestGroup with only TWikiGuest as its member and set the ALLOWTOPICCHANGE to TestGroup itself. Apparently it created some kind of undefined group value..once I added another REAL user (ex. TWikiAdmin) to the group (Since Admin always has the power to edit all topics regardless of the control access of said topic), then everything went alright again and the error was gone.

Hopefully this helps.

-- TWikiGuest - 23 Nov 2006

Above error looks like a bug. You can file a bug report at Bugs:WebHome if you can describe it in a reproducable way.

In any case, I can't really recommend to rename the Main web. I suggest to simple create a Development web and leave all users and groups in the existing Main web.

-- PeterThoeny - 27 Nov 2006

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-11-27 - 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.