logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: "Cannot instantiate non-existent class" error: msg#00103

Subject: Re: "Cannot instantiate non-existent class" error
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/



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>