From: <ro...@gm...> - 2007-10-18 17:15:55
|
Hi. I want to enable some pages inputed by XML with SMW. So I'd used the SMW_refreshData.php. First, I used the command "cd D:\AppServ\www\mediawiki-1.10.2" Than, I used the command "D:\AppServ\php5\php.exe SMW_refreshData.php -d 10000 -v" Finally, the result are followed: D:\AppServ\www\mediawiki-1.10.2\maintenance>D:\AppServ\php5\php.exe D:\AppServ\w ww\mediawiki-1.10.2\maintenance\SMW_refreshData.php -d 10000 -v Refreshing all semantic data in the database! Processing pages from ID 0 to ID 171 ... (0) Processing page with ID 1 ... Fatal error: Argument 1 passed to SMWSemanticData::SMWSemanticData() must not be null, called in D:\AppServ\www\mediawiki- 1.10.2\extensions\SemanticMediaWiki\in cludes\SMW_Factbox.php on line 33 and defined in D:\AppServ\www\mediawiki- 1.10.2 \extensions\SemanticMediaWiki\includes\SMW_SemanticData.php on line 26 OS: Win XP MediaWiki: 1.10.2 PHP: 5.1.6 (apache2handler) MySQL: 5.0.24a-community-nt-log Semantic MediaWiki version 0.7 Run with Chinese UI ,SMW_LanguageZh_tw.php( http://www.mediawiki.org/wiki/Extension_talk:Semantic_MediaWiki#SMW_LanguageZh_tw.php ) Any idea? |