Thread:Project:Support desk/Problem with ParserFunctions on 1.15

Hi All,

Just having problems getting the ParserFunctions enabled (latest ver REL1_23) so that I can enable UNC links. System is Windows 2008 with IIS, and the Wiki is on a private LAN.

Product Version MediaWiki 1.15.0 PHP 5.3.19 (cgi-fcgi) MySQL 5.5.28

Have added to localsettings.php the following
 * 1) require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php");
 * 2) $wgPFEnableStringFunctions = true;

When I do this, I get the errors below, so i'm wondering if I have something weird in the localsettings or if its some form of version conflict.

Appologies for posting to the main support page - couldn't find where the link was for the ParserFunctions extension.

Backtrace:

Internal error From XXXXXWiki Jump to: navigation, search Magic word 'if' not found


 * 0 D:\IIS\WWW\Wiki\includes\MagicWord.php(244): Language->getMagic(Object(MagicWord))
 * 1 D:\IIS\WWW\Wiki\includes\MagicWord.php(197): MagicWord->load('if')
 * 2 D:\IIS\WWW\Wiki\includes\parser\Parser.php(4034): MagicWord::get('if')
 * 3 D:\IIS\WWW\Wiki\extensions\ParserFunctions\ParserFunctions.php(73): Parser->setFunctionHook('if', 'ExtParserFuncti...', 2)
 * 1) 4 [internal function]: wfRegisterParserFunctions(Object(Parser))
 * 5 D:\IIS\WWW\Wiki\includes\Hooks.php(117): call_user_func_array('wfRegisterParse...', Array)
 * 6 D:\IIS\WWW\Wiki\includes\parser\Parser.php(178): wfRunHooks('ParserFirstCall...', Array)
 * 7 D:\IIS\WWW\Wiki\includes\parser\Parser.php(190): Parser->firstCallInit
 * 8 D:\IIS\WWW\Wiki\includes\parser\Parser.php(312): Parser->clearState
 * 1) 9 [internal function]: Parser->parse(' '''XXXX XX...', Object(Title), Object(ParserOptions), true, true, 1930)
 * 2) 10 D:\IIS\WWW\Wiki\includes\StubObject.php(58): call_user_func_array(Array, Array)
 * 3) 11 D:\IIS\WWW\Wiki\includes\StubObject.php(76): StubObject->_call('parse', Array)
 * 4) 12 D:\IIS\WWW\Wiki\includes\Article.php(3557): StubObject->__call('parse', Array)
 * 5) 13 D:\IIS\WWW\Wiki\includes\Article.php(3557): StubObject->parse(' '''XXXX XX...', Object(Title), Object(ParserOptions), true, true, 1930)
 * 6) 14 D:\IIS\WWW\Wiki\includes\Article.php(979): Article->outputWikiText(' '''XXXX XX...')
 * 7) 15 D:\IIS\WWW\Wiki\includes\Wiki.php(450): Article->view
 * 8) 16 D:\IIS\WWW\Wiki\includes\Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))