From: Daniel C. <dc...@ca...> - 2003-04-23 16:50:44
|
=20 Well sometimes stupidity hits us all in the forehead! I found the problem in the docs of all places. Thanks =20 =20 -----Original Message----- From: Daniel Curry=20 Sent: April 22, 2003 5:32 PM To: php...@li... Subject: [Phpwiki-talk] dbm problems with RH9 and latest phpwiki from sourceforge =20 Here is the DBParams as I have it set. (I removed the comments for brevity.) =20 $DBParams =3D array( 'dbtype' =3D> 'dba', //'db_session_table' =3D> 'session', 'prefix' =3D> 'phpwiki_', 'directory' =3D> "/var/www/html/phpwiki/pages", 'dba_handler' =3D> 'gdbm', // Either of 'gdbm' or 'db2' work = great for me. 'timeout' =3D> 30, ); =20 This is the error I get when I try phpwiki for the first time: =20 lib/DbaDatabase.php:32: Fatal[256]: driver initialization failed lib/config.php:276: Notice[8]: Undefined variable: SCRIPT_NAME lib/config.php:401: Notice[8]: Undefined index: dsn Any suggestions would be greatly appreciated! =20 =20 =20 |