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

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.amateurradiowiki.us Port 80

--98.204.15.128 00:00, 21 October 2008 (UTC)