PITS /
01576: Extension hub message if cannot create directory or files
Summary: Extension hub message if cannot create directory or files
Created: 2026-11-14 23:01
Status: Closed
Category: Suggestion
From: simon
Assigned:
Priority: 1
Version: all
OS: all
Description:
It would be helpful for hub.php to fail gracefully, i.e. display an error message on the hub page, if it cannot create the ".extensions" directory
It is supposed to do exactly this. When you save a configuration, if it cannot create a writable directory it will Abort() with a message how to create such a directory manually, see mkdirp(). The hub reuses the standard PageStore process, same as for other PmWiki pages. --Petko
Thanks, you are correct, I'm not sure now what I was observing, as I cannot recreate it,
I had the warning PHP Warning: mkdir(): Permission denied in D:\Home\example\public_html\pmwiki\pmwiki.php on line 1427