When installing wordfilter on 6.2 the following error is reported:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOT NULL DEFAULT '', `standalone` TINYINT NOT NULL DEFAULT 0, PRIMARY KEY (id)' at line 4 query: CREATE TABLE wordfilter ( `id` INT NOT NULL auto_increment, `words` TEXT NOT NULL, `replacement` VARCHAR NOT NULL DEFAULT '', `standalone` TINYINT NOT NULL DEFAULT 0, PRIMARY KEY (id) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /xyz/includes/database.inc on line 509.

This is caused by a missing 'length' attribute on the VARCHAR field in wordfilter.install. See patch attached

CommentFileSizeAuthor
wordfilter.patch411 bytesAnonymous (not verified)

Comments

jaydub’s picture

Status: Active » Fixed

thanks for tracking that down. I hadn't done enough testing
of install from scratch for d6.

Committed to CVS

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.