Last modified: 2014-01-02 14:47:02 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 T61079, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59079 - Extension Paths not escaped properly during install (\ should be \\)
Extension Paths not escaped properly during install (\ should be \\)
Status: RESOLVED DUPLICATE of bug 58659
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.22.0
PC Windows 7
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-28 16:54 UTC by nudelbubu
Modified: 2014-01-02 14:47 UTC (History)
1 user (show)

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


Attachments

Description nudelbubu 2013-12-28 16:54:40 UTC
After installing MediaWiki with some extensions activated and copying the created LocalSettings.php to the correct folder (d:\htdocs\test), php output was:

Warning: require_once(D:\htdocs\testxtensions\InputBox\InputBox.php): failed to open stream: Invalid argument in D:\htdocs\test\LocalSettings.php on line 123

Fatal error: require_once(): Failed opening required 'D:\htdocs\testxtensions\InputBox\InputBox.php' (include_path='.;C:\xampp\php\PEAR') in D:\htdocs\test\LocalSettings.php on line 123


Problem is produced by extension paths not being escaped properly, line in LocalSettings.php is:
require_once "$IP\extensions\InputBox\InputBox.php";
should be:
require_once "$IP\\extensions\\InputBox\\InputBox.php";
Comment 1 Umherirrender 2014-01-02 14:47:02 UTC

*** This bug has been marked as a duplicate of bug 58659 ***

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


Navigation
Links