Last modified: 2012-04-12 13:54:19 UTC
When I change a users password with maintenance/changePassword.php the user can still not log in due to the user-data being cached in APC. (I use CACHE_ACCEL.) This is probably due to APC having distinct shared-memory in CGI and CLI.
r96732 should hopefully fix that in trunk
That doesn't look like it'll help; the fundamental problem with using APC etc for data caching is this inability for command-line scripts to update or delete the cached items that the web processes access. This will be only one of thousands of instances of this problem; the only ways to fix it would be general, using a cache system that can be accessed by all processes -- my personal recommendation is to just set up memcached instead! ;)
(In reply to comment #2) > That doesn't look like it'll help; Yup, I realised and reverted soon after :)
A bit nasty, but certainly effective: We could let all cache-deletes (or even all actions) be done through web-requests. So the changePassword script calls http://url.to.mediawiki/w/api.php?action=cache-delete&key=user-123 That might cause problems with race-conditions however.