Page MenuHomePhabricator

Semantic Drilldown Globals aren't set properly and break web-based upgrade
Closed, DeclinedPublic

Description

Went to mw-config and got the following error:

Warning: include_once(/languages/SD_LanguageEn.php): failed to open stream: No such file or directory in /home/wikisummaries/public_html/w/extensions/SemanticDrilldown/SemanticDrilldown.php on line 186
Warning: include_once(): Failed opening '/languages/SD_LanguageEn.php' for inclusion (include_path='/home/wikisummaries/public_html/w/vendor/phpunit/phpunit-mock-objects:/home/wikisummaries/public_html/w/vendor/phpunit/php-token-stream:/home/wikisummaries/public_html/w/vendor/phpunit/php-code-coverage:/home/wikisummaries/public_html/w/vendor/phpunit/phpunit:/home/wikisummaries/public_html/w/vendor/symfony/yaml:.:/usr/share/php:/usr/share/pear') in /home/wikisummaries/public_html/w/extensions/SemanticDrilldown/SemanticDrilldown.php on line 186

Fatal error: Class 'SD_LanguageEn' not found in /home/wikisummaries/public_html/w/extensions/SemanticDrilldown/SemanticDrilldown.php on line 190

Event Timeline

Palexis assigned this task to Yaron_Koren.
Palexis raised the priority of this task from to Needs Triage.
Palexis updated the task description. (Show Details)
Palexis subscribed.

By the way, this is Semantic Drilldown.

I just had the exact same thing happen to me: "Fatal error: Class 'SD_LanguageEn' not found in /***/extensions/SemanticDrilldown/SemanticDrilldown.php on line 174"

I recently installed MediaWiki on my server, then installed the Semantic Bundle, with all the php items commented out as instructed, then I uncommented most of the other bundled extensions.

I wanted to turn on the ApprovedRevs extension, so I went to mw-config for the update.php activitation so the database could get updated, and I hit this snag.

This is a clean wiki installation. I'm setting up a prototype environment to demonstrate concepts to my supervisors and prove out to myself some of the Semantic wiki capabilities.

This only happens when Semantic Drilldown is loaded using Composer, right?

No, I followed the instructions at the following site, which specifically states in the 2nd paragraph "Do not run Composer", which I did not.
https://www.mediawiki.org/wiki/Semantic_Bundle

Everything seemed to load and work fine until I went to run update.php so that ApprovedRevs could add some data fields to the database.
Ray J.

Aklapper added a subscriber: Yaron_Koren.

This task has been assigned to the same task owner for more than two years. Resetting task assignee due to inactivity, to decrease task cookie-licking and to get a slightly more realistic overview of plans. Please feel free to assign this task to yourself again if you still realistically work or plan to work on this task - it would be welcome!

For tips how to manage individual work in Phabricator (noisy notifications, lists of task, etc.), see https://phabricator.wikimedia.org/T228575#6237124 for available options.
(For the records, two emails were sent to assignee addresses before resetting assignees. See T228575 for more info and for potential feedback. Thanks!)