Last modified: 2006-04-15 08:52:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T7576, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5576 - memsess_key undefined in matchEditToken if $wgSessionsInMemcached is false
memsess_key undefined in matchEditToken if $wgSessionsInMemcached is false
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.7.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://codex.gallery2.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-15 01:45 UTC by Alan Harder
Modified: 2006-04-15 08:52 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alan Harder 2006-04-15 01:45:32 UTC
Found this with 1.6.3, seems the same in current svn.

includes/User.php function matchEditToken calls memsess_key, but function
SetupSession only includes MemcachedSessions.php if $wgSessionsInMemcached is true.

I got a PHP error from this when clicking "Show Changes" during editing a page,
but tried a few other times on other edits and show changes worked ok.  So,
don't know how to reliably reproduce, but the code does seem to expect that
function when it might not be included.
Comment 1 Brion Vibber 2006-04-15 08:52:00 UTC
Live debugging hack accidentally committed.

Fixed on trunk in r13651; in REL1_6 in r13652.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links