Last modified: 2008-12-05 18:18:28 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 T18520, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16520 - documentation issue: wrong path given in install instructions
documentation issue: wrong path given in install instructions
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
http://semantic-mediawiki.org/wiki/He...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-01 16:09 UTC by Christian Pietsch
Modified: 2008-12-05 18:18 UTC (History)
1 user (show)

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


Attachments

Description Christian Pietsch 2008-12-01 16:09:34 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
Comment 1 Christian Pietsch 2008-12-01 20:03:12 UTC
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
Comment 2 Markus Krötzsch 2008-12-05 18:18:28 UTC
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.

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


Navigation
Links