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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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