Bug 783626

Summary: Setup failure: includes/SMW_Settings.php includes link to missing file
Product: [Fedora] Fedora Reporter: Robin Green <greenrd>
Component: mediawiki-semanticAssignee: James Laska <jlaska>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: jlaska, jturner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mediawiki-validator-0.4.13-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-26 03:25:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Robin Green 2012-01-21 06:35:22 UTC
Description of problem:
The installation instructions in /usr/share/doc/mediawiki-semantic-1.5.6/README.fedora don't work because you get:

[Sat Jan 21 06:26:25 2012] [error] [client 127.0.0.1] PHP Warning:  require_once(/usr/share/mediawiki/extensions/SemanticMediaWiki/includes/../SMW_Settings.php): failed to open stream: No such file or directory in /usr/share/mediawiki/extensions/SemanticMediaWiki/includes/SMW_Settings.php on line 13, referer: http://localhost/wiki/config/index.php
[Sat Jan 21 06:26:25 2012] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/usr/share/mediawiki/extensions/SemanticMediaWiki/includes/../SMW_Settings.php' (include_path='/usr/share/mediawiki:/usr/share/mediawiki/includes:/usr/share/mediawiki/languages:.:/usr/share/pear:/usr/share/php') in /usr/share/mediawiki/extensions/SemanticMediaWiki/includes/SMW_Settings.php on line 13, referer: http://localhost/wiki/config/index.php

The main installation instructions in /usr/share/doc/mediawiki-semantic-1.5.6/INSTALL would not work either because SemanticMediaWiki.php does not exist!

Version-Release number of selected component (if applicable):
mediawiki-semantic-1.5.6-1.fc16.noarch

Comment 1 James Laska 2012-01-23 15:07:38 UTC
Thanks for the bug report, it seems a newer version of SemanticMediaWiki will be needed.  The latest version introduces a new dependency (Validator).  I've proposed mediawiki-validator as a new package (see bug#784008).

Once that package is reviewed, I'll update mediawiki-semantic.  That will resolve this issue.

Comment 2 Fedora Update System 2012-01-24 13:41:17 UTC
mediawiki-validator-0.4.13-1.fc15,mediawiki-semantic-1.7.0.2-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mediawiki-validator-0.4.13-1.fc15,mediawiki-semantic-1.7.0.2-2.fc15

Comment 3 Fedora Update System 2012-01-24 13:41:28 UTC
mediawiki-validator-0.4.13-1.fc16,mediawiki-semantic-1.7.0.2-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mediawiki-validator-0.4.13-1.fc16,mediawiki-semantic-1.7.0.2-2.fc16

Comment 4 Fedora Update System 2012-01-24 19:56:25 UTC
Package mediawiki-validator-0.4.13-1.fc15, mediawiki-semantic-1.7.0.2-2.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mediawiki-validator-0.4.13-1.fc15 mediawiki-semantic-1.7.0.2-2.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0885/mediawiki-validator-0.4.13-1.fc15,mediawiki-semantic-1.7.0.2-2.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-04-26 03:25:48 UTC
mediawiki-validator-0.4.13-1.fc15, mediawiki-semantic-1.7.0.2-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2012-04-26 03:30:16 UTC
mediawiki-validator-0.4.13-1.fc16, mediawiki-semantic-1.7.0.2-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.