Last modified: 2014-01-03 23:19:32 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 T61611, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59611 - Setup script writes incorrect extensions paths to LocalSettings.php
Setup script writes incorrect extensions paths to LocalSettings.php
Status: RESOLVED DUPLICATE of bug 58659
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.22.0
PC Windows 7
: Normal normal (vote)
: 1.22.x release
Assigned To: Jackmcbarn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-03 21:12 UTC by Iaroslav Vassiliev
Modified: 2014-01-03 23:19 UTC (History)
1 user (show)

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


Attachments

Description Iaroslav Vassiliev 2014-01-03 21:12:26 UTC
Setup script in 1.22 on Windows writes the paths like this to LocalSettings.php:

  require_once "$IP\extensions\Cite\Cite.php";

Using backslash in this case causes \e to be treated as escape sequence and it arises the following error:

  Warning: require_once(C:\xampp\htdocs\w22xtensions\Cite\Cite.php): failed to open stream: Invalid argument in C:\xampp\htdocs\w22\LocalSettings.php on line 127

  Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\w22xtensions\Cite\Cite.php' (include_path='.;\xampp\php\PEAR') in C:\xampp\htdocs\w22\LocalSettings.php on line 127
Comment 1 Jackmcbarn 2014-01-03 23:19:32 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