SID-00441: New Groups not Showing in TWikiGroups - WInXP
| Status: |
Answered |
TWiki version: |
4.3.1 |
Perl version: |
5.10 |
| Category: |
CategoryAccessControl |
Server OS: |
Win XP |
Last update: |
16 years ago |
Hello everybody,
I am having the same problem as described in
NewGroupsNotAppearingInGROUPS . With the difference, that I am running Twiki 4.3.1 on a WinXP Machine, using the Apache2 installation provided by Xampp.
I have added New User Groups using the Form at
TWikiGroups. These Groups do show up in the topic list, but not in TWikiGroups. I did not find the code snippets that were described in the above mentioned post, when searching for them in my bin/configure (configure.pl) file.
How can I fix this problem on my machine?
Any help is greatly appreciated. Thank you very much
Christoph
--
ChristophSchmitz - 2009-07-29
Discussion and Answer
The list of groups in the
TWikiGroups page is handled by the
%GROUPS% variable. Not sure why it would not work in your case. Is search working properly? Check your
{RCS}{EgrepCmd} and
{RCS}{EgrepCmd} configure settings.
As a workaround you could replace the
%GROUPS% variable with a search, such as:
%SEARCH{"Set GROUP" topic="*Group" casesensitive="on" nosummary="on" nosearch="on" noheader="on" nototal="on" format=" * $topic$n * <font size=\"-1\">Members: $pattern(.* \* Set GROUP =([^\n]*).*)</font>"}%
--
PeterThoeny - 2009-07-29
Hello Peter, thanks for your help (again) !
If I search for "Group" in the regular search field, all the Groups I have created, and the existing ones, are found properly. However, replacing "%Group%" by the seach code you provided does not turn out any results. (nor any other information. simply blank space...)
Where can I check the mentioned {RCS}{EgrepCmd}? The store settings in my configure page only list - {StoreImpl} - where I selected
RCS Lite - {RCS}{dirPermission} - where I left "0755" unchanged (but tried "777" in the meantime) - {RCS}{filePermission} - where I left "0644" unchanged (but tried "777" in the meantime) - {EnableHierarchicalWebs} - where I checked the box "yes"
I have the bad feeling this is a pretty ignorant question, but I have spent all day trying to figure this out.
Thank you so much.
PS.: Please forgive me if I will not answer again right away. I just might sleep. Best wishes from Germany...!
--
ChristophSchmitz - 2009-07-29
Update: I now installed
RCS and cygwin, and changed all the paths to rcs, ci, co, rlog, grep in the
LocalSite.cfg (where I finally found the egrepCMD variable. Also, I changed the configure settings for the store settings back for RCSWrap.
However, the problem persists. I only see the TWikiBaseGroup and TWikiAdminGroup listed in TWikiGroups.
Does anyone have other ideas?
Thank you Christoph
--
ChristophSchmitz - 2009-07-30
--
ChristophSchmitz - 2009-08-04
I had the same issue and fixed it as follows. Make a directory on your server such as c:/GNUforTWiki/ Then put the files egrep.exe and fgrep.exe in the directory ( I attached these two files to this page ) Then point to these files in your /lib/LocalSite.cfg file per the following:
$TWiki::cfg{RCS}{SearchAlgorithm} = 'TWiki::Store::SearchAlgorithms::Forking';
$TWiki::cfg{RCS}{QueryAlgorithm} = 'TWiki::Store::QueryAlgorithms::BruteForce';
$TWiki::cfg{RCS}{EgrepCmd} = 'c:/GNUforTwiki/egrep %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
$TWiki::cfg{RCS}{FgrepCmd} = 'c:/GNUforTwiki/fgrep %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
Also, you may want to set the
RCS line to "Forking" as shown above.
This solved it for me, and probably fixes other things too.
--
DavidPontzer - 2009-08-18
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.