Loading...
 
Skip to main content

Architecture / Installation


tiki.db syntax error?

Minor thing, really.

When I use phpmyadmin to run the tiki.db for 1.9RC2 I get a syntax error. It refers to line 4674, but when I looked at the code block it differs from the others in that the final setting, PRIMARY KEY, is not followed by a comma in any code block but this one.

I'm guessing that this:

4668 DROP TABLE IF EXISTS tiki_score;
4669 CREATE TABLE tiki_score (
4670 event varchar(40) NOT NULL default '',
4671 score int(11) NOT NULL default '0',
4672 expiration int(11) NOT NULL default '0',
4673 PRIMARY KEY (event),
4674 ) TYPE=MyISAM;

Should be this:

4668 DROP TABLE IF EXISTS tiki_score;
4669 CREATE TABLE tiki_score (
4670 event varchar(40) NOT NULL default '',
4671 score int(11) NOT NULL default '0',
4672 expiration int(11) NOT NULL default '0',
4673 PRIMARY KEY (event)
4674 ) TYPE=MyISAM;

Thanks

Jason

remove the comma

Its been fixed in latest cvs for a long time. RC2 is really an old CVS snapshot.

Do not use 1.9 for productions sites until its released in final. Use 1.8.4

Damian