calling any class from with the autoauthenticate hook causes an error:
exception 'MWException' with message 'Unstub loop detected on call of
$wgUser->getName from Database::query' in C:\Webroot\mediawiki-
1.10\includes\StubObject.php:54
example code (just add this at the bottom of your LocalSettings.php):
global $wgHooks;
$wgHooks['AutoAuthenticate'][] = 'do_AutoAuthenticate';
function do_AutoAuthenticate ( &$user ) {
$user->mFrom = 'session';
$user->load();
}
Any ideas how to fix this?
Cheers,
Peter.
On 5/1/07, Robert Leverington <lcarsdata(a)googlemail.com> wrote:
I can now access it. Maybe it was a DNS or some other temporary problem.
On 01/05/07, Brion Vibber <brion(a)wikimedia.org> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Metaspheres wrote:
Is
download.wikimedia.org usually down after
hours? I haven't been
able to connect since first trying to download the
package around 12AM.
Nope. Looks fine and there's no problems or restarts logged.
- -- brion vibber (brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFGN1n9wRnhpk1wk44RAhT4AJ9mcBarJMz+xUbK4sAfPZUBE0zYKQCgzpmx
BM77wkl8ZX6bT+9us2hjMd4=
=7iZn
-----END PGP SIGNATURE-----
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
--
Robert ############################
[[User:Lcarsdata]] ################
http://www.wikitest.co.uk #########
http://roberthl.wikitest.co.uk ####
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l