[pmwiki-users] "failed to open stream"

Patrick R. Michaud pmichaud at pobox.com
Sat Mar 11 06:46:40 CST 2006


On Sat, Mar 11, 2006 at 09:23:53AM +0100, kjettil wrote:
>    My pmwiki site worked perfectly until yesterday night, when my host
>    company seems to have stopped PHP for a while and then changed something
>    on their servers. I now, when trying to edit a page, get the message
>    "Warning: fopen(wiki.d/.flock): failed to open stream:", with a ref to
>    line 387 in pmwiki.php, and a PmWiki message "Cannot acquire lockfile".
>    The file is chmod 644 and the server as from today refuses attribution
>    changes. Suggestion for action?

Remove the .flock file.  You should also check the permissions on the
wiki.d/ directory --  make sure the webserver has write permission
into the directory.

Pm





More information about the pmwiki-users mailing list