From: Sandy M. <mat...@bt...> - 2003-01-07 20:27:55
|
Thanks for the help. Index.php now gets through this OK and starts to load, but locks just after creating the TextFormattingRules page. HOWEVER if I set up an entirely new MySQL database and use the same index.php file (i.e. only altering the 'prefix' part as well as database, username and password), then everything works fine. I can use multiple databases, but backing up will be so much easier with one database using PHPMyAdmin. Any ideas? Thanks, Sandy -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of Bob Apthorpe Sent: 07 January 2003 15:53 To: php...@li... Subject: Re: [Phpwiki-talk] Multiple WIKIs 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 ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Phpwiki-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |