User talk:Wanglong/Mw tools

Fatal error with Semantic Media Wiki
Hi, thank you for this tool it looks very useful. I've got a problem with it though:

Fatal error: Call to undefined function wfprofilein in /home/wikijava.org/public_html/w/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line 367

Around that line there's the following: function smwfInitContentLanguage($langcode) { global $smwgIP, $smwgContLang; if (!empty($smwgContLang)) { return; } wfProfileIn('smwfInitContentLanguage (SMW)'); // this line throws the error $smwContLangClass = 'SMW_Language'. str_replace( '-', '_', ucfirst( $langcode ) ); if (file_exists($smwgIP. '/languages/'. $smwContLangClass. '.php')) { include_once( $smwgIP . '/languages/'. $smwContLangClass . '.php' ); }

Any idea on how to solve this?

Thanks, Giulio