From: Stephan G. <s7...@gm...> - 2013-01-14 17:30:01
|
Hi, I got the below error first when after changing a template I ran runJobs.php to update all affectted pages. Since I was not completely sure that I updated to the new store correctly, I repeated the upgrade steps on [1] and got until the first call to SMW_refreshData when I got the error again. Did I miss some setting? Is there a workaround? (143) Processing ID 208 ... The property id to add must be a positive integer Backtrace: #0 C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\PropertyStatisticsTable.php(113): SMW\SQLStore\PropertyStatisticsTable->addToUsageCount('', 3) #1 C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3_Writers.php(464): SMW\SQLStore\PropertyStatisticsTable->addToUsageCounts(Array) #2 C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3_Writers.php(158): SMWSQLStore3Writers->writePropertyTableUpdates(77, Array, Array, Array, Object(DatabaseMysql)) #3 C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3_Writers.php(85): SMWSQLStore3Writers->doFlatDataUpdate(Object(SMWSemanticData), Object(Dat abaseMysql)) #4 C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3.php(333): SMWSQLStore3Writers->doDataUpdate(Object(SMWSemanticData)) #5 C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SMW_Store.php(234): SMWSQLStore3->doDataUpdate(Object(SMWSemanticData)) #6 C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\SMW_ParseData.php(374): SMWStore->updateData(Object(SMWSemanticData)) #7 C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\jobs\SMW_UpdateJob.php(64): SMWParseData::storeData(Object(ParserOutput), Object(Title), false) #8 C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3_SetupHandlers.php(390): SMWUpdateJob->run() #9 C:\xampp\htdocs\w\extensions\SemanticMediaWiki\includes\storage\SQLStore\SMW_SQLStore3.php(404): SMWSQLStore3SetupHandlers->refreshData('208', 1, Array, false) #10 C:\xampp\htdocs\w\extensions\SemanticMediaWiki\maintenance\SMW_refreshData.php(147): SMWSQLStore3->refreshData('208', 1, Array, false) #11 {main} Cheers, Stephan [1] http://semantic-mediawiki.org/wiki/Help:Installation#Upgrading_existing_installations |