You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The VM description says "..with MediaWiki 1.9, ..." which should state 1.29 instead.
Display resolution
I need to install sudo apt-get install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms to allow for a better display resolution
LocalSettings.php
Link to the LocalSettings.php on the desktop
Add $wgAllowDisplayTitle = true; $wgRestrictDisplayTitle = false; to use the DISPLAYTITLE
$smwgOWLFullExport is not required (doesn't exists since 1.6)
Outdated cURL extension
I had to manually update cURL sudo apt-get install php-curl as tests complained with "Use of undefined constant CURLE_GOT_NOTHING - assumed 'CURLE_GOT_NOTHING'"
php.ini
Some reports of Maximum execution time of 60 seconds exceeded hence required to change the php.ini - max_execution_time.
XDebug
XDebug is enabled by default which kills performance and it should be disabled using "sudo phpdismod -s cli xdebug".
After resolving all above issues, I was finally able to the run composer phpunit (or composer integration for those integration tests) and the encounter the following issue:
refs https://sourceforge.net/p/semediawiki/mailman/message/36028997/
First of all, it is delight to have such simple setup by just running the VM without having to deal with all the vagrant, ansible setup.
The following issues appeared with the https://doi.org/10.6084/m9.figshare.5383966.v1 file:
VM description
The VM description says "..with MediaWiki 1.9, ..." which should state 1.29 instead.
Display resolution
I need to install
sudo apt-get install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms
to allow for a better display resolutionLocalSettings.php
LocalSettings.php
on the desktop$wgAllowDisplayTitle = true; $wgRestrictDisplayTitle = false;
to use the DISPLAYTITLE$smwgOWLFullExport
is not required (doesn't exists since 1.6)Outdated cURL extension
I had to manually update cURL
sudo apt-get install php-curl
as tests complained with "Use of undefined constant CURLE_GOT_NOTHING - assumed 'CURLE_GOT_NOTHING'"php.ini
Some reports of
Maximum execution time of 60 seconds exceeded
hence required to change thephp.ini - max_execution_time
.XDebug
XDebug is enabled by default which kills performance and it should be disabled using "sudo phpdismod -s cli xdebug".
Accessing the Virtualbox from the outside
Accessing your Virtualbox Guest from your Host OS (https://2buntu.com/articles/1513/accessing-your-virtualbox-guest-from-your-host-os/)
Running SMW standard tests
After resolving all above issues, I was finally able to the run
composer phpunit
(orcomposer integration
for those integration tests) and the encounter the following issue:In
/var/www/html/w/extensions/Rdfio/stores/SMW_ARC2Store.php:110
there is no such method asSMWWikiPageValue::setValues
not in 2.5.* and not in 1.8* (for comparison see https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/1.8.0.5/includes/datavalues/SMW_DV_WikiPage.php).We should be able to run
composer phpunit
from the SMW root directory without problems with or without enabledSMWARC2Store
.The text was updated successfully, but these errors were encountered: