From: peter p. <pe...@pe...> - 2004-06-07 16:03:32
|
Hello! I have mysql installed, but something wrong, can anyone help? Fatal error: Cannot instantiate non-existent class: wikidb_dbt in /Library/Tenon/WebServer/WebSites/www.apfel.at/phpwiki/lib/WikiDB.php on line 100 What es the problem here? Regards Peter ;====================================================================== ; Part Two: Database Selection ;====================================================================== ; Select the database type: ; ; SQL: access one of several SQL databases using the PEAR DB library. ; ADODB: uses the ADODB library for data access. ; dba: use one of the standard UNIX dbm libraries. ; file: use a flat file database. ; cvs: use a CVS server to store everything. DATABASE_TYPE = dbt ; prefix for filenames or table names ; ; Currently you MUST EDIT THE SQL file too (in the schemas/ ; directory because we aren't doing on the fly sql generation ; during the installation. ; Note: This prefix is NOT prepended to the default DBAUTH_ ; tables user, pref and member! ;DATABASE_PREFIX = phpwiki_ ; For SQL based backends, specify the database as a DSN (Data Source Name), ; a kind of URL for databases. ; ; The most general form of a DSN looks like: ; ; dbtype(dbsyntax)://username:password@protocol+hostspec/database ; ; For a MySQL database, the following should work: ; mysql://usert:pass@host/databasename ; ; To connect over a unix socket, use something like ; ; mysql://user:password@unix(/path/to/socket)/databasename ; ; Valid values for dbtype are mysql, pgsql, or sqlite. ; ;DATABASE_DSN = "mysql://guest@unix(/var/lib/mysql/mysql.sock)/test" ; A table to store session information. Only needed by SQL backends. ; ; A word of warning - any prefix defined above will be prepended to whatever ; is given here. DATABASE_SESSION_TABLE = session ; For the file and dba backends, this specifies where the data files will be ; located. Ensure that the user that the webserver runs as has write access ; to this directory. ; ; WARNING: leaving this as the default of '/tmp' will almost guarantee that ; you'll lose your wiki data at some stage. DATABASE_DIRECTORY = /tmp ; For the dba backend, this defines which DBA variant you wish to use. ; gdbm - commonly available ; db2 - Berkeley DB v2; not supported by modern versions of PHP ; db3 - Berkeley DB v3; as per db2. The best on Windows ; db4 - Berkeley DB v4; current version, however PHP has some issues ; with it's db4 support. ; dbm - Older dba handler; suffers from limits on the size of data ; items DATABASE_DBA_HANDLER = gdbm ; How long will the system wait for a database operation to complete? ; Specified in seconds. DATABASE_TIMEOUT = 20 ; The login code now uses PHP's session support. Usually, the default ; configuration of PHP is to store the session state information in ; /tmp. That probably will work fine, but fails e.g. on clustered ; servers where each server has their own distinct /tmp (this is the ; case on SourceForge's project web server.) You can specify an ; alternate directory in which to store state information like so ; (whatever user your httpd runs as must have read/write permission ; in this directory): ;SESSION_SAVE_PATH = some_other_directory |
From: Reini U. <ru...@x-...> - 2004-06-07 17:09:33
|
peter polz schrieb: > I have mysql installed, but something wrong, can anyone help? > > Fatal error: Cannot instantiate non-existent class: wikidb_dbt in ^^^ > /Library/Tenon/WebServer/WebSites/www.apfel.at/phpwiki/lib/WikiDB.php on > line 100 > > What es the problem here? > > ;====================================================================== > ; Part Two: Database Selection > ;====================================================================== > ; Select the database type: > ; > ; SQL: access one of several SQL databases using the PEAR DB > library. > ; ADODB: uses the ADODB library for data access. > ; dba: use one of the standard UNIX dbm libraries. > ; file: use a flat file database. > ; cvs: use a CVS server to store everything. > DATABASE_TYPE = dbt ^^^ dbt is not a supported database type. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |