SID-01842: Access Denied The "Home/WebHome" web does not exist
| Status: |
Answered |
TWiki version: |
|
Perl version: |
5.010001 |
| Category: |
CategoryAccessControl |
Server OS: |
Linux 2.6.32-220.el6.x86_64 (i386-linux-thread-multi) |
Last update: |
12 years ago |
I'm using TWiki-5.1.1, Sat, 14 Jan 2012, build 22570, Plugin API version 1.4
It's been working fine for more than a year as an intranet for my company. Over the weekend, a domain name redirect was done to make arriving at the login page easier on
GoDaddy and it cocked up the site completely for 24 hours, getting 400 and 500 failures. It has been restored and appears to be working fine with the exception that the Home web - which is where all the content is - cannot be accessed via the
WebHome homepage. I can get to the Home web web topics such as preferences, index, etc., but if I click on the icon + text in the sidebar Webs link for the Home web - or via breadcrumbs or anywhere else, I get:
Access Denied
Attention
The "Home/WebHome" web does not exist
A
TWikiSite is divided into webs; each one represents one subject, one area of collaboration. You are trying to 'view' in a web that does not exist.
If you came here by clicking on a question mark link
A link to a topic located in another web is written like
TopicName. Make sure that the name of the web is not spelt wrongly on the previous page; fix the link if necessary.
If you would like to create this web
You can create a new web if you have permission. Contact
administrator@email... if you have any questions.
OK
The URL that appears when I get this error is:
http://smitindustries.net/bin/oops/Home/WebHome/WebHome?template=oopsaccessdenied;def=no_such_web;param1=view;template=oopsaccessdenied;def=no_such_web;param1=view
In Home/WebPreferences, Set ALLOWWEBVIEW =
TWikiAdminGroup,
ApprovedUsersGroup of which the admin user is definitely listed as is my personal user, neither of which can 'see' the page.
I've looked on the server and Home/WebHome exists as a file and its permissions are identical to Main/WebHome
The Home web shows up in TWiki/SitePermissions, /TWiki/SiteMap and I can get to the web preferences from the edit icon there, run the topic search from there, see the recent topic changes from there, etc., but if I click on the link for the Home web, I get the Access Denied failure.
I can access all of the other webs via their sidebar and internal page links and arrive on the
WebHome pages. In short, the wiki is working, I just can't access the Home/WebHome via the
WebHome landing page or use any of the internal
SiteMap navigation links to it.
I'm sure there's a simple solution to this, but I'm missing it... Any help would be appreciated.
--
Norman Smit - 2013-12-17
Discussion and Answer
Not sure. It looks like WebHome is duplicated in the URL, e.g.
Home/WebHome/WebHome instead of
Home/WebHome. Check
{HomeTopicName} configure setting, should be
WebHome.
--
Peter Thoeny - 2013-12-17
I visited lib/LocalSite.cfg and checked the
HomeTopicName line and it is listed as follows:
$TWiki::cfg{SiteWebTopicName} = '';
$TWiki::cfg{SitePrefsTopicName} = 'TWikiPreferences';
$TWiki::cfg{LocalSitePreferences} = 'Main.TWikiPreferences';
$TWiki::cfg{HomeTopicName} = 'WebHome';
All of the webs resolve OK to their respective
WebHome addresses - Main, TWiki, Sandbox, just not Home
--
Norman Smit - 2013-12-17
Opening and saving the
LocalSite.cfg seems to have done something. The Home web
WebHome page is now resolving. Thanks for the help.
--
Norman Smit - 2013-12-17
Unless someone else wants to weigh in on this matter, I consider the status of this question to be "Question answered".
--
Norman Smit - 2013-12-17
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.