From: Adam S. <la...@sp...> - 2001-03-06 07:41:09
|
> First, I hope you don't name the file directory and the DBM files the > same... that's just an initial guess. i was under the impression that phpwiki would create the dbm files itself. it creates the flat files itself? if that's not what you mean then i don't understand sorry ... here's the relevant section of my config file: $WhichDatabase = 'dba'; // use one of "dbm", "dba", "mysql", // "pgsql", "msql", or "file" // DBM and DBA settings (default) if ($WhichDatabase == 'dbm' or $WhichDatabase == 'dba' or $WhichDatabase == 'default') { $DBMdir = "/tmp"; $WikiPageStore = "wiki"; $ArchivePageStore = "archive"; $WikiDB['wiki'] = "$DBMdir/wikipagesdb"; $WikiDB['archive'] = "$DBMdir/wikiarchivedb"; $WikiDB['wikilinks'] = "$DBMdir/wikilinksdb"; $WikiDB['hottopics'] = "$DBMdir/wikihottopicsdb"; $WikiDB['hitcount'] = "$DBMdir/wikihitcountdb"; > There was a post on the list recently about a special config option, > and I think it was about Debian but I can't find it in the list > archives... a module had to be loaded by PHP at runtime. was there a solution? i know debian pretty well but i can't find any documentation exactly where the dba module is. the docs say it's compiled in and it looks like it is from running strings on the php binary but it's more then possible that i have to enable something in a config file or something. > Also, did you compile the package yourself or use get-apt (or whatever > Debian uses?) You might try setting it to 'dbm' instead of 'dba' and > see if that works. I was wondering if dba_* support was compiled in or > not. i used apt-get. when i try dbm i get a blank page in my browser with just this when i view source: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- $Id: index.php,v 1.5 2000/11/08 15:34:06 ahollosi Exp $ --> <!-- $Id: config.php,v 1.24 2001/01/31 07:38:10 ahollosi Exp $ --> <!-- $Id: dbmlib.php,v 1.7 2001/01/31 03:11:25 wainstead Exp $ --> <!-- $Id: stdlib.php,v 1.21 2001/01/15 12:32:57 ahollosi Exp $ --> adam. |