Closed (fixed)
Project:
Context
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2009 at 18:23 UTC
Updated:
22 Jul 2009 at 15:00 UTC
user warning: BLOB/TEXT column 'data' can't have a default value query: CREATE TABLE context ( `cid` INT unsigned NOT NULL auto_increment, `namespace` VARCHAR(64) NOT NULL DEFAULT '', `attribute` VARCHAR(64) NOT NULL DEFAULT '', `value` VARCHAR(64) NOT NULL DEFAULT '', `data` LONGTEXT NOT NULL DEFAULT '', PRIMARY KEY (cid), UNIQUE KEY key1 (namespace, attribute, value) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in mypath\includes\database.inc on line 515.
Comments
Comment #1
halstead commentedI had the same error. Installed using MySQL 5.1.34 for windows.
I disabled context and uninstalled it. (http://localhost:8082/admin/build/modules/uninstall)
Then I edit context.install and deleted line 56 which read, 'default' => '', and re-enabled context. It seems to be working well now.
Comment #2
jmiccolis commentedThanks for the bug report. This has been fixed in cvs. http://drupal.org/cvs?commit=234940