Last modified: 2011-08-02 21:33:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32189, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30189 - SMW 1.6 - SRFiCalendar::getResultText() must be compatible with that of SMWResultPrinter::getResultText()
SMW 1.6 - SRFiCalendar::getResultText() must be compatible with that of SMWRe...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-02 20:47 UTC by Gavin O'Gorman
Modified: 2011-08-02 21:33 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gavin O'Gorman 2011-08-02 20:47:49 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
Comment 1 Jeroen De Dauw 2011-08-02 21:08:38 UTC
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.
Comment 2 Gavin O'Gorman 2011-08-02 21:21:04 UTC
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?
Comment 3 Jeroen De Dauw 2011-08-02 21:31:11 UTC
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 :)
Comment 4 Gavin O'Gorman 2011-08-02 21:33:52 UTC
Great, thanks for the help, much appreciated.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links