From: Bob A. <apt...@cy...> - 2003-01-07 15:56:44
|
On Tue, 7 Jan 2003 12:21:19 -0000 "Sandy Matheson" <mat...@bt...> wrote: > Not had a reply so I have gone ahead to set up a second WIKI on the same > MySQL database and hit a problem. > > I have set up the database tables fine using a prefix of 'newport_' and > in index.php I have enabled 'prefix' => 'newport_' on line 228. > > When I access the website to set it up I get the error: > > Parse error: parse error, expecting `')'' in > /usr/local/home/httpd/vhtdocs/newportparish.org.uk/index.php on line 228 You're missing a comma; strip the comments and all will become clear: > _____________________________________ > > > Index.php: > > $DBParams = array( > 'dbtype' => 'SQL', > 'dsn' => 'mysql://username:password@localhost/databasename' > 'prefix' => 'newport_' > ); Add comma after 'dsn'='mysql...' hth, -- Bob |