From: Carsten K. <car...@ma...> - 2002-01-18 20:00:17
|
Sorry, I sent this message to the wrong list.--Carsten > From: Carsten Klapp <car...@ma...> > Date: Fri Jan 18, 2002 02:57:32 pm America/Montreal > To: php...@li... > Subject: Re: [Phpwiki-talk] WikiFatalError > > Fatal error: Cannot instantiate non-existent class: > > This error I usually see when I've misplaced a bracket somewhere. In > index. > php make sure you haven't accidentally commented out or deleted the final > ");" at the end of the $DBParams section. > > // Used by 'dba' > 'directory' => "/tmp", > 'dba_handler' => 'gdbm', // Either of 'gdbm' or 'db2' work great > for me. > //'dba_handler' => 'db2', > //'dba_handler' => 'db3', // doesn't work at all for me.... > 'timeout' => 20, > //'timeout' => 5 > ); //<-here > > > Carsten > > On Friday, January 18, 2002, at 01:19 pm, Tim Bogart wrote: > >> I think I'm a little closer to success. I've tweaked the index.php >> database >> section and have been able to modify the error I'm getting to... >> >> Fatal error: Cannot instantiate non-existent class: wikidb_backend_psql >> in >> /var/www/html/phpwiki/lib/WikiDB/SQL.php on line 17 >> >> That line of code says ... >> >> $backend = new $backend_class($dbparams); >> >> Any more clues? Anyone? >> >> Tim > |