Install Doesn't Work

redijedi - June 15, 2009 - 18:23
Project:Context
Version:6.x-2.0-beta2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

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.

#1

halstead - July 2, 2009 - 21:38

I 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.

#2

jmiccolis - July 8, 2009 - 14:53
Status:active» fixed

Thanks for the bug report. This has been fixed in cvs. http://drupal.org/cvs?commit=234940

#3

System Message - July 22, 2009 - 15:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.