Last modified: 2011-08-02 21:33:52 UTC
In a fresh install of Semantic MediaWiki bundle 1.6 on Mediawiki 1.17, when the SemanticResultFormats extension is enabled in semantic-bundle/SemanticMediaWikiSettings.php, the following error message is returned: Fatal error: Declaration of SRFiCalendar::getResultText() must be compatible with that of SMWResultPrinter::getResultText() in /var/www/tiwiki/extensions/SemanticResultFormats/iCalendar/SRF_iCalendar.php on line 17
This seems invalid to me. Make sure you have matching versions of SRF and SMW. Use SMW 1.6 and SRF 1.6, or SMW 1.5.x and SRF 1.5.x, but don't mix them up.
Hey, thanks for the reply! I downloaded SemanticBundle-20110730.tgz and: "$ grep VERSION SemanticResultFormats/SemanticResultFormats.php define( 'SRF_VERSION', '1.5.3' ); 'version' => SRF_VERSION," and "$ head -4 SemanticMediaWiki/RELEASE-NOTES For a documentation of all features, see http://semantic-mediawiki.org == SMW 1.6 ==" (Couldn't see a define for SemanticMediaWiki) I guess SRF 1.6 wasn't updated in the .tgz file?
Ah, damn. It indeed was not. Just fixed this, and will release a new SB soonish to address this and some other issues. In the meanwhile you can get SRF 1.6 separately @ https://code.google.com/p/semantic-result-formats/downloads/list Thanks for reporting this :)
Great, thanks for the help, much appreciated.