From: Adam S. <la...@sp...> - 2001-03-05 10:19:19
|
hey. hopefully i'm just being stupid and it's an obvious problem because i really want this to work. i'm a relative newbie with php but haven't had many problems with other programs i want to work. i'm using debian linux, php4.0.4pl1 and apache 1.3.14. phpwiki works great when i set it like this in lib/conifig.php: $WhichDatabase = 'file'; but as soon as i try to set it to 'dba' i get this error: Warning: Variable passed to reset() is not an array or object in /var/www/devel.spack.org/phpwiki/lib/dbalib.php on line 52 Warning: Variable passed to each() is not an array or object in /var/www/devel.spack.org/phpwiki/lib/dbalib.php on line 53 WikiFatalError Cannot open database 'wiki' : '/tmp/wikipagesdb', giving up. the web server does have permissions to write there because it works just fine in file mode so i'm not sure what to do. i'm wondering if debian has done something a little weird, it breaks all the php extensions into seperate packages so i only have the core, imap and gd ones installed. does dba need to be listed in an "extension=xxx" line in my php.ini file? regardless any help would be much appreciated. thanks, adam. |