From: Reini U. <ru...@x-...> - 2004-07-20 08:04:16
|
David Catmull schrieb: > (I just posted this to the support request tracker, before discovering > this list) > > I'm getting this error: > Fatal error: Cannot instantiate non-existent class: wikidb_sql in > /home/groups/v/vo/volleyserver/htdocs/wiki/lib/WikiDB.php on line 100 > > I installed the latest release (1.3.10) on a SourceForge project site, > following the official instructions (which don't mention the config.ini > file). At first I thought I had it working, but it kept getting into a > loop on the "virgin" initialization page. When I tried to edit a page, I > got a warning that the DBA data was being saved to /tmp. > > It's supposed to be using SQL, not DBA, and I discovered that I had not > set the DATABASE_TYPE to SQL in config.ini. Once I did that, I started > getting the "fatal error" message above. I poked around and found that > the WikiDB_SQL class does exist in another file, but apparently that > file is not being read for some reason. Any suggestions? SQL must be in uppercase. The DATABASE_TYPE is case-sensitive on case-sensitive filesystems, and since php5 (case-sensitive class names) -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |