[dokuwiki] New PR: More specific detail about file permission failures during init

  • From: "FosseWay" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 18 May 2019 22:00:09 +0200 (CEST)

Hi,

FosseWay opened a new pull request at 
https://github.com/splitbrain/dokuwiki/pull/2779:

Currently, if a required file or directory does not exist or is inaccessible, 
init.php will warn:

`"The $c ('$p') at $path is not found, isn't accessible or writable.
                You should check your config and permission settings.
                Or maybe you want to <a href=\"install.php\">run the
                installer</a>?

This PR aims to provide a bit more information by giving the specific nature of 
the permission failure: if the file isn't found, say it's not found; if not 
readable, say it's not readable and so on. Based on[ several forum 
postings](https://forum.dokuwiki.org/forum.php?req=search&Query=%22run+the+installer%22&ResultView=2&InSubject=1&InMessage=1&Sort=2&DateFrom=&DateUntil=&Forum=0),
 the existing message isn't always sufficient to get people the information 
they need.

This PR also adds a link to the dokuwiki.org file permissions page, which might 
help someone more quickly find the information they need to resolve their 
permission issue during DokuWiki setup.

Rather than display the full path of the missing file (e.g. 
`/var/www/html/wiki/some/file`, the message should only display the path 
relative to the DokuWiki root, e.g. `<DOKUWIKI>/some/file`).

Please help us to review this pull request, so new contributors get feedback in 
a timely manner.

8979c8f0-79a7-11e9-92aa-b63754ebda37


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] New PR: More specific detail about file permission failures during init - FosseWay