Last modified: 2008-12-05 18:18:28 UTC
Hi Markus, I've just installed SMW 1.4.0 on the current stable release of MW (1.13.2). I am running SMW on a VPS (HostEurope's Virtual Server Linux 3.0) with Ubuntu 6.06 and Plesk (PHP 5.1.2 (apache2handler), MySQL 5.0.22-Debian_0ubuntu6.06.11-log, Apache 2.0.55-4ubuntu2.3). After editing LocalSettings.php as detailed on <http://semantic-mediawiki.org/wiki/Help:Installation#Installation>, I got an error message: “extensions/SemanticMediaWiki/includes/SMW_Settings.php [function.include-once]: failed to open stream: Operation not permitted”. Proposed solution: replace include_once('extensions/SemanticMediaWiki/includes/SMW_Settings.php'); by include_once("$IP/extensions/SemanticMediaWiki/includes/SMW_Settings.php"); The existing code might work under special assuptions, but my code is certainly more portable. Strange: Now that I have finished installing SMW, it seems that the existing syntax works as well when I change it back in LocalSettings.php. Sorry for bugging you with this. If I had an account on semantic-mediawiki.org, I would have edited the documentation myself. Cheers, Chris
Here is the full error message (well, the real problem is in the warning; the error is a follow-up: Warning: include_once() [function.include]: Failed opening 'extensions/SemanticMediaWiki/includes/SMW_Settings.php' for inclusion (include_path='/var/www/vhosts/default/htdocs:/var/www/vhosts/default/htdocs/includes:/var/www/vhosts/default/ htdocs/languages:.:') in /var/www/vhosts/default/htdocs/LocalSettings.php on line 129 Fatal error: Call to undefined function enableSemantics() in /var/www/vhosts/default/htdocs/LocalSettings.php on line 130
Fixed in SVN (INSTALL) and on the wiki. P.S. You can contact me via mail if you would like to have an account at semantic-mediawiki.org. The anonymous editing on our old documentation (and the resulting confusion) was just too much work for us to handle, hence the restrictive policy now.