This page provides help for specific error messages that sites may encounter when using PmWiki. If this page doesn't answer your question, try looking at Troubleshooting and frequently asked questions. If these still don't have the answer you're looking for, try the pmwiki-users mailing list or ask a question on the Questions page.
Many issues are caused by incorrect File Permissions.
Cannot acquire lockfile
Something (or someone) has changed the permissions on the wiki.d/.flock file or the wiki.d/ directory such that the webserver is no longer able to write the lockfile. The normal solution is to simply delete the .flock file from the wiki.d/ directory -- PmWiki will then create a new one. Also be sure to check the permissions on the wiki.d/ directory itself. What should the permissions be?
AFAIK, read and write permission for your webserver account (e.g. www:www or apache:apache, 0750)
Note that on many systems .flock is a hidden file, so it may still be there even if you cannot view it. Try deleting it anyway even if you don't see it in the wiki.d/ directory.
Other possibilities :
Skin template missing <!--HTMLHeader-->/<!--HTMLFooter-->
Skin templates are now required to contain <!--HTMLHeader--> and <!--HTMLFooter--> directives. Some skins developed under older versions of PmWiki failed to include these required directives, thus causing some PmWiki features and recipes to work improperly.
To work around this issue, do any of the following:
Unable to load skin template
PmWiki was able to find a requested skin, but couldn't find an appropriate .tmpl file to use as a template. If you have a custom skin, make sure there is exactly one .tmpl file in the skin's directory. (See skins and skin templates.) If you downloaded a skin from the Skins collection, make sure the skin was installed correctly, or contact the skin's author for more assistance.
Unable to retrieve edit form Site.EditForm
PmWiki was unable to find or load the Site.EditForm page containing the form used to edit pages. Often this occurs when the wikilib.d/ folder isn't completely copied to the webserver, or when a read password has been placed on Site.EditForm or the Site group. Double-check that all of the distribution files are correctly copied on the webserver, and that authors have read permission to the Site.EditForm page.
Cannot modify site -- $EnableReadOnly is set
PmWiki is attempting to do something that requires modifying pages or files on the filesystem, and the administrator has set the $EnableReadOnly configuration variable.
LDAP authentication requires PHP ldap functions
PmWiki is attempting to obtain information from an LDAP server (e.g., via authuser.php and AuthUser), but the PHP software doesn't appear to have the ldap_* functions available. PHP may have been built without support for LDAP (see http://www.php.net/ldap ).
Ubuntu users: install php5-ldap and restart apache. -drdaan December 31, 2009, at 02:22 AM
Unable to move file
Warning: move_uploaded_file(uploads/TTC/AlpineInstruction/Food Planning Ideas and Guidance.doc) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/ttc/public_html/pmwiki/scripts/upload.php on line 217 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpWMoIKx' to 'uploads/TTC/AlpineInstruction/Food Planning Ideas and Guidance.doc' in /home/ttc/public_html/pmwiki/scripts/upload.php on line 217 PmWiki can't process your request ?cannot move uploaded file to uploads/TTC/AlpineInstruction/Food Planning Ideas and Guidance.doc