Last modified: 2014-01-02 11:16:43 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 T60909, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58909 - LocalSettings configured wrong for extensions
LocalSettings configured wrong for extensions
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.22.0
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-23 19:56 UTC by SirComputer
Modified: 2014-01-02 11:16 UTC (History)
1 user (show)

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


Attachments

Description SirComputer 2013-12-23 19:56:37 UTC
When installing MediaWiki, I decided to tick all the extensions. However, this did not work out, as the include_once is incorrectly set. It should be set as require_once("$IP/extensions/Poem/Poem.php");, instead it was set as require_once "$IP/extensions/Poem/Poem.php"; causing an error such as 

Warning: require_once(C:\Users\OliverAdmin\Documents\mwxampp\htdocsxtensions\Cite\Cite.php): failed to open stream: Invalid argument in C:\Users\OliverAdmin\Documents\mwxampp\htdocs\LocalSettings.php on line 127

Fatal error: require_once(): Failed opening required 'C:\Users\OliverAdmin\Documents\mwxampp\htdocsxtensions\Cite\Cite.php' (include_path='.;C:\Users\OliverAdmin\Documents\mwxampp\php\PEAR') in C:\Users\OliverAdmin\Documents\mwxampp\htdocs\LocalSettings.php on line 127
Comment 1 SirComputer 2013-12-23 19:58:27 UTC
Oh, Cite is installed differently, but same error applies for Poem.
Comment 2 SirComputer 2013-12-23 19:59:45 UTC
Sorry about posting yet again, but it looks like it may just be a select few that glitch out.
Comment 3 Bawolff (Brian Wolff) 2013-12-24 08:55:05 UTC
The brackets are not the issue (The brackets are optional for require_once in php as its technically a keyword)

In what you posted, between "htdocs" and "xtensions" there is the character U+1B (Which is the "escape" character. Mostly that is used for making text colourful in terminals). I'm not sure if that's a copy/paste error, or actually in the file, but if it is actually in LocalSettings.php, that may be causing your issue.
Comment 4 Andre Klapper 2014-01-02 11:16:43 UTC
Thanks bawolff! Closing as INVALID as per comment 3 - sounds like an issue for https://www.mediawiki.org/wiki/Project:Support_desk

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


Navigation
Links