Last modified: 2014-03-08 07:39:27 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 T63094, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61094 - If LocalSettings.php unreadable should give error not fatal out
If LocalSettings.php unreadable should give error not fatal out
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Umherirrender
: easy
: 29610 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-08 18:25 UTC by Bawolff (Brian Wolff)
Modified: 2014-03-08 07:39 UTC (History)
4 users (show)

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


Attachments

Description Bawolff (Brian Wolff) 2014-02-08 18:25:28 UTC
Since we require users to copy over LocalSettings.php, I imagine its somewhat common for people to copy it over using their user credentials instead of apache's, and have the file unreadable by apache. When this happen, php fatals and displays blank page. We should instead check the file is readable, and if the file exists but is not readable display some sort of helpful error.
Comment 1 Gerrit Notification Bot 2014-03-05 19:38:34 UTC
Change 117022 had a related patch set uploaded by Umherirrender:
LocalSettings.php must be readable by the server

https://gerrit.wikimedia.org/r/117022
Comment 2 Gerrit Notification Bot 2014-03-07 19:23:20 UTC
Change 117022 merged by jenkins-bot:
LocalSettings.php must be readable by the server

https://gerrit.wikimedia.org/r/117022
Comment 3 Umherirrender 2014-03-07 19:28:17 UTC
successfully merged
Comment 4 db [inactive,noenotif] 2014-03-08 07:39:27 UTC
*** Bug 29610 has been marked as a duplicate of this bug. ***

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


Navigation
Links