• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Successful login using login in webleftbar leads me to non existing page

I open a browser

I am not authenticated!

I login by clicking the login link in the left bar.

I authenticate myself.

I am directed to a page


which does not exist naturally.

In the apache error log I get

[Mon Jan 02 01:53:55 2006] [error] [client] script not found or unable to stat: /usr/local/apache2/dakar/bin/WebHome, referer: http://merlin.lavrsen.dk/dakar/bin/view/TWiki/WebHome

Here are the LocalSite.cfg settings you may need to reproduce it

$TWiki::cfg{DispScriptUrlPath} = '/dakar/bin';
$TWiki::cfg{PubDir} = '/usr/local/apache2/dakar/pub';
$TWiki::cfg{PubUrlPath} = '/dakar/pub';
$TWiki::cfg{TemplateDir} = '/usr/local/apache2/dakar/templates';
$TWiki::cfg{ScriptUrlPath} = '/dakar/bin';
$TWiki::cfg{DataDir} = '/usr/local/apache2/dakar/data';
$TWiki::cfg{LocalesDir} = '/usr/local/apache2/dakar/locale';
$TWiki::cfg{DefaultUrlHost} = 'http://merlin.lavrsen.dk';
$TWiki::cfg{Sessions}{ExpireAfter} = '0';
$TWiki::cfg{MapUserToWikiName} = 0;
$TWiki::cfg{UseClientSessions} = 1;
$TWiki::cfg{Sessions}{MapIP2SID} = 0;
$TWiki::cfg{Sessions}{UseIPMatching} = 1;
$TWiki::cfg{LoginManager} = 'TWiki::Client::ApacheLogin';
$TWiki::cfg{Sessions}{IDsInURLs} = 0;
$TWiki::cfg{Register}{NeedVerification} = 1;

Note that I use Apache Login


That would tend to suggest you have inconsistent versions of TWiki.pm and TWiki/Client/ApacheLogin.pm.

The function getScriptUrl has had its parameter order and number changed. Please check to make sure you have correct versions.


I have confirmed that both files are up to date. I compared by manually downloading them from the SVN webinterface.

Note that if I not authenticated and press EDIT I am being prompted for user name and password. And that works OK.

It is only when I login via the %LOGIN twiki variable that things do not work


SVN 8076 ought to have corrected it. I had missed a call to getScriptUrl.


Summary Successful login using login in webleftbar leads me to non existing page
ReportedBy KennethLavrsen

SVN Range Sat, 31 Dec 2005 build 8057
AppliesTo Engine

Priority Urgent
CurrentState Closed

Checkins 8076
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-01-03 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback