From: Reini U. <ru...@x-...> - 2004-12-10 19:29:25
|
Christiaan Hofman schrieb: > On Dec 10, 2004, at 0:23, Reini Urban wrote: >> Christiaan Hofman schrieb: >>> Some words somehow (as FormatSupport) are not accepted by Wiki and >>> generate errors, breaking the whole thing. The worst thing about it >>> is that it cannot be corrected (unless maybe by an administrator) as >>> the Edit and other buttons are also not there. There definitely >>> should be some error checking to prevent this from happening. >>> Christiaan >> >> >> Christiaan, I don't understand your request. >> >> Which words exactly generate errors (text snippet) and which errors? >> (error snippets) >> At which url? (which wiki, which version) >> Is this really phpwiki? I doubt that. >> >> The Edit button is always there, you just might have to sign in on edit. >> >> Please send us the exact steps to reproduce (and understand) so that >> we that can fix it. > > OK, and one on an exisitng page: > http://bibdesk.sourceforge.net/wiki/ > > The offending word is WishList (I had to split it to prevent it from > removing the rest of the page, including buttons). Also the page > http://bibdesk.sourceforge.net/wiki/index.php/WishList > is just an error message now. > > These are, needless to say, things that should _never_ happen. Also, the > preview does not always show the problems. So when yopu save, you can > easily loose the page. for the records: phpwiki-1.3.7 lib/WikiDB.php:729: Fatal[0]: <br />/var/local/home/groups/b/bi/bibdesk/htdocs/wiki/lib/WikiDB.php:729: : Assertion failed <br /> getCurrentRevision() $version = $cache->get_latest_version($pagename); $revision = $this->getRevision($version); => assert($revision); So this is a database corruption. I would recommend to dump all pages, delete (or rename) the database, and then import it again. Or find the offending version in the recent table and fix that in your database. Explanation: $version is obviously a wrong latest non-existing version integer. Find the pageid for this page, and fix the latestmajor in recent to the latest existing version of this page.id. For the future: Without any explanation what and how this corruption happened we will not be able to fix it. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |