From: Jeff D. <da...@da...> - 2003-03-25 21:22:12
|
Oliver kindly sent me a copy of his wiki_pagedb.gdbm, and with that I easily reproduced his problem. The problem was not empty pagenames but integral valued pagenames. Pagenames like '1' were being stored in the dba link table as the integer one, rather than the string '1'. This was compounded by the fact, that some of the entries in the link table were bogus. I suspect this was because the last time the page was edited was probably under an older (1.3.4 or before) version of PhpWiki code which had broken link extraction code. (Re-editing the pages with bogus links caused the bogus links to go away.) I've just committed fixes to CVS. The most important one being this one: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpwiki/phpwiki/lib/CachedMarkup.php.diff?r1=1.6&r2=1.7 If you're seeing this problem, after you update to latest CVS code, you probably need to rebuild the link database. The easiest way to rebuild the link database is to, make a zip-dump of your wiki and then re-initialize a new wikidb from the zip dump. 1. Make a zip dump. 2. Copy the zip dump to the server somewhere. 3. Point WIKI_PGSRC (in index.php) at the zip dump. 4. Browse to http://path.to/your/wiki/index.php?overwrite=1 (The overwrite=1 is a hack^H^H^H^Htrick to avoid the endless "file has edit conflicts" messages...) |