I changed user.php as stated below. went to preferences. unchecked jump to navigation, clicked save and received the following error.
"Undefined variable wgSessionsInMemcached in C:\wiki\Mediawiki\mediawiki- 1.6.3\includes\User.php on line 1693"
------ ipbwiki list ipbwiki.list at gmail.com Sat Apr 8 13:27:31 UTC 2006
Hi,in the function matcheditToken there is a call to a function only availableif you use memcached. The line in question is
$mckey = memsess_key( session_id() );
the memsess_key function is registered in the function "SetupSession" (alsoin user.php). This function is only included if $wgSessionsInMemcached istrue tough (as it should).
to solve the problem the function matcheditToken has to be altered.searchfor the line:
if ( $val != $sessionToken ) { and change this to:
if ( $val != $sessionToken and $wgSessionsInMemcached ) {
This change will avoid the error "call to undefined function memsess_key"when the session is lost. Best regards, Peter.
http://mail.wikipedia.org/pipermail/mediawiki-l/2006-April/011236.html