Hi guys,
I am using the updated siteminder auth extension(Version 1.02) (see it http://www.mediawiki.org/wiki/Extension_talk:Siteminder_Authentication) with MK 1.16.2, when loading the extension, I met the following errors:
Warning: Parameter 1 to SiteminderUserLoadAfterLoadFromSession() expected to be a reference, value given in D:\wamp\www\devmw\includes\Hooks.php on line 133 Detected bug in an extension! Hook SiteminderUserLoadAfterLoadFromSession failed to return a value; should return true to continue hook processing or false to abort. Backtrace: 1. 0 D:\wamp\www\devmw\includes\User.php(266): wfRunHooks('UserLoadAfterLo...', Array) 2. 1 D:\wamp\www\devmw\includes\User.php(3613): User->load() 3. 2 D:\wamp\www\devmw\includes\User.php(1968): User->loadOptions() 4. 3 [internal function]: User->getOption('numberheadings') 5. 4 D:\wamp\www\devmw\includes\StubObject.php(58): call_user_func_array(Array, Array) 6. 5 D:\wamp\www\devmw\includes\StubObject.php(182): StubObject->_call('getOption', Array) 7. 6 [internal function]: StubUser->__call('getOption', Array) 8. 7 D:\wamp\www\devmw\includes\parser\ParserOptions.php(150): StubUser->getOption('numberheadings') 9. 8 D:\wamp\www\devmw\includes\parser\ParserOptions.php(109): ParserOptions->initialiseFromUser(Object(StubUser)) 10. 9 D:\wamp\www\devmw\includes\Article.php(4054): ParserOptions->__construct(Object(StubUser)) 11. 10 D:\wamp\www\devmw\includes\Article.php(745): Article->getParserOptions() 12. 11 D:\wamp\www\devmw\includes\Wiki.php(493): Article->view() 13. 12 D:\wamp\www\devmw\includes\Wiki.php(70): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest)) 14. 13 D:\wamp\www\devmw\index.php(117): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest)) 15. 14 {main} Anyone could help me? Any suggestion, comments will be highly appreciated!
Thanks! Jian
mediawiki-enterprise@lists.wikimedia.org