Table Create Error when Installing Event Manager

ultimav - March 27, 2008 - 17:52
Project:Event Manager
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I get the following errror when trying to install this module on apache 2.2.8/php5.x/mysql 5.0.x

user warning: Incorrect table definition; there can be only one auto column and it must be defined as a key query: CREATE TABLE event_timeslots ( nid int(10) unsigned NOT NULL default '0', sid int(10) unsigned NOT NULL auto_increment, tslot_start int(10) unsigned NOT NULL default '0', tslot_duration int(10) unsigned NOT NULL default '0', PRIMARY KEY (nid, sid)) /*!40100 DEFAULT CHARACTER SET utf8 */; in D:\Apache2.2\htdocs\drupal5\includes\database.mysqli.inc on line 151.

Oh this is on Drupal 5.7

/d

#1

dhollender - March 28, 2008 - 03:48

Fix made to installation function for MySQL version 5.

#2

dhollender - March 30, 2008 - 00:28
Status:active» fixed

#3

dhollender - March 31, 2008 - 11:48
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.