From: Reini U. <ru...@x-...> - 2006-09-14 06:47:01
|
Oliver Betz schrieb: > Hello All, > > since my ISP updated to PHP 4.4.4, I get the following error from an > old PhpWiki (1.3.4): > > lib/DbaDatabase.php:32: Fatal[256]: dba_open(path/wiki_pagedb.gdbm,c) [<a href='function.dba-open'>function.dba-open</a>]: Driver initialization failed for handler: gdbm: File seek error > > and this error if I try to use the gdbm file from a PhpWiki 1.3.12 > installation: > > lib/DbaDatabase.php:54: Error[256]: dba_open(path/pagedb.gdbm,w) [<a href='function.dba-open'>function.dba-open</a>]: Driver initialization failed for handler: gdbm: File seek error > > I really wonder where a "file seek error" could result from. > > Any hint what I could try other than restoring the pages from a ZIP > dump? for gdbm and berkeley db files you can use the command line tools. db: db_dump, db_verify, db_recover, db_laod gdbm: dumpgdbm, testgdbm, loadgdbm This helps with corrupt db files. I'll post my db3 cron jobs today. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |