[pmwiki-users] unlink error

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 12 15:07:14 CST 2009

On Thu, Feb 12, 2009 at 09:44:59PM +0100, Julian Fox wrote:
> Dear list,
> I have just received a Warning: unlink(wiki.d/ error message which then goes on
> further to point to a line in pmwiki.php which reads:
>  if (file_exists($pagefile)) $s = $s && unlink($pagefile);
> I would have no idea why this has happened, but my first concern of course is
> what to do to overcome it.  I deleted the .flock file but that does not help -
> the error simply returns. I suspect I need to alter the pmwiki.php file but
> what di I need to change to get myself back to being able to write to this
> wiki?

Chances are that the permissions and/or ownership of the
page file have been changed somehow, and thus the webserver
is unable to remove the old copy of the pagefile.

Try moving it manually, or see if you can get the permissions
on the file changed back.


More information about the pmwiki-users mailing list