After installing Composer I get the following messages in the Chrome console:
[1] GET http://localhost/wiki/extensions/SemanticMediaWiki/resources/images/smw_button.png 404 (Not Found) /wiki/eva/index.php?title=Special:Version:383 Resource interpreted as Script but transferred with MIME type text/html: "http://localhost/wiki/eva/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*". index.php:19 [2] Refused to execute script from 'http://localhost/wiki/eva/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. index.php:1 [3] GET http://localhost/wiki/extensions/SemanticMediaWiki/resources/images/smw_button.png 404 (Not Found) index.php?title=Special:Version:383 [4] Uncaught ReferenceError: $ is not defined load.php?debug=false&lang=en&modules=site&only=scripts&skin=vector&*:1
The interesting thing about [1] and [3] is that this wiki is installed at http://localhost/wiki/eva/ (C:/xampp/htdocs/wiki/eva/), but it's looking for the image file as if the "eva" directory does not exist.
Clicking on [2] I get these further details:
[5] <br />
<b>Fatal error</b>: Cannot override final method SMW\ResultPrinter::getResult() in <b>C:\xampp\htdocs\wiki\eva\extensions\SemanticResultFormats\formats\Exhibit\SRF_Exhibit.php</b> on line <b>468</b><br />
Running:
MW 1.22.0rc3
PHP 5.4.7
SMW 1.9 beta-1 (4bce4b3)
both SemanticResultFormats 1.8 and master tested, same results
I'm not sure based on documentation if I need to run SMW_refreshData.php to upgrade from SMW 1.8.0.5, but I am unable to do that anyway due to the errors below (sorry, not sure if I should break this into a separate bug report...this is my first bug report ever). Specifically, the command I ran was "php SMW_refreshData.php". I'm not sure if I needed to add any parameters to that command. My output was:
SMW_refreshData.php Errors
Refreshing all semantic data in the database!
Some versions of PHP suffer from memory leaks in long-running scripts.
If your machine gets very slow after many pages (typically more than
- were refreshed, please abort with CTRL-C and resume this script at the last processed page id using the parameter -s (use -v to display page ids during refresh). Continue this until all pages were refreshed. ---
Processing all IDs from 1 to last ID ...
Warning: filesize(): stat failed for C:\Windows\TEMP/transform_a42598fe0ea7-1.png in C:\xampp\htdocs\wiki\eva\includes\filebackend\FileBackendStore.php on line 161
Warning: filesize(): stat failed for C:\Windows\TEMP/transform_a42598fe0ea7-1.png in C:\xampp\htdocs\wiki\eva\includes\filebackend\FSFileBackend.php on line 245
Notice: FSFileBackend::doStoreInternal: copy() failed but returned true. in C:\xampp\htdocs\wiki\eva\includes\filebackend\FSFileBackend.php on line 248
Catchable fatal error: Argument 3 passed to SMW\SubobjectParserFunction::__construct() must be an instance of SMW\MessageFormatter, none given, called in C:\xampp\htdocs\wiki\eva\extensions\SemanticInternalObjects\SIO_SubobjectAlias.php on line 63 and defined in C:\xampp\htdocs\wiki\eva\extensions\SemanticMediawiki\includes\parserhooks\SubobjectParserFunction.php on line 40
END SMW_refreshData.php errors
Version: master
Severity: normal
OS: Windows 7
Platform: PC