Tags:
create new tag
view all tags

Question

For some reason, my site map is always empty. Even the main webs don't show up. I have checked and double checked the preferences for each web and they are the default settings. ie. Set SITEMAPLIST = on and SITEMAPWHAT and SITEMAPUSETO are non-blank and NOSEARCHALL is blank.

  • TWiki version: 01 Feb 2003
  • Perl version: 5.6.1
  • Web server & version: Apache/1.3.26 Server
  • Server OS: Unix (openbsd)
  • Web browser & version: All
  • Client OS: All

-- SimonHarris - 24 Feb 2003

Answer

Not an answer, but does embedded search work, e.g. WebIndex and WebChanges?

-- PeterThoeny - 24 Feb 2003

No. Good call. They don't work either. frown

-- SimonHarris - 24 Feb 2003

This indicates that search is not working. Chech the $egrepCmd and $fgrepCmd settings in TWiki.cfg. Also check the file permissions on the data/web directories.

-- PeterThoeny - 25 Feb 2003

Another reason is that your webs could have been set up to restrict access only to registered users. I discovered that the sitemap excludes webs that can be read only by authenticated users. Because the main web is readable by all, TWiki treats the user as Guest and assumes that these webs should be invisible. I am trying to discover whether it is possible to override that, other than by reverting to the old TWikiWebsTable.

HA! Found it. Just add the following line to the WebPreferences topic of any access-restricted web if you want it to show up in the site map:

  • Set ALLOWTOPICVIEW = %MAINWEB%.TWikiGuest %MAINWEB%.SomeOtherGroup

(where SomeOtherGroup is the group that you want to have access to this entire web).

-- ImmoHuneke - 26 Jun 2003

I am having the same problem as Peter but Immo's solution is not working for me: Adding the line to a Web's WebPreferences does not make it show up in the SiteMap. How can I let user TWikiGuest see all webs and have no access restriction? Updating to the lastest Version (1.63) of Search.pm solved the problem.

-- Guest - 04 Jan 2004

I'm having the same problem as the original poster, except search is working fine (and testenv does in fact report that it sees egrep & fgrep). None of the Webs are restricted-viewing. The Search.pm I am using is the one that comes with 20040902, so I presume it's recent enough to pass muster. What else might it be?

-- Guest - 13 May 2005

I've been trying to figure this one out for days... my search all of the sudden not working. It seems like I change something and then out of the blue the site map and other %searches not working. I think I got it fixed in my Twiki.cfg. I realized the line above the (i'm running windows)ls,grep,egrep it says not to use c: in the command. It worked in testenv with the c:, then it broke, but it works and I still get a warning in testenv with just the commands ls, grep -e, grep -f. Go figure. I just hope it doesn't break again.

-- JeffPelton - 19 Jul 2005

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2005-07-19 - JeffPelton
 
  • 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.