|
Re: new phpwiki execution error ??: msg#00037web.wiki.phpwiki.talk
On Sunday, December 7, 2003, at 08:33 pm, Dan Sawyer wrote: All, Hi Dan, * Which version of PhpWiki, the nightly build or one of the releases? * What actions before the error occurred? * Which database is being used, MySQL or another one? * If one of the SQL databases, are you using PEAR or ADODB as the backend? (If you didn't change this in index.php, the default is PEAR). Email me the info so I check whether there a bug in the code. It could also be a record is corrupted in your database. Best to make a zipdump backup of all pages right away. If you can't get a backup pagedump of all pages due to this assertion error, try temporarily deleting or commenting out that line 787 in lib/WikiDB.php: function getRevisionBefore($version) { $backend = &$this->_wikidb->_backend; $pagename = &$this->_pagename; $version = $this->_coerce_to_version($version); if ($version == 0) return false; $backend->lock(); $previous = $backend->get_previous_version($pagename, $version); $revision = $this->getRevision($previous); $backend->unlock(); - assert($revision); + //assert($revision); return $revision; } Then delete the database and start a new one (or drop all the tables and recreate them with the appropriate schema file supplied in Phpwiki, same effect). Let us know what happens. Carsten ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | new phpwiki execution error ??: 00037, Dan Sawyer |
|---|---|
| Next by Date: | non breaking spaces added at the top of the pages ...: 00037, Arnaud Fontaine |
| Previous by Thread: | new phpwiki execution error ??i: 00037, Dan Sawyer |
| Next by Thread: | hosting phpwiki on a 'public' site ??: 00037, Dan Sawyer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |