From: Matt P. <pi...@kp...> - 2002-07-11 21:40:43
|
I just installed phptwiki 1.3.3 and did the setup according to the INSTALL and INSTALL.mysql documents. When I access index.php via a webbrowser I get the following error: lib/WikiDB/backend/PearDB.php:680: Fatal[256]: wikidb_backend_mysql: fatal database error ------- Fatal PhpWiki Error lib/WikiDB/backend/PearDB.php:680: Fatal[256]: wikidb_backend_mysql: fatal database error DB Error: no such table (LOCK TABLES phpwiki_page WRITE,phpwiki_version WRITE,phpwiki_link WRITE,phpwiki_recent WRITE,phpwiki_nonempty WRITE [nativecode=Table 'phpwiki.phpwiki_page' doesn't exist]) -------- To me it looks like it is trying to access a table that does not exist. I added the tables to mysql db by using the schema that came with phptwiki. mysql> use phpwiki; Database changed mysql> show tables; +-------------------+ | Tables_in_phpwiki | +-------------------+ | link | | nonempty | | page | | recent | | version | +-------------------+ 5 rows in set (0.00 sec) Here is the pertinant portion of my index.php file: $DBParams = array( 'dbtype' => 'SQL', 'dsn' => 'mysql://wikiuser:wikiuser@localhost/phpwiki', 'prefix' => 'phpwiki_', ); Anyone able to help me out? Thanks, Matt |