Could I have , please?
Buscar
:
Ver
Editar
Historia
Imprimir
Troubleshooting
Editando
PmWiki
.Troubleshooting
Pmwiki is pretty robust and can automatically adapt to a very wide variety of environments. However, sometimes things don't go as we expect, so we're catalogging common errors and their fixes here. !! Troubleshooting Frequently Asked Questions ->%note% Note: This page on pmwiki.org is probably not the best place to post questions. Consider sending questions to the pmwiki-users [[mailing list(s)]], or post your question on the [[PmWiki:Questions]] page. %trail%<<|[[Documentation Index]]|>> >>faq<< [[#faq]] Q: Why am I seeing strange errors after [[(PmWiki.)upgrad(es)]]ing? A: Make sure all of the files were updated, in particular ''pmwiki.php''. A: This question sometimes arises when an administrator hasn't followed the advice, which used to be less prominent, on the [[(PmWiki.)installation(#notes)]] and [[(PmWiki.)initial setup tasks(#dontmodify)]] pages and has renamed ''pmwiki.php'' instead of creating an ''index.php'' wrapper script. If you have renamed ''pmwiki.php'' to ''index.php'', then the upgrade procedure won't have updated your ''index.php'' file. Delete the old version and create a wrapper script so it won't happen again. A: Sometimes an FTP or other copy program will fail to transfer all of the files properly. One way to check for this is by comparing file sizes. A: Be sure all of the files in the ''wikilib.d/'' directory were also upgraded. Sometimes it's a good idea to simply delete the ''wikilib.d/'' directory before upgrading. (Local copies of pages are stored in ''wiki.d/'' and not ''wikilib.d/''.) Q: I'm suddenly getting messages like "@@Warning: fopen(wiki.d/.flock): failed to open stream: Permission denied...@@" and @@Cannot acquire lockfile@@"... what's wrong? A: 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. Q: My links in the sidebar seem to be pointing to non-existent pages, even though I know I created the pages. Where are the pages? A: Links in the sidebar normally need to be qualified by a [[WikiGroup]] in order to work properly. Otherwise they will point to whatever group you happen to be viewing the sidebar in. Q: Why am I seeing "@@Warning: Cannot modify header information - headers already sent ...@@" messages at the top of my page. A: If this is the first or only error message you're seeing, it's usually an indication that there are blank lines or spaces before the [@<?php@] or after the [@?>@] in a [[local customization(s)]] file. Double-check the file and make sure there aren't any blank lines or spaces before the initial [@<?php@]. It's often easiest and safest to eliminate any closing [@?>@] altogether. A: If the warning is appearing after some other warning or error message, then resolve the other error and this warning may go away. Q: Why is PmWiki prompting me multiple times for a password I've already entered? A: Usually this is an indication that the browser isn't accepting cookies, or that PHP's session handling functions on the server aren't properly configured. If the browser is accepting cookies, then try setting $EnableDiag=1; in ''local/config.php'', run PmWiki using [@?action=phpinfo@], and verify that sessions are enabled and that the session.save_path has a reasonable value. Note that several versions of PHP under Windows require that a session_save_path be explicitly set (this can be done in the ''local/config.php'' file). Q: I edited ''config.php'', but when I look at my wiki pages, all I see is "@@Parse error: parse error, unexpected T_VARIABLE in ''somefile'' on line ''number''.@@" A: You've made a mistake in writing the PHP that goes into the ''config.php'' file. The most common mistake that causes the T_VARIABLE error is forgetting the semi-colon (;) at the end of a line that you added. The line number and file named are where you should look for the mistake. Q: Searches and pagelists stopped working after I upgraded -- no errors are reported, but links to other pages do not appear (or do not appear as they should) -- what gives? A: Be sure all of the files in the ''wikilib.d/'' directory were also upgraded. In particular, it sounds as if the Site.PageListTemplates page is either missing (if no links are displayed) or is an old version (if the links do not appear as they should).
Sumario:
Autor:
Esta es una edición menor