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 |
Jump to:
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
Fix made to installation function for MySQL version 5.
#2
#3