00418: flock open failure by IIS (Windows-NT)
Description: Warning: fopen(wiki.d/.flock): failed to open stream: Permission denied in \\premfs2\sites\premium7\****\webroot\log\index.php on line 350 PmWiki can't process your request Cannot acquire lockfile We are sorry for any inconvenience.
index.php is simply pmwiki.php renamed
The application was developed on a LINUX Apache server, tested, and ported to the NT IIS where it promptly failed. I adjusted all configurables in /local/config.php to reflect the new environment to no obvious improvement. I tried removing .flock (which contained 0 bytes) to no obvious improvement.
The problem looks like a permissions problem on the wiki.d/ directory. Many IIS servers require setting the IUSER permissions on the directory before the webserver (and PmWiki) is allowed to access it or create files there.
This was resolved when I contacted the Web Host sysadmin to add the read and write permissions to the webroot PMWiki folder