version=pmwiki-2.2.0-beta68 ordered=1 urlencoded=1 agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 author=simon charset=ISO-8859-1 csum=not in trail, can this page be deleted ? ctime=1142038968 host=202.37.32.2 name=PmWiki.Troubleshooting-OldVersion rev=3 targets=PmWiki.Installation,PmWiki.InitialSetupTasks text=Pmwiki is pretty robust and can figure out and fix on its own lots of errors and config omissions.%0a%0a-----%0aCan I change the name of the pmwiki.php into index.php?%0a%0aOf course you can, but if you do you'll probably live to regret it. Besides, that would overwrite the ''index.php'' file you created when you followed the [[PmWiki/Installation#notes|installation]] and [[PmWiki.InitialSetupTasks#dontmodify|setup]] instructions. ;-)%0a%0a----%0aHowever, '''if the wiki suddenly stops responding''', try deleting the lock file (wiki.d/.flock)%0a* If you don't know how, open the ftp program you use to upload script changes, go to the wiki.d directory (one level below pmwiki.php), select the file called .flock and press Delete (or right-click on it and choose Delete). Make sure you select ONLY the .flock file.%0a%0a----%0aWhen the error "'''Cannot modify header information -- headers already sent'''"%0ais the first error message to appear, it almost always means that there%0aare extra spaces or blank lines outside of the %3c?php ... ?> in one of%0athe .php scripts being used.%0a* To fix this, simply check the php files reported with the error, or pmwiki.php or any php files included in any local/ php file, and make sure they start with%0a %3c?php if (!defined('PmWiki')) exit();%0a->and they end with%0a ?>%0a->and no other lines after that.%0a%0a----%0aIf you set any passwords, and '''the wiki starts asking for a password for each page read''' or twice per edit, it usually indicates a problem with %0a*cookies -- make sure your browser is set to handle cookies, or%0a*session handling somewhere -- i.e., PHP isn't able to save/restore session data properly.%0aCheck (using phpinfo() or ?action=diag) whether sessions are enabled in your version of php, then check where the session.save_path is set to, and check the permissions on this directory and that session files are appearing there properly.%0a%0aYou might also try adding%0a%0a session_save_path('/path/to/somewhere/writable');%0a%0ato your local/config.php and see if that fixes things.%0a%0a----%0aWhen editing pages, it is possible to '''continuously get the revision edit form''' (i.e. after pressing Save, the edit page comes back with%0a %3c%3c%3c%3c%3c%3c%3c%0a stuff I just added plus older stuff%0a =======%0a older stuff%0a >>>>>>>%0a... placed around stuff you had just edited). It's a rare bug, but when it happens, a tested cure is to dowload the page from wiki.d using your normal ftp client, then immediately upload it.%0a%0a----%0aI have used the directive [=(:pagelist Categorie.Produits:)=] to find all references to my page.\\%0aIn a page called [=Site.NamingRules=], I have the following text: %0a@@# La page des Produits s'appelle [=[==]Categorie.Produits[==]=] (Categorie est conventionnel).@@\\%0aWhile it should not, the page [=Site.NamingRules=] is listed by the pagelist directive! Note that a search with link= does not list this page.\\%0aLooks like a bug.%0a%0a----%0aI have a problem with pmwiki - it occurs after editing the sidebar. Every time I edit the sidebar then go to a page that I know already exists, it comes up with a blank page and asks me to create a new page there. Any ideas anyone?%0a%0a----%0aIf you get the following errors when trying out a new skin or other custom php file addon... (note:lines have been shortened)%0a%0aWarning: setskin(pub/skins/light/light.php): failed to open stream: No such file or directory in /home/../.php on line 58%0a%0aWarning: setskin(): Failed opening 'pub/skins/light/light.php' for inclusion (include_path='/usr/share/php') in /home/../.php on line 58%0a%0aWarning: Cannot modify header information - headers already sent by (output started at /home/...php:58) in /home/.../pmwiki.php on line 709%0a%0a...it may be because your include statement in the php.ini file does not include the current path. Change it from...%0a%0a include_path = "/usr/share/php"%0a%0a..to...%0a%0a include_path = ".:/usr/share/php"%0a%0aRemember to stop and restart Apache for this to take effect.%0a%0a->GarethH%0a%0a----%0a%0aI'm having a nasty problem also. '''I can not edit any of my wiki pages'''. I can do ?action=diff and the other action commands as well as navigate through the wiki. However ?action=edit does nothing and neither does clicking edit. I recieve no errors of any sort. The page doesn't refresh or even attempt to load anything. Nothing happens. I am using the default pmwiki skin. Any ideas?%0a%0a----%0a%0aThe solution for this problem lies in config.php at 2 variables which store url information. I expect you using fast URL referrer (something like [[http://beam.to | http://beam.to]]. The possible solution is by disabling both of these varibles.%0a time=1220229712